-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/ld: cannot find -lcblas #61
Comments
HI @snelgar - can you include what version you're using of deltasigma and the minimum commands to trigger the error on Linux? I'll take a look. |
Hi Ian:
and here’s the version number
I installed via “pip3 install deltasigma”, if that’s relevant.
|
Hi again Ian: FYI, on Mac OS 10.11 (“El Capitan”), which is the rootless thing that doesn’t allow installations into /usr/include, the bad news looks like this:
and a lot of that is coming from “get_info", per
I muddled through the code in _config and found it guessing that /usr/include might work. Setting BLAS_H didn’t do much for me either.
|
Hi Ian, Jut following up on the Linux (Linux d5d56fb00c3f 4.4.22-moby #1 SMP Sun Sep 25 22:54:41 UTC 2016 x86_64 GNU/Linux) import issue that Martin mentioned previously. I installed deltasigma using pip. Then, I installed the libblas-dev package from Debian jessie and that solved the cblas.h not found issue. This then gave me the error:
The blas library exists, but not cblas:
As a work-around I symlinked libblas.so to libcblas.so:
Not sure if it's relevant but apparently there have been a few name changes in the atlas and/or blas libraries recently (see: https://www.centos.org/forums/viewtopic.php?t=48543). Let me know if you need more information. Kindest regards, |
I have this working on Sierra now, and the fix was reproduced by a colleague. Basically I gave up on trying to get numpy/Cython to look in the places officially allowed by Mac OS and overrode its "System Integrity Protection" -- Mac limitations on where anybody (even with sudo) can put files.
That's dangerous stuff, so when you're done go back and do a
A more tasteful fix would be welcome. |
Hi @snelgar, My own (Julia) port of the ΔΣ libraryJust wanted to mention there is a Julia version of Richard's toolbox. I've got a good portion of it ported, and I can probably port other portions if you give me minimum working examples to work from. About JuliaIf you don't already know, Julia is the MIT-seeded language that takes what Matlab gave us to a whole new level: Known issuesAt the moment, the biggest issue appears to be is in the conversion from ABCD -> zpk||rational. (Same goes to the others on this thread :)) |
deltasigma is working nicely for me on a Mac 10.9 setup, but not on 10.11 and not on Ubuntu. The problems are all to do with cblas.
On Mac OS 10.11 and up /usr/include is "restricted", and opencblas puts things in a weird place (/opt/local/include/cblas.h).
On my linux 4.5.3-x86_64 I have /usr/include/cblas.h, and instead get the message in the title when I "import deltasigma"
Any help appreciated; your python version of deltasigma is much more useful than the Matlab one.
The text was updated successfully, but these errors were encountered: