I just changed the FF to FF=gfortran in the Makefile.gcc4 and now eigensoft works. Thanks! Alexandre Racine 514-461-1300 poste 3304 alexandre.racine@mhicc.org -----Original Message----- From: Honza Machácek [mailto:Hloupy.Honza@centrum.cz] Sent: Fri 2008-01-25 16:26 To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] liblapack.so.3 not found Alexandre Racine wrote: > I think I have found something. Doing exactly what I did on a 32bit > machine works. But on my 64bit server, it does exactly the errors > written below. Do you have a 32 or 64 machine? Oh and I don't know if > the link can affect that... First I have tried my 32 bit notebook. The binaries are undoubtedly compiled for 32 bit architecture, so you will have hard time trying to run them on 64 bits. As you can verify by strace, on a 64 bit machine the EIGENSOFT binaries look for the lapack and blas libraries at /usr/lib32 -- and you have to have some version of blas and lapack compiled in 32 bit mode there. Easier than getting all the required 32 bit compatibility libraries is to compile the sources. Luckily I have 64 bit machine too, so I have verified that the compilation works there. Use my Makefile.gcc4. Firs delete all the precompiled 32 bit g77 object files: > make -f Makefile.gcc4 clean Then compile and link the sources: > make -f Makefile.gcc4 all I got several warnings but no error, and the resulting binaries seem to work: > ./smartpca no parameters ## smartpca version: 7521 With best regards Honza Machácek -- gentoo-science@lists.gentoo.org mailing list