How to link against non-public shared libraries?

2004-07-13 Thread Milan Zamazal
My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just normally link to it. Debian Policy says: Shared object

Re: How to link against non-public shared libraries?

2004-07-13 Thread Adrian 'Dagurashibanipal' von Bidder
On Tuesday 13 July 2004 11.15, Milan Zamazal wrote: How to ensure properly that the binaries can find the library? Call the binaries from a wrapper script that sets up LD_LIBRARY_PATH? Not elegant, but isn't it what most Java applications do with their environment variables? greetings -- vbi

Re: How to link against non-public shared libraries?

2004-07-13 Thread Milan Zamazal
AvB == Adrian von Bidder [EMAIL PROTECTED] writes: AvB Call the binaries from a wrapper script that sets up AvB LD_LIBRARY_PATH? This is extra-ugly and I'm not going to do this. AvB Not elegant, but isn't it what most Java applications do with AvB their environment variables?

Re: How to link against non-public shared libraries?

2004-07-13 Thread Santiago Vila
On Tue, 13 Jul 2004, Milan Zamazal wrote: My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just normally link to

Re: How to link against non-public shared libraries?

2004-07-13 Thread Magnus Therning
On Tue, Jul 13, 2004 at 11:15:45AM +0200, Milan Zamazal wrote: My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just

Re: How to link against non-public shared libraries?

2004-07-13 Thread Edgar
On Tuesday 13 July 2004 21:25, Magnus Therning wrote: Wouldn't the -rpath flag for the linker be the thing to use for this purpose? Doesn't lintian complain if you use -rpath? Or is that only under certain circumstances? Edgar.

Re: How to link against non-public shared libraries?

2004-07-13 Thread Goswin von Brederlow
Milan Zamazal [EMAIL PROTECTED] writes: My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just normally link to

Re: How to link against non-public shared libraries?

2004-07-13 Thread Goswin von Brederlow
Edgar [EMAIL PROTECTED] writes: On Tuesday 13 July 2004 21:25, Magnus Therning wrote: Wouldn't the -rpath flag for the linker be the thing to use for this purpose? Doesn't lintian complain if you use -rpath? Or is that only under certain circumstances? Edgar. Lintian should only

How to link against non-public shared libraries?

2004-07-13 Thread Milan Zamazal
My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just normally link to it. Debian Policy says: Shared object

Re: How to link against non-public shared libraries?

2004-07-13 Thread Adrian 'Dagurashibanipal' von Bidder
On Tuesday 13 July 2004 11.15, Milan Zamazal wrote: How to ensure properly that the binaries can find the library? Call the binaries from a wrapper script that sets up LD_LIBRARY_PATH? Not elegant, but isn't it what most Java applications do with their environment variables? greetings -- vbi

Re: How to link against non-public shared libraries?

2004-07-13 Thread Milan Zamazal
AvB == Adrian von Bidder [EMAIL PROTECTED] writes: AvB Call the binaries from a wrapper script that sets up AvB LD_LIBRARY_PATH? This is extra-ugly and I'm not going to do this. AvB Not elegant, but isn't it what most Java applications do with AvB their environment variables?

Re: How to link against non-public shared libraries?

2004-07-13 Thread Santiago Vila
On Tue, 13 Jul 2004, Milan Zamazal wrote: My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just normally link to

Re: How to link against non-public shared libraries?

2004-07-13 Thread Magnus Therning
On Tue, Jul 13, 2004 at 11:15:45AM +0200, Milan Zamazal wrote: My package contains binaries using a common shared library, which is not intended to be used by other programs. This is a regular shared library, not a plugin or other object to be explicitly loaded by the binaries, the binaries just