SuiteSparse fails to link in shared library due to missing -fPIC in libsuitesparseconfig.a
Bug #1319687 reported by
Arne Morten Kvarving
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
suitesparse (Debian) |
Fix Released
|
Unknown
|
|||
suitesparse (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
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
description: | updated |
Changed in suitesparse (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.