On Thu, 06 Jan 2005 10:30:21 +0800, Andy Sy <[EMAIL PROTECTED]> wrote:
> 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?

not sure but maybe  two versions of the library is installed and
declared in ld.so.conf?
 
> --
> 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
> 


-- 
roderick e. tapang
retapang at gmail dot com

(o_.'       http://counter.li.org/
//\         ----------------------
V_/_        Linux User   #  253842
--
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