[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using libtool for linking
From: |
Bob Friesenhahn |
Subject: |
Re: Using libtool for linking |
Date: |
Thu, 16 Aug 2007 20:57:14 -0500 (CDT) |
On Fri, 17 Aug 2007, Jason Curl wrote:
I have a system that supports shared libraries (Solaris 9). As part of some
checks for 'getopt_long' I check if it exists in 'libiberty' if I can't find
it in the standard system. It's there in libiberty. Now the problem occurs
because there's only "libiberty.a" and no "libiberty.so.x.y.z" file.
Shouldn't AC_CHECK_LIB support shared/static libraries too? Or should libtool
see that there's no shared library and statically link it somehow into my
library that will become shared?
When libiberty is installed, it does not also install the .la file
necessary for libtool to know that the library is static, and where to
find the static library.
Perhaps the authors of libiberty do not expect that it will be used
by anyone else.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/