[SciPy-user] BLAS, LAPACK, ATLAS libraries.
Tue Jul 17 21:18:41 CDT 2007
> The problem is the way you build the shared library is wrong: you cannot
> just use g77 -shared -o soname *.o, because LAPACK object files are in
> several directories.
> One correct way is to use the static library .a, uncompress it in a
> directory, and build the shared library from that. There is a problem
> when several object files have the same name (because you cannot have
> several files with the same name in a directory), though, so extra care
> must be taken.
You might be able to do something like this. It has worked for me
in the past (with GNU ld):
ld -shared -o libfoo.so --whole-archive libfoo.a
Scott M. Ransom Address: NRAO
Phone: (434) 296-0320 520 Edgemont Rd.
email: firstname.lastname@example.org Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B FFCA 9BFA B6FF FFD3 2989
More information about the SciPy-user