libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building but not installing shared library...


From: Peter O'Gorman
Subject: Re: building but not installing shared library...
Date: Tue, 13 May 2008 10:26:05 -0500
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Ed Hartnett wrote:

> I am the developer of netcdf, a free software tool for scientific data
> storage.
> 
> I am using libtool 2.2 and am having a strange problem on an AIX
> system.
> 
> When building a shared C library with gcc everything seems to

> libtool: link: ar cru .libs/libnetcdf.a .libs/libnetcdf.so.4

Hi Ed,

I think this is because you are not using -brtl. The shared object is
added to the archive. If you had configured and built with -Wl,-brtl in
your LDFLAGS, you would get a separate shared library.

Because the shared library is part of the archive it is being installed
with the archive.

dump -X32_64 -H /path/to/libnetcdf.a should show you the shared members.

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]