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/glx/.libs/libxglx.a
../../../../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
.libs/libxglx.so
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
`/var/tmp/portage/xgl-0.0.1_p20060702/work/xserver/hw/xgl/glx/module'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xgl-0.0.1_p20060702/work/xserver/hw/xgl/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xgl-0.0.1_p20060702/work/xserver/hw/xgl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xgl-0.0.1_p20060702/work/xserver/hw'
make: *** [all-recursive] Error 1
My libGL.so is at:
/usr/lib64/opengl/xorg-x11/lib/libGL.so
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?
Dan
More information about the xorg
mailing list