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

Re: ld & ld.so.conf



#include <hallo.h>
* Egor Tur [Thu, Dec 05 2002, 08:31:26AM]:
> $export LD_LIBRARY_PATH=/usr/X11R6/lib
> $ g77 -o file -O file.f -lX11
> $ /usr/bin/ld: cannot find -lX11
> $ collect2: ld returned 1 exit status
> When I add in /etc/ld.so.conf path to my libraries and compile

Maybe it does not want the dynamic library, but the static library
libX11.a.

# dlocate libX11.a
xlibs-dev: /usr/X11R6/lib/libX11.a

Gruss/Regards,
Eduard.
-- 
Die gute alte Zeit ist nichts anderes als eine rückwärts datierte Utopie.
                                                           (Erich Wiesner)



Reply to: