Re: Specifing library version.

2001-04-12 Thread Julian Gilbey
On Wed, Apr 11, 2001 at 10:59:20PM -0400, Ben Collins wrote: > On Wed, Apr 11, 2001 at 11:01:24PM +0100, Julian Gilbey wrote: > > (Just make sure that you use an option like > > -Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.) > > When linking with gcc, you do not add in -lc

Re: Specifing library version.

2001-04-12 Thread Julian Gilbey
On Wed, Apr 11, 2001 at 10:59:20PM -0400, Ben Collins wrote: > On Wed, Apr 11, 2001 at 11:01:24PM +0100, Julian Gilbey wrote: > > (Just make sure that you use an option like > > -Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.) > > When linking with gcc, you do not add in -l

Re: Specifing library version.

2001-04-11 Thread Ben Collins
On Wed, Apr 11, 2001 at 11:01:24PM +0100, Julian Gilbey wrote: > (Just make sure that you use an option like > -Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.) When linking with gcc, you do not add in -lc. GCC will do that all by itself, internally (which is the whole reason

Re: Specifing library version.

2001-04-11 Thread Ben Collins
On Wed, Apr 11, 2001 at 11:01:24PM +0100, Julian Gilbey wrote: > (Just make sure that you use an option like > -Wl,-soname,libfoo.so.2,-lc to gcc when you create the shared library.) When linking with gcc, you do not add in -lc. GCC will do that all by itself, internally (which is the whole reaso

Re: Specifing library version.

2001-04-11 Thread Julian Gilbey
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 >

Specifing library version.

2001-04-11 Thread Karel Gardas
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 c

Re: Specifing library version.

2001-04-11 Thread Julian Gilbey
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

Specifing library version.

2001-04-11 Thread Karel Gardas
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