** Description changed: The config library is only available as a .a which is not compiled with -fPIC. Thus, linking into shared libraries fails on AMD64. Attaching a minimal program to trigger the bug. - gcc -shared -o test.so suitetest.cpp -lumfpack -lsuitesparseconfig + gcc -shared -fPIC -o test.so suitetest.cpp -lumfpack -lsuitesparseconfig
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to suitesparse in Ubuntu. https://bugs.launchpad.net/bugs/1319687 Title: SuiteSparse fails to link in shared library due to missing -fPIC in libsuitesparseconfig.a Status in “suitesparse” package in Ubuntu: New Bug description: The config library is only available as a .a which is not compiled with -fPIC. Thus, linking into shared libraries fails on AMD64. Attaching a minimal program to trigger the bug. gcc -shared -fPIC -o test.so suitetest.cpp -lumfpack -lsuitesparseconfig To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/suitesparse/+bug/1319687/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp