libLAPACK version problem
Matti Lyra
matti.lyra at gmail.com
Wed Jul 28 06:14:02 PDT 2010
I've been trying to get a PyQt python application that uses a PyQwt plot working. All is fine when I launch the scripts from the command line but after making an app bundle with PyInstaller the application crashes on launch with an error saying that libLAPACK has an incompatible version.
ImportError: dlopen(/Users/mattilyra/Library/PyInstaller/PyQtMatplotlib/MacPyQtMatplotlib.app/Contents/MacOS/PyQt4.QtCore.so, 2): Library not loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
Reason: Incompatible library version: vecLib requires version 1.0.0 or later, but libLAPACK.dylib provides version 0.0.0
running the following
otool -L /opt/local/lib/liblapack.dylib
/opt/local/lib/liblapack.dylib:
/opt/local/lib/liblapack.dylib (compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (compatibility version 1.0.0, current version 219.0.0)
/opt/local/lib/libatlas.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/gcc44/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
/opt/local/lib/gcc44/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
The system provided libLAPACK
otool -L /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib (compatibility version 1.0.0, current version 219.0.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib (compatibility version 1.0.0, current version 219.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
liblapack is provided by atlas 3.8.3_4
port provides /opt/local/lib/liblapack.dylib
/opt/local/lib/liblapack.dylib is provided by: atlas
port installed | grep atlas
atlas @3.8.3_4+gcc44 (active)
Why are the liblapack versions 0.0.0 (did I somehow compile them wrong) and how do I fix this?
Thanks
---------------------------------
Matti Lyra
matti.lyra at gmail.com
More information about the macports-users
mailing list