Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406761

Summary: media-video/rtmpdump builds with system librtmp if it exists
Product: Gentoo Linux Reporter: Itay Perl <itay.perl>
Component: Current packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-March/001881.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch

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 :)