Re: shared library problem on macos with free software scientific package...

2011-01-07 Thread Peter O'Gorman
On 01/07/2011 06:30 AM, Ed Hartnett wrote: libtool: link: g95 -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libnetcdff.0.dylib .libs/fort-attio.o .libs/fort-control.o .libs/fort-dim.o .libs/fort-genatt.o .libs/fort-geninq.o .libs/fort-genvar.o .libs/fort-lib.o .libs/fort

Re: shared library problem on macos with free software scientific package...

2011-01-07 Thread Benny Siegert
On Fri, Jan 7, 2011 at 13:30, Ed Hartnett wrote: > For some reason, the libtool script that ships with the dist is ignored, > and the build tries to use /usr/bin/libtool instead, and that's where it > comes unglued. This may have nothing to do with macos, but may mearly be > happening on this mach

shared library problem on macos with free software scientific package...

2011-01-07 Thread Ed Hartnett
Howdy all! I am working on netCDF, a set of (free) software libraries that enable access to array-oriented scientific data. It is used heavily by climate and other Earth scientists. NetCDF includes a Fortran 90 API. The F90 library is put together as a convenience library, and then the F77 is put

How to produce shared inter-library with static library?

2011-01-07 Thread yuan zheng
Hello, everyone: I want to produce a shared inter-library on mingw32 on winxp. But it prompted that "can not link to static lib archive" and then generated a static lib. I have use the options "-no-undefined -shared". my link line: ---