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

Trouble with shared libraries



Hi mentors,

I'm trying to solve a problem in the library packages I split off. The
package itself doesn't use auto-tools etc. and just creates libfoo.so
files. Some of them are obviously meant as a plugin, so there's no
need to put in some kind of versioning. (I guess)

1) Should I rename the original libs (not meant as a plugin) to be 
libfoo.so.1.0.1 style?

2) While compiling I get "dpkg-shlibdeps: warning: format of libfs.so not 
recognized". nm reports "no symbols" and "objdump -a" just reports
that it is an "elf32-i386". When doing an ldd on one of them:

ldd debian/libfailsafe/usr/lib/libcas/libcam_fs.so
        libci.so => not found
        libfs.so => not found
        libcas.so => not found
        libcam.so => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0x4000e000)
        libc.so.6 => /lib/libc.so.6 (0x40024000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

(Ok. I removed the rpath, so some of the libs are not found.)
Well - is this correct, or should I worry?

3) "dh_makeshlibs -a -m1" is called in debian/rules, but linitian reports:
"E: libfailsafe: no-shlibs-control-file usr/lib/libfs.so". How to get rid of 
it?

Maybe these questions are somewhat stupid, but I didn't find "matching"
answers in the archives and have no idea how to fix them.

Thanks,
-Cajus


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: