← Back to team overview

desktop-packages team mailing list archive

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

 

The attachment "include libsuitesparseconfig_pic.a in libsuitesparse-
dev" seems to be a patch.  If it isn't, please remove the "patch" flag
from the attachment, remove the "patch" tag, and if you are a member of
the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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:
  Confirmed

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