You are not logged in.

#1 2013-12-31 05:08:01

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

[Solved] librtmp.so.0 Missing After Upgrading rtmpdump

Just -Syu'ed now and got some packages:

aria2
rtmpdump
ffmpeg
wildmidi
gst-plugins-bad
libqmi
lz4
mkinitcpio
modemmanager
mplayer-vaapi
parallel
python2-setuptools
rasqal

Then pacman fails with:

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

Can't even -U to downgrade or something. Help!

Last edited by Vrantheo (2013-12-31 06:28:18)

Offline

#2 2013-12-31 05:21:15

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

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

Is pacman doing anything before you get that error? Try running pacman with the --debug switch.

Last edited by Scimmia (2013-12-31 05:31:23)

Offline

#3 2013-12-31 05:37:22

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

librtmp.so.0 is from the rtmpdump package. Try just removing and reinstalling that package. Maybe something like: sudo pacman -Rndd rtmpdump && sudo pacman -S rtmpdump

Strange though I did not have any problems with that package when I updated. Then try to update. Or you can try to remove that package, update your system, and then reinstall it.

Edit: No wait  librtmp.so.0 is not on my system.

Edit2: Maybe this is related to your issue:

https://bugs.archlinux.org/task/30781

Last edited by dodo3773 (2013-12-31 05:52:04)

Offline

#4 2013-12-31 05:47:30

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

I can't pacman -R at all as well. I probably need a solution that only requires messing with files manually.

Offline

#5 2013-12-31 05:53:57

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

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

...and we can give you that once we figure out what is trying to load that library. Everything in the official repos has been rebuilt against the new lib, and pacman/libalpm isn't linked to it at all, so pacman must be trying to load something that you've built from the AUR or locally.

Like I said, use --debug and see where it fails.

Last edited by Scimmia (2013-12-31 05:55:48)

Offline

#6 2013-12-31 05:55:10

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

Vrantheo wrote:

I can't pacman -R at all as well. I probably need a solution that only requires messing with files manually.

I edited my post. To point to bug. But the bug was user error I believe. Anyways I think what they mean when they say "added --without-librtmp to curl's configure and works pacman again" I think they may mean in /usr/bin/curl-config section --configure but I am unsure. Either that or from the Xfer part of pacman.conf

Offline

#7 2013-12-31 05:57:06

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

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

dodo3773 wrote:
Vrantheo wrote:

I can't pacman -R at all as well. I probably need a solution that only requires messing with files manually.

I edited my post. To point to bug. But the bug was user error I believe. Anyways I think what they mean when they say "added --without-librtmp to curl's configure and works pacman again" I think they may mean in /usr/bin/curl-config section --configure but I am unsure. Either that or from the Xfer part of pacman.conf

No, it's talking about a switch for curl's configure script that's run prior to building. The user had rebuilt curl locally adding rtmp support.

Offline

#8 2013-12-31 06:16:31

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

Scimmia wrote:

No, it's talking about a switch for curl's configure script that's run prior to building. The user had rebuilt curl locally adding rtmp support.

Oh I see. That option would not work in this case then I guess? Thought it might be relevant since it was the same error message.

Offline

#9 2013-12-31 06:20:16

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

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

It would only work if Vrantheo had done the same thing, rebuilt curl locally with rtmp support. In that case, he needs to rebuild it.

Really, it is relevant because it's probably the same problem, just with a different package. Something he built locally is being called by pacman and he failed to rebuilt when there was an soname bump.

Worst case scenero, you can pull the lib files themselves out of your pacman cache, put them in /usr/lib and call ldconfig. That should atleast get pacman running again to help look for the problem package.

Offline

#10 2013-12-31 06:27:36

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

Re: [Solved] librtmp.so.0 Missing After Upgrading rtmpdump

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.

Last edited by Vrantheo (2013-12-31 06:29:19)

Offline

Board footer

Powered by FluxBB