google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

ffmpegthumbnailer-2.0.3 fails to link with --enable-gnome-vfs and LDFLAGS="-Wl,--as-needed" #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This...

1. export LDFLAGS="-Wl,--as-needed"
2. ./configure --enable-gnome-vfs
3. make

...will result in:

main.cpp:(.text+0x893): undefined reference to `dlopen'
main.cpp:(.text+0x8a6): undefined reference to `dlopen'
main.cpp:(.text+0x8c9): undefined reference to `dlsym'
main.cpp:(.text+0x8de): undefined reference to `dlsym'
main.cpp:(.text+0x943): undefined reference to `dlclose'
main.cpp:(.text+0x956): undefined reference to `dlclose'

Because LIBADD is missing for -ldl.

Attached patch solves the issue

Original issue reported on code.google.com by ssuomi...@unk.fi on 6 Aug 2010 at 1:55

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch, I imeediately released 2.0.4

Original comment by dirk.vdb on 6 Aug 2010 at 2:17

GoogleCodeExporter commented 9 years ago
Thanks for being so fast.

2.0.4 is now in Gentoo's Portage :-)

Original comment by ssuomi...@unk.fi on 6 Aug 2010 at 2:37