[FFmpeg-user] configure error with enabling libmodplug

Clément Bœsch u at pkh.me
Mon Sep 1 07:11:15 CEST 2014


On Mon, Sep 01, 2014 at 10:02:58AM +0900, Kimio Miyamura wrote:
> Hi, 
> 
> I'm trying to build ffmpeg with libmodplug codec.  
> When I run "./configure --enable-libmodplug", it always ends with error libmodplug not found.
> 
> $ ./configure --enable-libmodplug
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> ERROR: libmodplug not found
> 
> I searched web and found that modification of ffmpeg configure script is required: 
> https://trac.macports.org/ticket/36942 <https://trac.macports.org/ticket/36942>
> 
> -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 have tested with Mac OS X.  Both of them (adding -lstdc++ or -lc++ to enabled libmodplug line) result in good.  I can build ffmpeg fine.  
> 
> 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?

[...]

-- 
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/20140901/5de55307/attachment.asc>


More information about the ffmpeg-user mailing list