I tried to build svn-1586 on Ubuntu Dapper (6.06), with enabled ffmpeg support.
Apart from adding ‘–with-ffmpeg-includes=/usr/include/ffmpeg’ to the commandline for the configure script (beats me why that would be neccesary) I get the following error:
os-unix.o: In function `os_loadlib':/home/rick/build/mt-daapd-svn-1586/src/os-unix.c:463: undefined reference to `dlopen'
:/home/rick/build/mt-daapd-svn-1586/src/os-unix.c:464: undefined reference to `dlerror'
os-unix.o: In function `os_libfunc':/home/rick/build/mt-daapd-svn-1586/src/os-unix.c:472: undefined reference to `dlsym'
:/home/rick/build/mt-daapd-svn-1586/src/os-unix.c:473: undefined reference to `dlerror'
os-unix.o: In function `os_unload':/home/rick/build/mt-daapd-svn-1586/src/os-unix.c:479: undefined reference to `dlclose'
collect2: ld returned 1 exit status
Doing the exact same build for svn-1571 I do not get this error. The build completes fine.
Can someone point me to the right direction to fix this error?
That’s strange, as there were no configure changes between 1571 and 1586. As a workaround, try:
LD_FLAGS=”-ldl” ./configure –blah blah blah
when you do your configure invocation and see if that works.