XGL fails to compile on AMD64 ( libGL.so in wrong location )

Daniel Kasak dan at entropy.homelinux.org
Sun Jul 2 03:55:48 PDT 2006

XGL seems to look for libGL.so in a hard-coded location. On my system,
with a current git checkout, I get the following:

x86_64-pc-linux-gnu-gcc -shared  .libs/xglxmodule.o -Wl,--whole-archive
../../../../hw/xgl/glxext/.libs/libxglglxext.a -Wl,--no-whole-archive
-Wl,--rpath -Wl,/usr/lib/opengl/xorg-x11/lib -Wl,--rpath
-Wl,/usr/lib/opengl/xorg-x11/lib /usr/lib64/libglitz-glx.so -L/usr/lib64
/usr/lib/opengl/xorg-x11/lib/libGL.so -L/usr/lib -lpthread
/usr/lib64/libglitz.so /usr/lib64/libXrender.so /usr/lib64/libX11.so
/usr/lib64/libXrandr.so /usr/lib64/libxkbfile.so
/usr/lib64/libXinerama.so -lm  -march=k8 -Wl,-soname -Wl,libxglx.so -o
x86_64-pc-linux-gnu-gcc: /usr/lib/opengl/xorg-x11/lib/libGL.so: No such
file or directory
make[4]: *** [libxglx.la] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all-recursive] Error 1

My libGL.so is at:

I checked the Gentoo ebuild, and there's nothing in there that
hard-codes things to /usr/lib, so I'm assuming that it's in XGL?


More information about the xorg mailing list