On Thu, 6 Jan 2005, Rafael 'Dido' Sevilla wrote:

> On Thu, Jan 06, 2005 at 10:30:21AM +0800, Andy Sy wrote:
> > 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.
>
> Ccc doesn't know or care about ld.so.conf.  That is the configuration
> file for the dynamic link loader. Gcc has its own configuration for
> library paths, and apparently, for some reason /usr/X11R6/lib is not
> present there.

Yes since /usr/X11R6/lib is not part of the C Library. The default library
path used by gcc:

gcc -print-search-dirs

It is determined when gcc itself is compiled. To build the gcc binary
given a toolchain, you need two things: glibc and kernel header files.

rowel

--
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