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


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to