On Wed, Apr 11, 2001 at 09:35:36PM +0200, Karel Gardas wrote:
> 
> Hello,
> 
> I have package which use shared library. I have problem with linking
> binary from this package against certain version of shared library.
> 
> For example I have source package foo of version 2.3.5 - this compile into
> binary foo and library libfoo. As I understand from Debian policy I have
> to change it and my binary package libfoo has to have shared library
> libfoo.so.2.3.5 + symlink to this library libfoo.so.2. Binary package then
> depends on package libfoo version 2.3.5 and binary foo is linked against
> libfoo.so.2.
> 
> What I really don't know is how can I link binary foo against libfoo.so.2. 

You build everything as normal.  When you come to place the files in
the various packages in the binary-arch target, you will split up the
libfoo and foo files appropriately.  Then everything should work.
(Just make sure that you use an option like
-Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to