Re: ld --rpath problem using libtool

2008-01-09 Thread Richard Hacker
Hi Ralf, On Wednesday 09 January 2008 07:48, Ralf Wildenhues wrote: > I think the issue is this: libtool doesn't add a run path to > /opt/etherlab/lib because it thinks the runtime linker will already > search that by default. Your --config output shows that it is listed > ... > I'm wondering, i

libtool problem when cross compiling net-snmp

2008-01-09 Thread Göran Hillebrink
Hi, I'm trying to cross compile net-snmp but have run into a libtool problem. I'm using libtool 1.5.24 together with net-snmp 5.4.1. I've tracked down the problem to archive_cmds in libtool. The $deplibs parameter indicates -L/usr/lib instead of -L/home/goranh/src/etrax/target/crisv32-axis-lin

RE: mingw install directory for shared lib

2008-01-09 Thread Bob Friesenhahn
On Wed, 9 Jan 2008, Duft Markus wrote: Bob Friesenhahn <> wrote: On Tue, 8 Jan 2008, Ralf Wildenhues wrote: General question before fixing this: on w32, should even plugins have their DLLs go to $bindir? Yes, i'd agree to this... ;o) If you try to load a library by yourself, you will have t

Re: mingw install directory for shared lib

2008-01-09 Thread Bob Rossi
On Wed, Jan 09, 2008 at 10:41:17AM -0600, Bob Friesenhahn wrote: > On Wed, 9 Jan 2008, Duft Markus wrote: > >> Bob Friesenhahn <> wrote: >>> On Tue, 8 Jan 2008, Ralf Wildenhues wrote: General question before fixing this: on w32, should even plugins have their DLLs go to $bindir? >> >

Re: mingw install directory for shared lib

2008-01-09 Thread Bob Friesenhahn
On Wed, 9 Jan 2008, Bob Rossi wrote: There should be no dependencies between plugins. I don't know. That sentence goes a little to far really. When pcre is built on windows, it creates two dlls. The first is the regex dll which supports the POSIX regex functionality. The second is a C++ interf

Re: mingw install directory for shared lib

2008-01-09 Thread Bob Rossi
On Tue, Jan 08, 2008 at 11:29:15PM +0200, Tor Lillqvist wrote: > Shouldn't plug-in -type shared libraries be built with the -module > -avoid-version libtool flags? I think with those flags, such > libtool-built DLLs get installed in the libdir of the Makefile in > question, not libdir/../bin like n

Re: libtool problem when cross compiling net-snmp

2008-01-09 Thread Ralf Wildenhues
Hello Göran, * Göran Hillebrink wrote on Wed, Jan 09, 2008 at 04:27:27PM CET: > > I'm trying to cross compile net-snmp but have run into a libtool > problem. I'm using libtool 1.5.24 together with net-snmp 5.4.1. > > I've tracked down the problem to archive_cmds in libtool. The $deplibs > parame

Re: build check in AIX 5.2 / 5.3 / 6.1

2008-01-09 Thread Ralf Wildenhues
Hello Rainer, * Rainer Tammer wrote on Wed, Jan 09, 2008 at 12:25:03PM CET: > I have checked the following libtool versions on several AIX versions: > > 1. branch-1.5-20080108-cvs > > on AIX 5.2, 5.3, 6.1 > > result: > > AIX 5.2 / branch-1.5 / OK > AIX 5.3 / branch-1.5 / OK > AIX 6.1 / branch-1.5

make -s

2008-01-09 Thread Bob Rossi
Hi, When I do a 'make -s', I usually get no output from the compiler commands. However with libtool, when it goes into, mkdir .libs then I see the compiler output. Do you think this is the correct behavior? I would like to see the output suppressed in this circumstance. This is just a feature

Re: build check in AIX 5.2 / 5.3 / 6.1

2008-01-09 Thread Ralf Wildenhues
* Rainer Tammer wrote on Wed, Jan 09, 2008 at 12:25:03PM CET: [ branch-1.5-20080108-cvs/check.log ] > creating libmlib.la (cd .libs && rm -f libmlib.la && ln -s ../libmlib.la > libmlib.la) cc_r -qlanglvl=extc89 -DPACKAGE_NAME=\"mdemo\" > -DPACKAGE_TARNAME=\"mdemo\" -DPACKAGE_VERSION=\"0.1\" > -D

Re: "error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory"

2008-01-09 Thread Ralf Wildenhues
[ http://thread.gmane.org/gmane.comp.gnu.libtool.general/8726 ] Hello Laurence, Apologies for the delay, and apologies again for not citing better, and thanks for the report. There are two slightly differents setups, as far as Libtool is concerned. For the first one I can confirm your issue, bu

Re: make -s

2008-01-09 Thread Ralf Wildenhues
Hello Bob, * Bob Rossi wrote on Wed, Jan 09, 2008 at 08:52:20PM CET: > > When I do a 'make -s', I usually get no output from the compiler > commands. However with libtool, when it goes into, > mkdir .libs > then I see the compiler output. To me, you speak in riddles. Please just post what com

Re: make -s

2008-01-09 Thread Mike Frysinger
On Wednesday 09 January 2008, Ralf Wildenhues wrote: > * Bob Rossi wrote on Wed, Jan 09, 2008 at 08:52:20PM CET: > > When I do a 'make -s', I usually get no output from the compiler > > commands. However with libtool, when it goes into, > > mkdir .libs > > then I see the compiler output. > > To m

RE: mingw install directory for shared lib

2008-01-09 Thread Duft Markus
Bob Friesenhahn wrote: > On Wed, 9 Jan 2008, Duft Markus wrote: > >> Bob Friesenhahn <> wrote: >>> On Tue, 8 Jan 2008, Ralf Wildenhues wrote: General question before fixing this: on w32, should even plugins have their DLLs go to $bindir? >> >> Yes, i'd a

Re: make -s

2008-01-09 Thread Ralf Wildenhues
Hello Mike, * Mike Frysinger wrote on Wed, Jan 09, 2008 at 10:17:45PM CET: > the request is to have the --silent flag passed automatically to > libtool if the -s flag is passed to make. alias 'make_s=make -s LIBTOOLFLAGS=--silent' For whatever output is left done by libtool I expect that whoever