Subject: Re: pkglibtool question
To: None <>
From: Patrick Welche,SCC,ext.35710, <>
List: tech-pkg
Date: 01/05/2000 22:07:22
Bjoern Labitzke wrote:
> I dug deeper in the problem and at least found a definite answer, though
> I don't like it: The libtool documentation states, that this problem
> will be solved in version 1.4 of libtool (linking libraries to not
> yet installed libraries). As I just checked libtool 1.3.4 is out since
> December, 8th. pkglibtool is based on GNUlibtool 1.2 (or at least that is
> what pkglibtool --version tells me). So even an update would not help
> me yet.

I'm having a related problem: ImageMagick 5.1 comes with libtool 1.3.4,
which manages to generate things like:

/bin/sh ./libtool --mode=link gcc  -O -L/usr/local/lib -L/usr/X11R6/lib -o combine  combine.o magick/  -ljbig -ltiff -lttf -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm
mkdir .libs
gcc -O -L/usr/local/lib -L/usr/X11R6/lib -o .libs/combine combine.o magick/.libs/ -ljbig -ltiff -lttf -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm -ljbig -ltiff -lttf -ljpeg -lpng -lXext -lXt -lX11 -lbz2 -lz -lm -Wl,--rpath -Wl,/usr/local/lib

% combine
Cannot open "magick/.libs/"

It would seem that libtool should have generated something of the form
  -Lmagick/.libs -lMagick
or should the rtld have dropped the magick/.libs/ bit? Am I missing
something? (This is on NetBSD/i386-current ie., elf)