Shared library link problem when building debs

Jules Colding colding at 42tools.com
Mon Dec 10 14:33:13 UTC 2007


Hi,

I'm building debs for a simple keyring daemon. You can get the source
here:

http://svn.42tools.net/repos/brutus-keyring/trunk/


My problem is related to the automatic creation of symbolic links in
"/usr/lib/". 

On all other platforms I see at least these files in "/usr/lib" after a
successful installation:

lrwxrwxrwx 1 root root    30 2007-10-12 10:04 libBrutusKeyringd-1.0.so -> libBrutusKeyringd-1.0.so.1.0.0
lrwxrwxrwx 1 root root    30 2007-10-12 10:04 libBrutusKeyringd-1.0.so.1 -> libBrutusKeyringd-1.0.so.1.0.0
-rw-r--r-- 1 root root 32061 2007-10-12 10:04 libBrutusKeyringd-1.0.so.1.0.0


But on Ubuntu I only see:

lrwxrwxrwx 1 root root   30 2007-12-10 12:52 /usr/lib/libBrutusKeyringd-1.0.so.1 -> libBrutusKeyringd-1.0.so.1.0.0
-rw-r--r-- 1 root root 6340 2007-12-10 12:48 /usr/lib/libBrutusKeyringd-1.0.so.1.0.0


You can see that the "libBrutusKeyringd-1.0.so" symbolic link is
missing. This give rise to problems as applications want to do
"-lBrutusKeyringd-1.0" when linking. 

How do I make the Ubuntu package build system create this link in
"/usr/lib/" without doing it manually in the Makefile?


Thanks a lot,
  jules







More information about the ubuntu-users mailing list