Re: libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread Gary V. Vaughan
Hi Christian, [[Libtool list added back in to Cc:]] Please don't top post on technical lists, but thanks for not sending the long logs to the list :) On 9 Jun 2010, at 23:10, christian caremoli wrote: > 2010/6/9 Gary V. Vaughan > Hi Christian, > > [[Libtool list added back in to Cc:]] > > On

Re: libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread Gary V. Vaughan
Hi Christian, [[Libtool list added back in to Cc:]] On 9 Jun 2010, at 21:17, christian caremoli wrote: > 2010/6/9 Gary V. Vaughan > > Most likely your libhdf.la has -L/usr/libs in its dependency_libs entry. > > You can fix that by editing the libhdf.la file to pass the library name by > > its

Re: libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread Gary V. Vaughan
Hi Christian, On 9 Jun 2010, at 19:27, christian caremoli wrote: > I resend my question from gmail. Thanks :) > Most likely your libhdf.la has -L/usr/libs in its dependency_libs entry. You > can fix that by editing the libhdf.la file to pass the library name by its > full path, or by adjustin

libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread christian caremoli
Hello Gary I resend my question from gmail. Most likely your libhdf.la has -L/usr/libs in its dependency_libs entry. > You can fix that by editing the libhdf.la file to pass the library name by > its full path, or by adjusting the install process of libhdf not to record > -L/usr/libs there. > de

Re: libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread Gary V. Vaughan
Salut Christian, On 9 Jun 2010, at 14:41, Christian CAREMOLI wrote: > Hello, > > I link 3 libraries with libtool. The first one is linked with hdf lib that is > in system (/usr/lib), the > second one is linked with vtk lib that is not in system ($VTKHOME) and the > third one is linked > with

libtool adds an annoying -L/usr/lib in link command

2010-06-09 Thread Christian CAREMOLI
Hello, I link 3 libraries with libtool. The first one is linked with hdf lib that is in system (/usr/lib), the second one is linked with vtk lib that is not in system ($VTKHOME) and the third one is linked with the 2 previous libs. The problem is that there is another vtlk lib in system (/usr/