AC problem z Xowymi bibliotekami.

Stacho Pal stacho w venco.com.pl
Wto, 13 Mar 2007, 15:18:23 CET


Witam!
Mam standartowo:
/etc/ld.so.conf a w nim:
include ld.so.conf.d/*.conf,
w /etc/ld.so.conf.d/ jest X11-lib.conf,
który zawiera: /usr/X11R6/lib
Teraz tak:
# ldconfig -p|grep Xpm
         libXpm.so.4 (libc6) => /usr/X11R6/lib/libXpm.so.4
         libXpm.so (libc6) => /usr/X11R6/lib/libXpm.so
# strace -o log ld -lXpm
ld: cannot find -lXpm

Poniżej końcówka strace, jak widać nawet nie zgląda
do /usr/X11R6/lib/. Sprawdzałem na trzech systemach
i wszędzie tak samo. Co mam zrobić poprawić
żeby ld nie ignorował /etc/ld.so.conf ??? :((

-- 
pzdr
Stacho Pal
==================
brk(0x80da000)                          = 0x80da000
access("/usr/local/sbin/ld", X_OK)      = -1 ENOENT (No such file or directory)
access("/usr/local/bin/ld", X_OK)       = -1 ENOENT (No such file or directory)
access("/sbin/ld", X_OK)                = -1 ENOENT (No such file or directory)
access("/bin/ld", X_OK)                 = -1 ENOENT (No such file or directory)
access("/usr/sbin/ld", X_OK)            = -1 ENOENT (No such file or directory)
access("/usr/bin/ld", X_OK)             = 0
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=133, ...}) = 0
lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=24576, ...}) = 0
lstat64("/usr/bin/ld", {st_mode=S_IFREG|0755, st_size=454632, ...}) = 0
stat64("/usr/bin/../lib/ldscripts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("a.out", 0xbf80851c)             = -1 ENOENT (No such file or directory)
open("a.out", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
open("/usr/bin/../lib/libXpm.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/bin/../lib/libXpm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/i686-pld-linux/lib/libXpm.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/i686-pld-linux/lib/libXpm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libXpm.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libXpm.a", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libXpm.so", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/lib/libXpm.a", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/libXpm.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/libXpm.a", O_RDONLY)     = -1 ENOENT (No such file or directory)
write(2, "ld", 2)                       = 2
write(2, ":", 1)                        = 1
write(2, " ", 1)                        = 1
write(2, "c", 1)                        = 1
write(2, "a", 1)                        = 1
write(2, "n", 1)                        = 1
write(2, "n", 1)                        = 1
write(2, "o", 1)                        = 1
write(2, "t", 1)                        = 1
write(2, " ", 1)                        = 1
write(2, "f", 1)                        = 1
write(2, "i", 1)                        = 1
write(2, "n", 1)                        = 1
write(2, "d", 1)                        = 1
write(2, " ", 1)                        = 1
write(2, "-lXpm", 5)                    = 5
write(2, "\n", 1)                       = 1
close(3)                                = 0
unlink("a.out")                         = 0
exit_group(1)                           = ?


Więcej informacji o liście dyskusyjnej pld-devel-pl