[MPlayer-users] Can't link static librtmp w/ mingw-w64 32-bit toolchain

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Mar 21 21:00:25 CET 2012


On Wed, Mar 21, 2012 at 03:36:15PM -0400, Josh wrote:
> On 3/21/2012 14:57, Reimar Döffinger wrote:
> >On Wed, Mar 21, 2012 at 01:25:41PM -0400, Josh wrote:
> >>Even if I force adding "-lpolarssl" in MPlayer's configure script  that
> >>doesn't work, but it should know from librtmp.pc already.
> >As you can see from the command-line it doesn't.
> >pkg-config files rarely contain correct information except for the
> >most obvious cases.
> >In addition to polarssl it at the very least misses winsock2 (-lws2_32).
> >_______________________________________________
> >MPlayer-users mailing list
> >MPlayer-users at mplayerhq.hu
> >https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> >
> 
> If I edit the configure script librtmp detection to: -lrtmp
> -lpolarssl -lws2_32 -lwinmm -lz  it works. The librtmp.pc has all
> this information that the mingw.org build uses with no issue, either
> the script is ignoring it or isn't where it should be.

I think you weren't quoting the configure log completely.
There should be two tests, one will only use -lrtmp and the
other the pkg-config stuff.
If the second one is missing, pkg-config isn't working right.


More information about the MPlayer-users mailing list