Subject: Re: pkglibtool question
To: Bjoern Labitzke <email@example.com>
From: Todd Vierling <firstname.lastname@example.org>
Date: 01/05/2000 12:37:35
On Wed, 5 Jan 2000, 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.
: Therefor another question: Any ideas, how I can solve the problem?
: I have a shared library built with pkglibtool and want to build
: another one, that links with the first. Of course I can't install
: the first library yet, because I am still at the compiling stage
: and there was no make install for the package issued yet.
Curently, pkglibtool does not support interlibrary dependencies, and in
fact, pkgsrc explicitly disallows shared library interdependencies (as
NetBSD has had systems without shared object support up through
1.3.x!). Library dependencies are added to the link lines of affected
The current solution is to remove the dependent library, and link with both
at the program link stage. If I can figure out how to fix this
properly--which would require installing the .la files, something we don't
currently do--I could update pkglibtool to do it.
-- Todd Vierling (email@example.com)