In trying to link a simple Xlib program (under Slackware 10),
I came across the following puzzling problem:

Even though /usr/X11R6/lib is present in ld.so.conf and
I ran ldconfig to double-check, when I do the ff:

gcc xprog.c -lX11

I get an "unable to find -lX11" message from ld.  I have
to specify /usr/X11R6/lib explicitly using -L in order
to get to get gcc (or ld) to find libX11.

Anyone have any clues as to what's going on?



--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to