building but not installing shared library...

2008-05-13 Thread Ed Hartnett
Howdy All! 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 work. Here's the link: libtool: link: ar cru .libs/libnetcdf2.a .libs

disable static libraries?

2008-05-13 Thread Ed Hartnett
Howdy all! What does it mean while I get the following response to ./libtool --features bash$ ./libtool --features host: powerpc-ibm-aix5.1.0.0 enable shared libraries disable static libraries Does this mean that static libraries will not be built on this platform? Yet my build is having the pr

Re: disable static libraries?

2008-05-13 Thread matteo.vesc...@tiscali.it
>(The .a file is always a static library, right?) Not on AIX. AIX differentiates between the notion of 'shared object' and 'shared library'. A shared object is a single object file that has the Shared object SHROBJ flag in the XCOFF header. A shared object normally has a name of the form name

Re: building but not installing shared library...

2008-05-13 Thread Peter O'Gorman
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

Re: disable static libraries?

2008-05-13 Thread Bob Friesenhahn
On Tue, 13 May 2008, Ed Hartnett wrote: Yet my build is having the problem of installing only the static library. (The .a file is always a static library, right?) No. There is an OS called AIX which can deliver shared libraries with this extension. :-) Bob

Re: disable static libraries?

2008-05-13 Thread Ed Hartnett
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: >>(The .a file is always a static library, right?) > > Not on AIX. AIX differentiates between the notion of 'shared object' > and 'shared library'. > > A shared object is a single object file that has the Shared object > SHROBJ flag in the XCOFF he

Re: disable static libraries?

2008-05-13 Thread mcnichol
> From: Ed Hartnett <[EMAIL PROTECTED]> > Date: Tue, 13 May 2008 07:33:02 -0600 > > (The .a file is always a static library, right?) > Not on AIX. A .a file can be a shared library, a static library, or some combination of the two. Dan ___ http://lis

shared libraries possible with old g++, g77?

2008-05-13 Thread Ed Hartnett
Howdy all! I am the maintainer for a freeware scientific software library called netcdf. There are C, Fortran, and C++ libraries. When building shared libraries with older versions of the tools, I get problems. gcc works fine, and I get a shared C library, but my fortran and C++ programs seg faul

Re: shared libraries possible with old g++, g77?

2008-05-13 Thread Bob Friesenhahn
On Tue, 13 May 2008, Ed Hartnett wrote: I am the maintainer for a freeware scientific software library called netcdf. There are C, Fortran, and C++ libraries. When building shared libraries with older versions of the tools, I get problems. gcc works fine, and I get a shared C library, but my fo