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

Steve ROBBINS stever@bic.mni.mcgill.ca
Sun May 30 21:38:04 2004


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