proper way to link mplayer to shared ffmpeg , was Re: Bug#520113

A Mennucc debdev at tonelli.sns.it
Fri Mar 27 09:55:11 UTC 2009


On Thu, Mar 26, 2009 at 11:20:33AM +0100, Diego Biurrun wrote:
> On Thu, Mar 26, 2009 at 07:36:24AM +0100, Reinhard Tartler wrote:
> > 
> > > maybe --enable-debug in combination with our debian patch that replaces
> > > libavfoo/libavfoo.a with /usr/lib/libfoo.so?
> 
> May I suggest dropping this monstrously ugly patch and instead replacing
> it by the use of the proper configure flags to disable static FFmpeg
> libraries?

hi Diego,

as you remember, some time ago (shortly before the release of etch :->
what perfect timing!) I was forced to  link mplayer to a shared
ffmpeg library; when that happened I immedetly tried all available
 ./configure  --enable-lib...
kind of flags, but the final linking always failed
(as you can see, some of those flags are still there in 
debian/rules) ; the patch 30link-system-ffmpeg.patch
was the only working solution I found.

Today I give it a try again (indeed, the Makefile was completely
changed after 1.0rc2); but it does not work; see attached diff and buildlog

don't ask me why ...I have had no time ever to investigate.

Any suggestion? maybe there is a bug somewhere in ./configure,
 not passing some needed parameters to the final linking?

a.

ps: BTW at the time of 1.0rc2, AFAICR there was no flag
  --disable-libswscale_so , so that was another reason
 why I needed a direct patch into the Makefile

ps2: Reinhard is better at those problems (he indeed
 prepared a package that did link and compile in short time)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_so_configure.diff
Type: text/x-diff
Size: 1276 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090327/11a1e9f7/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_so_configure.bz2
Type: application/octet-stream
Size: 43339 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090327/11a1e9f7/attachment-0001.obj 


More information about the pkg-multimedia-maintainers mailing list