Public bug reported:

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

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

** Attachment added: "Simple test program to trigger problem."
   
https://bugs.launchpad.net/bugs/1319687/+attachment/4112897/+files/suitetest.cpp

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

Reply via email to