Page 1 of 1 seems to hate me and visa versa.

PostPosted: Fri Feb 04, 2005 3:01 pm
by gerdeke
This little pain of a file seems to want to hind from me. I have installed lapack on our gentoo system 10 or 11 times now, and each install ends with the same product. The install seems to complete just fine... then I go to run gretlcli(the file requiring lapack) and it errors as follows.

shell> gretlcli
gretlcli: error while loading shared libraries: cannot open shared object file: No such file or directory

This of course is caused because was never installed.

again I have done this way to many times. and I have even done it with gentoo's emerge command. I really would love any suggestions anyone might have.

Thanks. :?

PostPosted: Thu Feb 17, 2005 2:59 pm
by Stan Tomov
If the question is how to install a shared LAPACK library you can do
for example the following. In the LAPACK's make include file change
Code: Select all
ARCH     = ar
RANLIB   = echo
ARCH     = g77
ARCHFLAGS= -shared -o
RANLIB   = echo


LAPACKLIB    = lapack$(PLAT).a
TMGLIB       = tmglib$(PLAT).a
EIGSRCLIB    = eigsrc$(PLAT).a
LINSRCLIB    = linsrc$(PLAT).a
TMGLIB       =

Then "make lib" will produce shared LAPACK library for your platform.
I hope this helps.

PostPosted: Tue Feb 22, 2005 2:04 pm
by gerdeke
Thanks for the help. The problem ended up being that when installing lapack the only lib file that was installed was the .a file. The needed file was the .so file. I finally found this file by installing atlas-lapack.

Thank you for the help :D