[MINC-users] Problems installing Display on Fedora -- undefined reference to `__ctype_b'

Robert VINCENT bert@bic.mni.mcgill.ca
Mon May 31 11:20:04 2004


I believe that the preferred workaround for this problem is to recompile
netCDF from the sources.

See the following reference from the netCDF website:

http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/netcdf/5327

	-bert

On Sun, 30 May 2004, Steve ROBBINS wrote:

> On Fri, May 28, 2004 at 02:53:22PM -0400, crioux wrote:
>
> > configure:20894: checking for ncopen in -lnetcdf
> > configure:20924: gcc -o conftest -g -O2  -I/usr/local/mni/include
> > -L/usr/local/mni/lib conftest.c -lnetcdf  -lm  >&5
> > /usr/local/mni/lib/libnetcdf.a(string.o)(.text+0x62): In function
> > `NC_check_name':
> > : undefined reference to `__ctype_b'
> > collect2: ld returned 1 exit status
> [...]
>
> > Now I've looked around for similar problems, and have found this:
>
> > and this fix:
> > http://oss.sgi.com/archives/info-inventor-dev/2004-02/msg00004.html
>
>
> > Is this my problem?
>
> I'm not using Redhat myself, but I suspect that is your problem.
>
>  Do I have to build such a workaround?
>
> I would guess so.  Or perhaps it suffices to recompile netcdf.
>
> -S
>
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>