Subject: Re: ffmpeg build error on linux
To: Borghart Steffen <borghart@gmx.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/19/2006 05:07:11
On Wed, 19 Apr 2006, Borghart Steffen wrote:

> building ffmpeg on linux fails with the following output:
...
> ffserver.o(.text+0x4e80): In function `load_module':
> : undefined reference to `dlopen'

I had same problems, and I see that my multimedia/ffmpeg/Makefile used to 
have:

.include "../../mk/dlopen.buildlink3.mk"
DL_LDFLAGS+=   ${BUILDLINK_LDADD.dl}
include "../../mk/bsd.pkg.mk"

Can you try adding those two lines to the end of your Makefile (and do a 
"make clean" and try again)?


 Jeremy C. Reed

echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'