[Bug 1598755] Re: can not link liblz4.a to shared objects

thowie 1598755 at bugs.launchpad.net
Thu Jul 21 14:20:52 UTC 2016


Since this seems to be the case with all static libraries, this is
probably a design decision, static library with -fPIC needs to be
compiled by myself i guess.

** Changed in: lz4 (Ubuntu)
       Status: New => Invalid

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

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