[FFmpeg-user] --extra-ldflags not working

Reindl Harald h.reindl at thelounge.net
Sun Mar 27 20:46:21 CEST 2016



Am 27.03.2016 um 15:53 schrieb Aaron Boxer:
> On Sun, Mar 27, 2016 at 9:33 AM, Reindl Harald <h.reindl at thelounge.net>
> wrote:
>
>>
>>
>> Am 27.03.2016 um 15:23 schrieb Aaron Boxer:
>>
>>> Dear List,
>>> I am still troubleshooting linking to a local build of openjpeg.
>>>
>>> This is a static build of openjpeg, and the library  libopenjp2.a
>>> is placed in the /usr/local/lib folder.
>>>
>>> (I am on Ubuntu)
>>>
>>> My configure command is:
>>>
>>> . $ ./configure --enable-libopenjpeg
>>> --extra_cflags="-DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H"
>>> --extra-ldflags="-L/usr/local/lib"
>>>
>>> But this fails with a "libopenjpeg not found" error
>>>
>>
>> .a files are for static linking
>> .so files are for dynamic linking
>
>> --enable-static --extra-cflags='-I/usr/local/x264'
>> --extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl'
>>
> Thanks, but linking is not the problem. The problem is locating the .a file.
> I did try --enable static, but doesn't help

what about read the other parts of my reply?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160327/dae956a0/attachment.sig>


More information about the ffmpeg-user mailing list