View Single Post
Old 12-15-07, 04:50 PM   #5
Agrapha
Registered User
 
Join Date: Dec 2007
Posts: 10
Default Re: Failed to initialize the GLX module

Wow this one got me as well. I noticed you got close to getting the system up except the GLX module. I think I can help patch this if you are game.

for FreeBSD (best dern OS ever) update your locate database. I update mine like this:

> /usr/libexec/locate.updatedb

Wait for that to finish and I think we can find these critters.43235218
there be 2 0f them: libglx.so and libglx.so.1

> locate libglx.so

the MakeFile can't figure out you are running Xorg so it places both of those files in:

> /usr/local/lib/modules/extentions/libglx.so
> /usr/local/lib/modules/extentions/libglx.so.1

Xorg has a different path. It's looking in:

/usr/local/lib/xorg/modules/extensions

and doesn't see the modules. I don't want to copy them as nvidia will likely not support Xorg builds anytime real soon. (You can look how long it'sa taking them to support Athlon64 hardware in another post). It's better to sym-link in case someone ever does fix this issue.

This is what I did. Simply sym-link the files to the xorg directory.
you need to be root or have sudo privs to do this.

> su - root
password: ********
# cd /usr/local/lib/xorg/modules/extensions/
# ln -s /usr/local/lib/modules/extentions/libglx.so
# ln -s /usr/local/lib/modules/extentions/libglx.so.1
# ls -la
total 2984
drwxr-xr-x 2 root wheel 512 Dec 15 14:39 .
drwxr-xr-x 8 root wheel 1536 Dec 12 22:26 ..
-rwxr-xr-x 1 root wheel 822 Dec 2 23:22 XXX-libGLcore.la.%%.orig-20071212
-rwxr-xr-x 1 root wheel 2307777 Dec 2 23:22 XXX-libGLcore.so.%%.orig-20071212
-rwxr-xr-x 1 root wheel 804 Dec 2 23:22 XXX-libglx.la.%%.orig-20071212
-rwxr-xr-x 1 root wheel 410262 Dec 2 23:22 XXX-libglx.so.%%.orig-20071212
-rwxr-xr-x 1 root wheel 804 Dec 2 23:22 libdbe.la
-rwxr-xr-x 1 root wheel 18698 Dec 2 23:22 libdbe.so
-rwxr-xr-x 1 root wheel 847 Dec 2 23:22 libdri.la
-rwxr-xr-x 1 root wheel 38763 Dec 2 23:22 libdri.so
-rwxr-xr-x 1 root wheel 822 Dec 2 23:22 libextmod.la
-rwxr-xr-x 1 root wheel 140062 Dec 2 23:22 libextmod.so
lrwxr-xr-x 1 root wheel 43 Dec 15 14:39 libglx.so -> /usr/local/lib/modules/extensions/libglx.so
lrwxr-xr-x 1 root wheel 45 Dec 15 14:39 libglx.so.1 -> /usr/local/lib/modules/extensions/libglx.so.1
-rwxr-xr-x 1 root wheel 822 Dec 2 23:22 librecord.la
-rwxr-xr-x 1 root wheel 26887 Dec 2 23:22 librecord.so
-rwxr-xr-x 1 root wheel 816 Dec 2 23:22 libxtrap.la
-rwxr-xr-x 1 root wheel 37372 Dec 2 23:22 libxtrap.so
# cd
# pwd
# /root

After that please try your xorg start again. System should find your libglx now.

Let me know if this helps,
agrapha
Agrapha is offline   Reply With Quote