Subject: RE: Use of libtool in pkgs
To: Tim Rightnour <>
From: Todd Vierling <>
List: tech-pkg
Date: 07/16/1998 09:06:44
On Thu, 16 Jul 1998, Tim Rightnour wrote:

: #  Note that the library is changed to have a .la extension, and the objects
: #  are changed to have a .lo extension.  Change OBJS as necessary.  This
: #  automatically creates all of the .a, .so.major.minor, and ELF symlinks (if
: #  necessary) in the build directory.
: Ok.. I'll bite..  I'm trying to build mysql on alpha.  (so far, its still
: going) it builds fine if I replace -Bforcearchive with --whole-archive. 
: However..  --whole-archive doesn't work on my i386-1.3   So..  how do you cope
: with this with libtool?  Does it do it automagically?

As of yet, libtool doesn't support linking libraries into a .so file; that
linking should be done at "ar" and "ranlib" time, not afterwards.  Libtool
replaces the "ar"/"ranlib" step entirely, and links the shared object at the
same time.

-- Todd Vierling (Personal; Bus.