Shared library link problem when building debs

Jules Colding colding at 42tools.com
Tue Dec 11 09:16:28 GMT 2007


Hi,

Sorry for cross posting, but I wasn't aware that this was the correct
list until a few minutes ago.

With that out of the way...


I'm building debs for a simple keyring daemon for which 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/" when installing. 

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 /usr/lib/libBrutusKeyringd-1.0.so -> libBrutusKeyringd-1.0.so.1.0.0
lrwxrwxrwx 1 root root    30 2007-10-12 10:04 /usr/lib/libBrutusKeyringd-1.0.so.1 -> libBrutusKeyringd-1.0.so.1.0.0
-rw-r--r-- 1 root root 32061 2007-10-12 10:04 /usr/lib/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-motu mailing list