On May 2, 2005 04:31 pm, Melchior FRANZ wrote:
> My favorite "strace" could give you some hint in either case:
>
> A)   $ strace -fF -eopen glxinfo 2>&1|tee /tmp/strace.log
>
> B)   $ strace -fF -eopen ./configure 2>&1|tee /tmp/strace.log
>
> If you search through that log file, you'll see *where* and *what* either
> program searches, and why it doesn't find what it searches. Especially
> "/libopengl" would be interesting.

Interesting.  It seems configure is searching for libGLcore.so and 
libGL.core.a in /usr/X11R6/lib and other directories, but 
not /usr/X11R6/lib/modules-dri-trunk where the modules are actually in.

[pid 10686] open("/usr/X11R6/lib/libGL.so", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10686] open("/usr/X11R6/lib/libGL.a", O_RDONLY) = 13
[pid 10686] open("/usr/X11R6/lib/libGL.a", O_RDONLY) = 14
[pid 10686] open("/usr/X11R6/lib/libGL.a", O_RDONLY) = 8
[pid 10703] open("/usr/X11R6/lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/usr/X11R6/lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/usr/local//lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No 
such file or directory)
[pid 10703] open("/usr/local//lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/usr/lib/gcc-lib/i486-linux/3.3.5/libGLcore.so", O_RDONLY) = 
-1 ENOENT (No such file or directory)
[pid 10703] open("/usr/lib/gcc-lib/i486-linux/3.3.5/libGLcore.a", O_RDONLY) = 
-1 ENOENT (No such file or directory)
[pid 10703] open("/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libGLcore.so", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 10703] open("/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libGLcore.a", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 10703] open("/usr/bin/../lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No 
such file or directory)
[pid 10703] open("/usr/bin/../lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/usr/i386-linux/lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No 
such file or directory)
[pid 10703] open("/usr/i386-linux/lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No 
such file or directory)
[pid 10703] open("/usr/local/lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/usr/local/lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such 
file or directory)
[pid 10703] open("/lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No such file or 
directory)
[pid 10703] open("/lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such file or 
directory)
[pid 10703] open("/usr/lib/libGLcore.so", O_RDONLY) = -1 ENOENT (No such file 
or directory)
[pid 10703] open("/usr/lib/libGLcore.a", O_RDONLY) = -1 ENOENT (No such file 
or directory)
...
...

Do you think adding /usr/X11R6/lib/modules-dri-trunk to /etc/ld.so.conf will 
fix the problem?

Ampere

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to