[Bug 1319687] [NEW] SuiteSparse fails to link in shared library due to missing -fPIC in libsuitesparseconfig.a

Launchpad Bug Tracker 1319687 at bugs.launchpad.net
Wed Nov 4 13:10:41 UTC 2015


You have been subscribed to a public bug by Sebastien Bacher (seb128):

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

** Affects: suitesparse (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch
-- 
SuiteSparse fails to link in shared library due to missing -fPIC in libsuitesparseconfig.a
https://bugs.launchpad.net/bugs/1319687
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list