-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chow Loong Jin wrote: > On Wednesday 29,July,2009 12:38 AM, Harry Rickards wrote: >> I apologize for this question, as it's probably easy to answer for >> someone experienced in packaging libraries. >> >> When packaging a shared library, I can't seem to create the symlinks >> correctly. If I let the Makefile create the symlinks I get >> ldconfig-symlink-is-not-a-symlink, however if I remove the lines that >> make the symlinks I get ldconfig-symlink-missing-for-shlib from lintian. >> >> Again, I apologize for this being a noob question. >> > A library package should contain the following: > /usr/lib/libfoo.so.X (link) => libfoo.so.X.Y.Z > /usr/lib/libfoo.so.X.Y.Z (regular file) > > A library -dev package should contain the following: > /usr/lib/libfoo.so (link) => libfoo.so.X.Y.Z > and optionally: > /usr/lib/libfoo.a (regular file) > /usr/lib/libfoo.la (regular file) > > If I am not mistaken, ldconfig-symlink-is-not-a-symlink arises from a > package that contains a file /usr/lib/libfoo.so.X, rather than a > symlink, as I've shown above, while ldconfig-symlink-missing-from-shlib > arises from a package that does not contain the /usr/lib/libfoo.so.X > symlink.
That's what I've got. Symbolic links are created with 'ln -s' right? I seem to have fixed this myself anyway somehow. I was just playing around with the Makefile and debian/rules. Thanks for the help anyway. > You can get more information about a lintian tag by running: > $ lintian-info -t <lintian tag> > > http://www.debian.org/doc/debian-policy/ch-sharedlibs.html is a good > read, by the way. > Thanks for the link. - -- Thanks Harry Rickards <[email protected]> GPG Key Info: pub 1024R/58449F6F 2009-06-12 uid Harry Rickards (OpenPGP Card) <[email protected]> sub 1024R/D775CCEE 2009-06-12 sub 1024R/9394048C 2009-06-12 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iJwEAQECAAYFAkpvQAQACgkQ+9DWHFhEn28t5AQApY0HWOcSM5txSS60rdKHD+Gu 1UuHbpgZ7mTZtZ3VwHD4ohPvCFe2FKNUGs09HwCta2yfq+kBUA6FxWnXChFguZsB u3lyaPSaDuajZ+R9J21819g8vNRXGKVY34gUO0V/C9LSjXXTAONXO/b0SPuYOMDv TQDr0p9OaYfZ/7H6fHs= =DIUP -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

