Re: ld not finding X libs...
On Sat, Feb 12, 2000 at 06:27:52PM -0800, Eric G . Miller wrote:
>
> For the last couple days, I can't compile programs that depend on some X
> libs. At first, I thought it was a problem with the first program I
> tried, but now another program that I've compiled before is giving the
> same exact complaints:
>
> /usr/bin/ld: warning: libXi.so.6, needed by /usr/lib/libGL.so, not found
> (try using --rpath)
> /usr/bin/ld: warning: libXt.so.6, needed by /usr/X11R6/lib/libXmu.so,
> not found (try using --rpath)
> /usr/X11R6/lib/libXmu.so: undefined reference to
> `XtDisplayToApplicationContext'
>
> [felix@~] ldd /usr/lib/libGL.so
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4014e000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40157000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4016d000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4017a000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40182000)
> libc.so.6 => /lib/libc.so.6 (0x40221000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Check the perms on /etc/ld.so.conf and make sure they 644. If not them
"chmod 644 /etc/ld.so.conf" and rerun ldconfig.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bmc@visi.net '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: