interdependancies between libraries

2001-01-15 Thread Brian May
Hello, I am experimenting with the CVS version of libtool (AFAIK pre-release versions of 1.4), and am I bit disappointed in how interdependencies between shared libraries are handled. As an example: /bin/sh ./libtool --mode=link gcc -g -O2 -o depdemo main.o ./l1/libl1.la ./l2/libl2.la ./l4

Re: interdependancies between libraries

2001-01-17 Thread Wesley W. Terpstra
On Tue, Jan 16, 2001 at 01:50:57PM +1100, Brian May wrote: > Oh, another observation: installing the libraries in their non-final > location (as required for Debian packaging tools, probably Redhat too) > simply does not work, as shown below. I think some of the required -L > options to the linker

Re: interdependancies between libraries

2001-01-17 Thread Kevin Ryde
> On Tue, Jan 16, 2001 at 01:50:57PM +1100, Brian May wrote: > > Oh, another observation: installing the libraries in their non-final > > location (as required for Debian packaging tools, probably Redhat too) > > simply does not work, as shown below. I think some of the required -L > > options to

Re: interdependancies between libraries

2001-01-17 Thread Brian May
> "Kevin" == Kevin Ryde <[EMAIL PROTECTED]> writes: >> On Tue, Jan 16, 2001 at 01:50:57PM +1100, Brian May wrote: > >> Oh, another observation: installing the libraries in their >> non-final > location (as required for Debian packaging tools, >> probably Redhat too) > simply d

Re: interdependancies between libraries

2001-01-17 Thread Ganesan Rajagopal
> "Brian" == Brian May <[EMAIL PROTECTED]> writes: > "Kevin" == Kevin Ryde <[EMAIL PROTECTED]> writes: >>> On Tue, Jan 16, 2001 at 01:50:57PM +1100, Brian May wrote: > >>> Oh, another observation: installing the libraries in their >>> non-final > location (as required for Debian packaging

Re: interdependancies between libraries

2001-01-17 Thread Brian May
> "Ganesan" == Ganesan Rajagopal <[EMAIL PROTECTED]> writes: Ganesan> The correct way to do this is actually ./configure Ganesan> --prefix=/usr Ganesan> make install DESTDIR=`pwd`/debian/tmp Hmmm. didn't know this. Lets try it: [624] [snoopy:bam] ~/source/cvs/libtool/depdemo >c

Re: interdependancies between libraries

2001-01-17 Thread Brian May
> "Wesley" == Wesley W Terpstra <[EMAIL PROTECTED]> writes: Wesley> What I've been doing for debs with inter-depends is having Wesley> a local copy of ltmain.sh in my debian packages with the Wesley> patch applied for building my project. Then it adds the Wesley> right -L opti

Re: interdependancies between libraries

2001-01-19 Thread Wesley W. Terpstra
On Thu, Jan 18, 2001 at 08:23:22AM +0530, Ganesan Rajagopal wrote: > Kevin> Some Debian libtool packages (eg. libgtk1.2) seem to get > Kevin> away with > > Kevin> ./configure --prefix=/usr > > Kevin> but then overriding that for the install > > Kevin> make prefix=`pwd`/debian/tmp/usr install >

Re: interdependancies between libraries

2001-01-19 Thread Wesley W. Terpstra
On Thu, Jan 18, 2001 at 04:05:15PM +1100, Brian May wrote: > > "Wesley" == Wesley W Terpstra <[EMAIL PROTECTED]> writes: > > Wesley> What I've been doing for debs with inter-depends is having > Wesley> a local copy of ltmain.sh in my debian packages with the > Wesley> patch applie

Re: interdependancies between libraries

2001-01-21 Thread Brian May
> "Wesley" == Wesley W Terpstra <[EMAIL PROTECTED]> writes: Wesley> Sorry, none. I'm not a libtool hacker though. :-) Maybe Wesley> someone else can solve it. However, the issue I see here Wesley> is that it's hard for libtool to know that you aren't Wesley> using the library

Re: interdependancies between libraries

2001-01-21 Thread Brian May
> "Wesley" == Wesley W Terpstra <[EMAIL PROTECTED]> writes: Wesley> On linux using -L doesn't affect run-time search path, so Wesley> my patch just uses that, but I understand that on other Wesley> archs. it does affect search path (you don't use Wesley> --Wl,rpath,/usr/foo/ba