[Ffmpeg-devel] Problem linking in dts with shared version - should link dts_pic instead of dts.
Aaron Williams
aaronw
Sun Oct 29 22:19:00 CET 2006
Ismail Donmez wrote:
> 29 Eki 2006 Paz 23:10 tarihinde, Aaron Williams ?unlar? yazm??t?:
>> Problem linking with --enable-shared
>>
>> When compiling the shared version of ffmpeg I get an error when it tries
>> to link libavcodec.so. It's trying to link in dts (-ldts) when it
>> should link in dts_pic in this case (-ldts_pic).
>
> That looks amd64 and distro spesific :
>
> [~]> ls -1 /usr/lib/libdts.*
> /usr/lib/libdts.la
> /usr/lib/libdts.so
> /usr/lib/libdts.so.0
> /usr/lib/libdts.so.0.0.0
>
> I guess its linking to libdts.a instead of libdts_pic.a ?
>
> /ismail
Yes. It should link to libdts_pic.a. Also, from what I understand,
there's no longer a performance penalty in X86_64 for PIC code. When
compiling libdts (latest SVN) it only generates libdts.a and libdts_pic.a.
-Aaron
More information about the ffmpeg-devel
mailing list