Re: library problem




ebryer@clisu2.calgary.geoquest.slb.com (Erik Bryer) writes:

> Hi Experts,
> 	I'm trying to compile GTK on Solaris 2.5.1. I've got gcc version 
> 2.7.2.3.f.1 and X11R6.3 libs installed. All libs are in my LD_LIBRARY_PATH. 
> Other programs compile ok but this one gives errors in the config.log (Note the 
> "fatal" errors:) 
> [...snip]	
> configure:2201: gcc -o conftest -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM   
> conftest.c -ldnet   1>&5
> ld: fatal: library -ldnet: not found
> ld: fatal: File processing errors.  No output written to conftest
> configure: failed program was:

[...]

> There are other errors but I'm hoping they cascade out of the initial failure to 
> locate ldnet. Looks like I'm missing some libs, ldnet and/or ldnet_stub. 
> Apparently these are not distributed with Solaris, although lddstub is in 
> /usr/lib. I tried to find out where I could get them via Alta Vista with no 
> success. Any help is appreciated very much.

Not finding -ldnet is perfectly fine. It is only needed for a very few
machines. (Ultrix, when X11 was built with support for DECnet,
according to the comments in the autoconf macro!) It is only a "fatal
error" for ld, not for configure.

If configure completed successfully, then you're OK. Otherwise, the
important error is the one just before configure failed.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]