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

Re: Lapack libraries



On Thu, Sep 25, 2003 at 09:54:15 +0100, Simon Tod wrote:
> I was kinda expecting this in install Fortran libraries with names like
> liblapack.a

.a files are static libraries.

> that I could just link to at compile time, but I don't, only
> lapack.so and lapack.so.2 (maybe they have a 'lib' in front, I forget!)
 
.so files are dynamic libraries. Try using "g77 -o prog foo.o bar.o -lbaz" 
rather than "g77 -o prog foo.o bar.o /usr/lib/libbaz.a" and things will work
fine for both static and dynamic libraries.

HTH,
Ray
-- 
NATUURLIJK krijg je er geen signaal doorheen - het is *dark* fibre.
	jtv



Reply to: