Mantis - Croquet
Viewing Issue Advanced Details
385 Any feature always 10-14-04 12:07 10-17-04 12:28
0000385: The scripts doesn't work in Debian with nvidia cards
Using Debian with nvidia propietary drivers makes the script fails. This scripts checks if /usr/lib/ is an executable file, but with nvidia drivers it is a symlink and avoid this script creating the necessary link to $EXE/, making Croquet fails whenever you try to use any of the Teapot objects.

10-14-04 12:44   
What do you mean with "the script fails"? There *is* already a /usr/lib/ symlink? If yes, no link needs to be created in the bin directory.
10-14-04 19:53   
Not exactly .
Before installing nvidia drivers, with X11 original drivers there is a symlink /usr/lib/ ->
After installing nvidia drivers this is the new situation:
lrwxrwxrwx 1 root root 12 2004-09-02 13:54 /usr/lib/ ->
lrwxrwxrwx 1 root root 17 2004-09-02 13:13 /usr/lib/ ->
-rw-r--r-- 1 root root 420976 2004-07-01 07:26 /usr/lib/

The problem is that disappears, so the symlink is broken. The scripts detects that it exists and doesn't do the good work. Just
doing ln -sf /usr/lib/ "$EXE/" solves the problem, but it is not done by that script.

If you read the and threads about croquet you will see that there are more debian & nvidia users complaining because Croquet doesn't work.
10-16-04 02:56   
Thanks for the clarification. So we should create the symlink regardless of whether there is one in /usr/lib. It's actually the system that's broken, but what the heck, we can do this easily.
10-16-04 22:30   
I think you need a new version of the nvidia package. On my system (with the 6111 version) everything works fine.

Have you tried running (as root)

ldconfig -v
10-16-04 22:50   
Ned, do you know for sure the newer nvidia installer will remove the stale link?

Anyway, the safest way to prevent these kinds of misconfiguration would be to create a link to the library that is actually linked to. A bit of ldd magic should solve this:

   ldd | awk '/{print $3}'

OTOH, we *know* this is gonna be /usr/lib/ on Linux, so why bother?
10-17-04 00:18   
In the changenote for nvidia-glx version 1.0.6106-3 it says:

Remove symlink cleaning now that it is an actual file again.

What version are you using?
10-17-04 12:28   
I am using version 6106, but I have solved the problem. In my computer now it works perfectly doing by hand the symlink ln -sf /usr/lib/ "$EXE/". The problem is for many people (in Spain, for example, [^] many people complain, and barrapunto is the spanish spoken who are trying to use it. I know is a fail with nvidia drivers, but , if we can solve it so easily as doing that symlink anyway I think it should be done.