You are not logged in.

#1 2014-01-11 03:13:13

simonthemime
Member
Registered: 2014-01-06
Posts: 8

librtmp.so.0 missing

Hey family,

Trying to run hackety hack, but it fails at:

/tmp/selfgz118103557/hacketyhack-bin: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory

Vrantheo in this thread solved the issue by doing the following:

Vrantheo wrote:

I fetched the latest PKGBUILD of curl 7.34.0-2 from Testing and did the makepkg with -d (PKGBUILD unmodified). Then I made a librtmp.so.0 softlink to librtmp.so and pacman seems to be fine with that. Installed the new curl and reinstalled pyalpm (just to make sure) successfully and then removed the softlink. Works fine now.

Maybe I just forgot doing a local build of curl sometime. Thanks everyone.

I've got curl 7.34.0-2 installed (via pacman), should I make the softlink to fix this issue, and how (not sure where the files are in root)?

Thanks in advance and sorry for my ignorance! Its been a while hmm

Last edited by simonthemime (2014-01-11 03:22:16)

Offline

#2 2014-01-11 04:47:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: librtmp.so.0 missing

$ ls -l /usr/lib/librtmp.so
lrwxrwxrwx 1 root root 12 Dec 28 22:44 /usr/lib/librtmp.so -> librtmp.so.1

Try linking it to /usr/lib/librtmp.so.0. This may break other applications.

Offline

#3 2014-01-11 04:53:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,587

Re: librtmp.so.0 missing

Is this a closed source app? If so, you need to build the old version of rtmpdump and install it in a way that doesn't interfere with the current package. If it's open source, just rebuild it.

Symlinking is not the answer.

Offline

#4 2014-01-11 07:00:55

simonthemime
Member
Registered: 2014-01-06
Posts: 8

Re: librtmp.so.0 missing

karol wrote:
$ ls -l /usr/lib/librtmp.so
lrwxrwxrwx 1 root root 12 Dec 28 22:44 /usr/lib/librtmp.so -> librtmp.so.1

Try linking it to /usr/lib/librtmp.so.0. This may break other applications.

Hmm, so I tried:

 $ sudo ln -s /usr/lib/librtmp.so /usr/lib/librtmp.so.0

and still getting librtmp.so.0 missing.

Offline

#5 2014-01-11 07:30:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,587

Re: librtmp.so.0 missing

Do...Not...Symlink!

Karol, what were you thinking in suggesting that? The soname changes for a reason, because the ABI has changed and is incompatible with the older lib.

Offline

#6 2014-01-11 07:41:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: librtmp.so.0 missing

I think it's a trivial way of checking if stuff works. Two weeks ago a user claimed it did, so let's do a quick check.
Symlinking is like the answer you got from the key from the end of a textbook.

Offline

#7 2014-01-11 07:49:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,587

Re: librtmp.so.0 missing

The symlink in that case was a temporary solution so that he could use pacman again to fix the problem.

Unless you know exactly what was changed and exactly what the binary that links to them uses, symlinking is a bad idea.

Offline

Board footer

Powered by FluxBB