[FFmpeg-user] compiling with libx265

tim nicholson nichot20 at yahoo.com
Tue Dec 2 10:02:26 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/12/14 19:02, Clément Bœsch wrote:
> On Mon, Dec 01, 2014 at 08:01:13PM +0100, Clément Bœsch wrote:
>> On Mon, Dec 01, 2014 at 04:46:36PM +0000, tim nicholson wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 01/12/14 16:09, Nicolas George wrote:
>>>> Le primidi 11 frimaire, an CCXXIII, tim nicholson a écrit :
>>>>> Whilst acknowledging that this patch works (thanks), I am trying to
>>>>> understand why package config is failing in this case,
>>>>
>>>> I just tested on a fresh clone of x265 and current Debian Testing, and it
>>>> works.
>>>>
>>>> If it still does not work for you, I suggest you post the exact linking
>>>> commands, the one that fails and the one that succeeds with the workaround.
>>>>
>>>
>>> well originally its not so much the linking that fails, as failing to
>>> include libstdc++ so configure tests failing to compile, as per my
>>> original snippet.
>>>
>>> gcc -L/usr/local/lib64 -static -ldl -Wl,--as-needed -Wl,-z,noexecstack
>>
>> So you have -static here...
>>
>>> - -I/usr/local/include -L/usr/local/lib64 -o /tmp/ffconf.QTquSvyv
>>> /tmp/ffconf.1n1Ue3xn.o -lx265 -L/usr/local/lib64 -lx264 -lpthread -lm
>>> - -L/usr/local/lib64 -lfreetype -lfdk-aac
>>> - -lfaac -lm -lz -pthread
>>> /usr/local/lib64/libx265.a(bitcost.cpp.o): In function
>>
>> ...and it's indeed picking the .a
>>
>> So: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/178167
>>
> 
> Sorry, http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/178200
> 

Indeed, since ffmpeg tends not to use pkgconfig, and for those libs that
I need that do I had built static only with matching pc files, the
missing flag had not bitten me before.

Thanks to all for your input and helping me understand build options better.

- -- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUfYAiAAoJEAwL/ESLC/yDpUgH/3+9YHFG641zdQdkBeomb98o
1D1GsU18O/vn07JPV2CHIVdYSvIMOyLB8L9fMe7h5atireE5FPGVtThJgFBkcNlC
WQZMhYOQBcllopixZ6vVXqcrHqTCOBR0PrjcjfVji4xREFuTiuvHjbvv6+3wJraC
QNWvvwoxTWyESZkUcyrhhJJR2zpWUFYC/K5cjkZqQjjip4LENowlfUavxoz5Tara
KBOVnhCbjtgDh1Rf9701pwArT5OewI24PDVXyyKYXSuq6znKkVKQdmdcjpvZAzkq
W4uLIb0d/PtoS6T+rhCrFhugDW8U82i7deU1GSwumIPNJK82A5e7zHFFb4vpY1s=
=4tad
-----END PGP SIGNATURE-----


More information about the ffmpeg-user mailing list