Opened 18 years ago
Closed 17 years ago
#2195 closed defect (fixed)
libdts compile problem on amd64
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | mythtv-dev@… | Ticket locked: | no |
Description
When compiling mythtv with libdts on amd64 compilation fails with the following errors: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Fix: 1) Delete /usr/lib/libdts.a 2) Rename /usr/lib/libdts-pic.a to /usr/lib/libdts.a
Note: This is on ubuntu but I think applies to other distros as well. Could this be made into a compile-time check so myth automatically compiles with libdts-pic.a instead?
Change History (3)
Note: See
TracTickets for help on using
tickets.
More simple fix: change
libs/libavcodec/libavcodec.pro
fromto
It done in package creation scripts on Debian. Just use packages.