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

Josh joshf87 at live.com
Wed Mar 21 21:57:14 CET 2012


On 3/21/2012 16:00, Reimar Döffinger wrote:
> 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.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
I set PKG_CONFIG_PATH (/mingw/i686-w64-mingw32/lib/pkgconfig) and it 
found it and the other libs thru librtmp.pc, but oddly the other 
toolchain PKG_CONFIG_PATH is completely blank/not set but it still finds 
librtmp.pc.


More information about the MPlayer-users mailing list