LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2014, 05:22 PM   #1
Quo Vadis
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Rep: Reputation: Disabled
RTMPDump prepare


Hello,

I have openSUSE 12.3 (64-bit) and I downloaded RTMPDump 2.4 sources from https://rtmpdump.mplayerhq.hu

Then I did make SYS=posix (as I read in README file)

When I try ./rtmpsuck it says "error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory"

What's the problem? How can I make it work?

Thank you

Last edited by Quo Vadis; 07-26-2014 at 04:55 AM.
 
Old 07-27-2014, 04:52 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,791

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
You need to install librtmp.so.1 for starters. If itś already somewhere, the binary can not see it.

A better check is to run
Code:
ldd /path/to/executable  |grep found
That shows you everything that is missing.
 
Old 07-27-2014, 11:17 AM   #3
Quo Vadis
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
The command ldd rtmpsuck |grep found says librtmp.so.1 => not found

After download and make operations which I have mentioned, all stuff is placed in directory named rtmpdump, and the file librtmp.sol.1 is placed in a subdirectory named librtmp. I copied it one level up, so that rtmpsuck and librtmp.so.1 to be in the same directory, but the same error occurs:

./rtmpsuck: error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory


-rwxr-xr-x 1 root root 32840 Jul 26 11:40 rtmpsuck
-rwxr-xr-x 1 root root 136756 Jul 26 11:40 librtmp.so.1

Last edited by Quo Vadis; 07-27-2014 at 11:21 AM.
 
Old 07-27-2014, 01:14 PM   #4
Quo Vadis
LQ Newbie
 
Registered: Mar 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Problem solved ... The file librtmp.sol.1 must be placed (copied) in /lib or /lib64

Last edited by Quo Vadis; 07-27-2014 at 01:17 PM.
 
Old 07-27-2014, 01:18 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,791

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
I would run
Code:
 file /path/to/{rtmpsuck,librtmp.so.1}
to check for 32/64 bits unless you know that already, and then
Code:
ln -s /path/to/librtmp.so.1 /usr/lib(64)
Fix those with paths and the correct libdir. That should get you going. The kosher way to do it is to add the rtmp directory to /etc/ld.so.conf and run ldconfig.

32 bit binaries will not use 64 bit libs and vice versa.


EDIT: HA HA, I see you sorted it as I was typing.

Last edited by business_kid; 07-27-2014 at 01:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart rtmpdump in a script devmoc Linux - Software 5 06-22-2012 01:55 AM
Hi!How to prepare for RHCA please tell me anyone llmi187 Linux - Enterprise 6 06-01-2012 05:46 AM
Which one should prepare out of three of Rhcss Dnyanesh Linux - Certification 1 05-21-2011 08:15 AM
how to prepare for RHCE ashoklinux Linux - Server 3 02-04-2010 02:39 PM


All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration