-
Notifications
You must be signed in to change notification settings - Fork 6.8k
"/usr/bin/ld: cannot find -lcblas" #1442
Comments
|
|
atlas should include a libcblas.so. Locate it and add its path to flags. If you can't find it, your atlas is probably not correctly installed. |
I tried reinstall altas packages, but the error persists.
I understand the name of |
Here is my output of locate libcblas:
Seems like an issue with atlas on different platforms. I suggest you look into atlas's documents or switch to other blas libraries, like Openblas. |
On CentOS/Fedora/Red Hat, please change Maybe this should be added into documents. |
@thirdwing Maybe we can do auto detect. |
Solved. Thanks! I am crying seeing the terminal running like crazy. |
One more question: how do I find out the library name for X OS, if only library name for Y os is given? |
I don't think this is a general answer for this. |
@tengpeng ,can you please post your solution here. I ran into the same problem and tried to replace to "ADD_LDFLAGS +=-lsatlas" but still got "cannot find -lcblas" error |
Please refer to Eric's answer which help me solve the problem.
On Fri, Jun 24, 2016 at 12:09 AM, yeoman notifications@github.com wrote:
|
Hi, all. In order to help others who may run into this problem. I fix the error by creating a soft link as below: |
@tengpeng I'm tring to install mxnet on CentOS7, but I run into the same error with "/usr/bin/ld: cannot find -lcblas" , could you post a step-by-step tutorial to share your experience in installing mxnet on CentOS? |
I don't have CentOS access anymore. But I am sure this problem can be On Sat, Oct 8, 2016 at 9:42 PM, bigstone09 notifications@github.com wrote:
|
OS : Centos7.2
will fix this bug ! |
Thanks for the useful information above. adding "-L/usr/lib64/atlas" to ADD_LDFLAGS in config.mk and changing -lcblas to -lsatlas in mxnet/mshadow/make/mshadow.mk will fix the ld error on Centos 7 with ATLAS. I can also confirm that the ATLAS on centos 7 does not ship with libcblas.so. @tengpeng @thirdwing |
I solved this problem by replacing cblas with satlas. Here is solution:
Note: My system is fedora 23 |
Here's my solution. (CentOS 7)
|
For me, I installed extra dependency to solve this:
|
I am compiling the packages on CentOS 7, but get error
What I tried:
The text was updated successfully, but these errors were encountered: