The $(LD_LIBS) is misplaced in Makefile.am resulting in:
main.o: In function `tryUriConvert(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)':
main.cpp:(.text+0x86e): undefined reference to `dlopen'
main.cpp:(.text+0x881): undefined reference to `dlopen'
main.cpp:(.text+0x894): undefined reference to `dlopen'
main.cpp:(.text+0x8ca): undefined reference to `dlsym'
main.cpp:(.text+0x8df): undefined reference to `dlsym'
main.cpp:(.text+0x8f4): undefined reference to `dlsym'
main.cpp:(.text+0x909): undefined reference to `dlsym'
main.cpp:(.text+0x91e): undefined reference to `dlsym'
main.o:main.cpp:(.text+0x933): more undefined references to `dlsym' follow
main.o: In function `tryUriConvert(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)':
main.cpp:(.text+0xa02): undefined reference to `dlclose'
main.cpp:(.text+0xa15): undefined reference to `dlclose'
main.cpp:(.text+0xa28): undefined reference to `dlclose'
collect2: ld returned 1 exit status
The attached patch solves the issue, main.cpp where dlsym/dlclose/dlopen is
called is part of ffmpegthumbnailer, not libffmpegthumbnailer
Original issue reported on code.google.com by ssuomi...@unk.fi on 9 Jan 2011 at 1:55
Original issue reported on code.google.com by
ssuomi...@unk.fi
on 9 Jan 2011 at 1:55Attachments: