[FFmpeg-user] compiling with libx265
Clément Bœsch
u at pkh.me
Mon Dec 1 20:01:13 CET 2014
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
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141201/6750f394/attachment.asc>
More information about the ffmpeg-user
mailing list