$ ld –llapack —verbose
attempt to open /usr/x86_64-redhat-linux/lib64/liblapack.so failed attempt to open /usr/x86_64-redhat-linux/lib64/liblapack.a failed attempt to open /usr/local/lib64/liblapack.so failed attempt to open /usr/local/lib64/liblapack.a failed attempt to open /lib64/liblapack.so failed attempt to open /lib64/liblapack.a failed attempt to open /usr/lib64/liblapack.so failed attempt to open /usr/lib64/liblapack.a failed attempt to open /usr/x86_64-redhat-linux/lib/liblapack.so failed attempt to open /usr/x86_64-redhat-linux/lib/liblapack.a failed attempt to open /usr/lib64/liblapack.so failed attempt to open /usr/lib64/liblapack.a failed attempt to open /usr/local/lib/liblapack.so failed attempt to open /usr/local/lib/liblapack.a failed attempt to open /lib/liblapack.so failed attempt to open /lib/liblapack.a failed attempt to open /usr/lib/liblapack.so failed attempt to open /usr/lib/liblapack.a failed ld: cannot find -llapack
I resume you have installed the package already. If not, do a check,
# yum info lapack
The error can be solved by doing a soft-link
# ln -s /usr/lib64/liblapack.so.3.2.1 /usr/lib64/liblapack.so
When you do a linker again
# ld –llapack —verbose
.... .... .... attempt to open /usr/lib64/liblapack.so succeeded .... .... ....
No comments:
Post a Comment