lapack.so.3 seems to hate me and visa versa.

Open discussion regarding features, bugs, issues, vendors, etc.

lapack.so.3 seems to hate me and visa versa.

Postby gerdeke » Fri Feb 04, 2005 3:01 pm

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: liblapack.so.3: cannot open shared object file: No such file or directory

This of course is caused because liblapack.so.3 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. :?
gerdeke
 
Posts: 2
Joined: Fri Feb 04, 2005 2:50 pm

Postby Stan Tomov » Thu Feb 17, 2005 2:59 pm

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 make.inc change
Code: Select all
ARCH     = ar
ARCHFLAGS= cr
RANLIB   = echo
to
ARCH     = g77
ARCHFLAGS= -shared -o
RANLIB   = echo

and

LAPACKLIB    = lapack$(PLAT).a
TMGLIB       = tmglib$(PLAT).a
EIGSRCLIB    = eigsrc$(PLAT).a
LINSRCLIB    = linsrc$(PLAT).a
to
LAPACKLIB    = liblapack.so.3
TMGLIB       = libtmglib.so.3
EIGSRCLIB    = libeigsrc.so.3
LINSRCLIB    = liblinsrc.so.3

Then "make lib" will produce shared LAPACK library for your platform.
I hope this helps.
Stan
Stan Tomov
 
Posts: 13
Joined: Thu Dec 09, 2004 1:28 pm

Postby gerdeke » Tue Feb 22, 2005 2:04 pm

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
gerdeke
 
Posts: 2
Joined: Fri Feb 04, 2005 2:50 pm


Return to User Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests