[FFmpeg-user] configure error with enabling libmodplug
Kimio Miyamura
xanadu at apost.plala.or.jp
Mon Sep 1 09:15:06 CEST 2014
> 2014/09/01 4:05PM Clément Bœsch <u at pkh.me> wrote:
>
> On Mon, Sep 01, 2014 at 03:39:08PM +0900, Kimio Miyamura wrote:
>>
>>> On 2014/09/01, at 2:11PM, Clément Bœsch <u at pkh.me> wrote:
>>>
>>>> On Mon, Sep 01, 2014 at 10:02:58AM +0900, Kimio Miyamura wrote:
>>>>
>>>> I searched web and found that modification of ffmpeg configure script is required:
>>
>>>> -enabled libmodplug && require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug
>>>> +enabled libmodplug && require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug -lstdc++
>>>>
>>>> or
>>>>
>>>> -enabled libmodplug && require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug
>>>> +enabled libmodplug && require libmodplug libmodplug/modplug.h ModPlug_Load -lmodplug -lc++
>>
>>>> I think either of them should be added to ffmpeg compile script. How do you think?
>>
>>> Does -lstdc++ or -lc++ appears in pkg-config --libs libmodplug?
>>
>> $ pkg-config --libs libmodplug
>> -L/Volumes/ffmpeg_compile/lib -lmodplug
>>
>> So either -lstdc++ or -lc++ don't appear in the command output.
>>
>> I checked libmodplug.pc.
>>
>> $ cat /Volumes/ffmpeg_compile/lib/pkgconfig/libmodplug.pc
>> prefix=/Volumes/ffmpeg_compile
>> exec_prefix=${prefix}
>> libdir=${exec_prefix}/lib
>> includedir=${prefix}/include
>>
>> Name: libmodplug
>> Description: The ModPlug mod file playing library.
>> Version: 0.8.8.5
>> Requires:
>> Libs: -L${libdir} -lmodplug
>> Libs.private: -lstdc++ -lm
>> Cflags: -I${includedir}
>>
>> -lstdc++ appears in Libs.private: line. But even though configure with "./configure --pkg-config-flags=--static --enable-libmodplug", the result is same error.
>>
>
> Right, that's because libmodplug wasn't detected through pkg-config, which
> I just fixed in git/master. Can you git pull and retry that latest command
> with --pkg-config-flags=--static?
Trying to git cloning ffmpeg, I get the following error:
$ git clone git://source.ffmpeg.org/ffmpeg.git
Cloning into 'ffmpeg'...
fatal: read error: Connection reset by peer
// Miya
More information about the ffmpeg-user
mailing list