Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406761 - media-video/rtmpdump builds with system librtmp if it exists
Summary: media-video/rtmpdump builds with system librtmp if it exists
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://lists.mplayerhq.hu/pipermail/r...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 12:35 UTC by Itay Perl
Modified: 2012-03-10 01:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (librtmp-archive-path.patch,342 bytes, patch)
2012-03-03 12:36 UTC, Itay Perl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Itay Perl 2012-03-03 12:35:38 UTC
librtmp is a library distributed with rtmpdump (it doesn't have a separate ebuild). Due to an error in the main Makefile, the binaries will link against a system librtmp.a if it exists, instead of the one built by the makefile.

Reproducible: Always
Comment 1 Itay Perl 2012-03-03 12:36:30 UTC
Created attachment 304117 [details, diff]
proposed patch
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-03-05 21:10:30 UTC
Thanks for the patch. Have you reported it upstream?
Comment 3 Itay Perl 2012-03-09 18:32:52 UTC
You're right. Sent a report to the upstream mailing list.
Comment 4 Itay Perl 2012-03-09 21:59:49 UTC
Man, I made a fool of myself over at that mailing list.

Apparently librtmp is also built as a shared object which the executable got linked with. I also had an old librtmp.so in /usr/lib so rtmpdump crashed when I ran it. My patch made the executables link statically, which fixed my problem.

Anyway, the patch is unnecessary. Please close this bug report.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2012-03-10 01:56:28 UTC
No problem :)