Public bug reported: libsuitesparse-dev and related packages should be compiled with -fPIC option. Using libraries installed with package manager, produces following issue when compiling:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux- gnu/libsuitesparseconfig.a(SuiteSparse_config.o): relocation R_X86_64_PC32 against undefined symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC The same issue was filed for Debian (https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=684116) two years ago but wasn't triaged. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libsuitesparse-dev 1:4.2.1-3ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2 Uname: Linux 3.13.0-29-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jun 23 13:31:08 2014 InstallationDate: Installed on 2014-04-22 (62 days ago) InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2) SourcePackage: suitesparse UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: suitesparse (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1333214 Title: libsuitesparse-dev and related packages should be compiled with -fPIC option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/suitesparse/+bug/1333214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs