[Ffmpeg-devel] build fails: dlopen undefined in libavcodec
sean
seandarcy2
Wed Jul 27 11:11:59 CEST 2005
Building today's cvs on amd64, gcc-4.0.1, Fedora 4:
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o
cmdutils.o -L./libavformat -lavformat -L./libavcodec
-lavcodec -lm -lz -lpthread -lvorbisenc -lvorbis -logg
-lfaac -lxvidcore
./libavcodec/libavcodec.so: undefined reference to `dlerror'
./libavcodec/libavcodec.so: undefined reference to `dlclose'
./libavcodec/libavcodec.so: undefined reference to `dlopen'
./libavcodec/libavcodec.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
From config.h:
#define CONFIG_HAVE_DLOPEN 1
#define CONFIG_HAVE_DLFCN 1
If --extra-ldflags='-ldl', it builds. I nosed around
configure, but can't figure out what goes wrong.
sean
More information about the ffmpeg-devel
mailing list