[Bug 1598755] [NEW] can not link liblz4.a to shared objects
thowie
1598755 at bugs.launchpad.net
Mon Jul 4 09:11:33 UTC 2016
Public bug reported:
On amd64, linking liblz4.a from package liblz4-dev_0.0~r131-2ubuntu2 to a shared object fails, because the archive does not contain relocatable code. Thus, it is not possible to build a library that uses statically linked liblz4.
Adding -fPIC to CPPFLAGS solves the problem.
** Affects: lz4 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lz4 in Ubuntu.
https://bugs.launchpad.net/bugs/1598755
Title:
can not link liblz4.a to shared objects
Status in lz4 package in Ubuntu:
New
Bug description:
On amd64, linking liblz4.a from package liblz4-dev_0.0~r131-2ubuntu2 to a shared object fails, because the archive does not contain relocatable code. Thus, it is not possible to build a library that uses statically linked liblz4.
Adding -fPIC to CPPFLAGS solves the problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lz4/+bug/1598755/+subscriptions
More information about the foundations-bugs
mailing list