[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#578023: openoffice.org on GNU/kFreeBSD




Our /proc also have the same symlink, so we could just use
similar implementation. I will take care about this part.

Did you test that? Even with libc0.1 2.10.2-7 it fails the same way for me...

I tested rpath expansion, not whole OO, now on io:

(sid)Nemám #ádné jméno!@io:~/r$ ls -lR
.:
celkem 8
drwxr-xr-x 2 1013 1000 512 26. dub 07.46 bin
-rw-r--r-- 1 1013 1000   6 26. dub 07.36 d.c
drwxr-xr-x 2 1013 1000 512 26. dub 07.36 lib
-rw-r--r-- 1 1013 1000  13 26. dub 07.36 r.c

./bin:
celkem 6
-rwxr-xr-x 1 1013 1000 4619 26. dub 07.43 r

./lib:
celkem 4
-rwxr-xr-x 1 1013 1000 3916 26. dub 07.36 d.so

(sid)Nemám #ádné jméno!@io:~/r$ readelf -a bin/r | grep rpath
 0x0000000f (RPATH)                      Library rpath: [$ORIGIN/../lib:$ORIGIN]


(sid)Nemám #ádné jméno!@io:~/r$ ldd bin/r
        d.so => /home/salinger/r/bin/../lib/d.so (0x21025000)
        libc.so.0.1 => /lib/libc.so.0.1 (0x2103a000)
        /lib/ld.so.1 (0x01001000)


The problem seems be that I tested by ldd and
ldd shows different results compared to direct execution:

(sid)Nemám #ádné jméno!@io:~/r$ bin/r
bin/r: error while loading shared libraries: d.so: cannot open shared object file: No such file or directory

Now I am really confused :-(

Petr

Reply to: