I installed ati-drivers-8.10.19 and xorg-x11-6.8.2. The fglrx driver module loads fine, but xorg isn't loading the glx module. It says: (II) LoadModule: "glx" (WW) Warning, couldn't open module glx (II) UnloadModule: "glx" (EE) Failed to load module "glx" (module does not exist, 0) It appears that the module is in the incorrect place, there is a symlink: /usr/lib/modules/extensions/libglx.a -> ../../opengl/xorg-x11/extensions/libglx.a but the file it points to doesn't exist. /lib/opengl/xorg-x11/extensions/libglx.a does exist, however. emerge info: Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64) ================================================================= System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 16:44:56)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://lug.mtu.edu/gentoo/source/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X aalib aclocal acpi aim alsa audiofile avi berkdb bitmap-fonts blas cdr crypt cups curl divx4linux dvd emul-linux-x86 encode esd f77 fam flac font-server foomaticdb fortran gif gnome gpm gstreamer gtk guile imagemagick imlib ipv6 java jp2 jpeg junit ldap live lzw lzw-tiff mad mozilla mpeg multilib nas ncurses network nls nptl offensive oggvorbis opengl oss pam pdf pdflib perl pic plotutils png posix ppds pthreads python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales xine xml xml2 xmms xpm xrandr xscreensaver xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
ld -ld /usr/lib*
Donnie, that command just returns: "ld: cannot find -ld"
Sorry I'm stupid, I meant `ls -ld`
Okies, the output of that command is: drwxr-xr-x 83 root root 24576 Feb 18 17:19 /usr/lib lrwxrwxrwx 1 root root 36 Feb 4 02:09 /usr/lib32 -> ../../emul/linux/x86/usr/X11R6/lib32 lrwxrwxrwx 1 root root 8 Feb 5 16:58 /usr/lib64 -> ../lib64 drwxr-xr-x 11 root root 4096 Feb 18 17:01 /usr/libexec
Created attachment 51810 [details] output of ls -ld /usr/lib* Did again as root, much more output.
OK, dunno what I'm thinking, but forget my last comment, I did "ls -ls"....no wonder I got so much output....
One other thing I would like to mention since it's related, is that the xorg fglrx module also doesn't load. It's probably something for later though. (II) LoadModule: "fglrx" (WW) Warning, couldn't open module fglrx (II) UnloadModule: "fglrx" (EE) Failed to load module "fglrx" (module does not exist, 0)
Your /usr/lib64 is screwed up, it should be pointing to ./lib instead of ../lib64. This should be fixed in the current ebuild -- if you'd care to remerge and test it out. Otherwise, you can just rm /usr/lib64 and ln -s /usr/lib64 lib Please reopen if it's not fixed.
Did an emerge sync and re-emerged xorg, but the link still points to ../lib64.
Jeremy, thought your code should have fixed this?
A work around would be to have the ebuild copy the content of /usr/lib64 to /usr/lib, remove /usr/lib64 and recreate the symlink to /usr/lib. These are the steps i had to do to get this fixed.
The fix of just rm /usr/lib64 and ln -s /usr/lib64 lib does work, things do find opengl now but I still have yet to retry the ati-drivers. It does break a couple things that are easy enough to fix though, which is to be expected since the link's been pointing to the wrong place for so long. So the question is still why that code fix in the xorg ebuild didn't work. I'm willing to test again when you guys come up with another fix.
Well, doesn't look like it's been popping up much since it was fixed (hope people aren't just doing the manual fix becase I posted it on the forums) so re-close if you want.
Please verify with 8.16
I'm not running 64bit anymore for several reasons, but it mostly comes down to a sudden wave of laziness. So sorry, I can't verify.
It should be fixed.