Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librtmp.so.1 #1501

Closed
HarolddeBruijn opened this issue Dec 8, 2017 · 11 comments
Closed

librtmp.so.1 #1501

HarolddeBruijn opened this issue Dec 8, 2017 · 11 comments
Labels
bug 🐛 Bugs with Chromebrew itself x86_64 Issues having to do with Chromebrew on 64 bit x86 computers

Comments

@HarolddeBruijn
Copy link

HarolddeBruijn commented Dec 8, 2017

after update this morning several issues with librtmp.so.1 not found

ldd /usr/local/bin/curl
linux-vdso.so.1 (0x00007fffefac6000)
libcurl.so.4 => /usr/local/lib64/libcurl.so.4 (0x00007cda5e5db000)
libssl.so.1.0.0 => /usr/local/lib64/libssl.so.1.0.0 (0x00007cda5e369000)
libcrypto.so.1.0.0 => /usr/local/lib64/libcrypto.so.1.0.0 (0x00007cda5df13000)
libz.so.1 => /usr/local/lib64/libz.so.1 (0x00007cda5dcf8000)
libpthread.so.0 => /usr/local/lib64/libpthread.so.0 (0x00007cda5dadb000)
libc.so.6 => /usr/local/lib64/libc.so.6 (0x00007cda5d730000)
librtmp.so.1 => not found
libssh2.so.1 => /usr/local/lib64/libssh2.so.1 (0x00007cda5d504000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007cda5d300000)
/lib64/ld-linux-x86-64.so.2 (0x00007cda5e852000)

@uberhacker
Copy link
Collaborator

Hi @HarolddeBruijn: Can you please show us the command you executed to produce this error? Also, it would be helpful if you could indicate which Chromebook hardware you have as well as the Chrome OS version.

@map7
Copy link

map7 commented Dec 11, 2017

I'm getting a similar issue but I'm missing the libssh2.so.1 file

chronos@localhost /usr/local/lib64 $ ldd /usr/local/bin/curl
        linux-vdso.so.1 (0x00007ffe8208d000)
        libcurl.so.4 => /usr/local/lib64/libcurl.so.4 (0x00007f32bc787000)
        libssl.so.1.0.0 => /usr/local/lib64/libssl.so.1.0.0 (0x00007f32bc515000)
        libcrypto.so.1.0.0 => /usr/local/lib64/libcrypto.so.1.0.0 (0x00007f32bc0bf000)
        libz.so.1 => /usr/local/lib64/libz.so.1 (0x00007f32bbea4000)
        libc.so.6 => /usr/local/lib64/libc.so.6 (0x00007f32bbaf9000)
        libssh2.so.1 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f32bb8f5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f32bc9f6000) 

@uberhacker
Copy link
Collaborator

@map7: It appears you don't have the libssh2 package installed which is a dependency of curl. What is the output of crew search libssh2? If you don't see (i), then try crew install libssh2.

@uberhacker uberhacker added bug 🐛 Bugs with Chromebrew itself x86_64 Issues having to do with Chromebrew on 64 bit x86 computers labels Dec 14, 2017
@map7
Copy link

map7 commented Dec 16, 2017

@uberhacker When I do crew search libssh2 I see that it is already installed. I tried removing it and installing again only to get this error;

libssh2: libssh2 is a client-side C library implementing the SSH2 protocol.
https://www.libssh2.org/
version 1.8.0
Precompiled binary available, downloading...
curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/crew:331:in `read': No such file or directory @ rb_sysopen - ./libssh2-1.8.0-chromeos-x86_64.tar.xz (Errno::ENOENT)
        from /usr/local/bin/crew:331:in `block in download'
        from /usr/local/bin/crew:328:in `chdir'
        from /usr/local/bin/crew:328:in `download'
        from /usr/local/bin/crew:544:in `install'
        from /usr/local/bin/crew:453:in `resolve_dependencies_and_install'
        from /usr/local/bin/crew:736:in `block in install_command'
        from /usr/local/bin/crew:732:in `each'
        from /usr/local/bin/crew:732:in `install_command'
        from /usr/local/bin/crew:782:in `<main>'

@HarolddeBruijn
Copy link
Author

I was able to resolve the issue by copying the file from elsewhere, Asus chromebook flip.
Regards,

@uberhacker
Copy link
Collaborator

uberhacker commented Dec 16, 2017

@map7: Does this fix it?

$ crew update
$ crew upgrade libssh2

@map7
Copy link

map7 commented Dec 19, 2017

No it doesn't

chronos@localhost / $ crew update
git-remote-https: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
HEAD is now at c046812 Merge pull request #1282 from cstrouse/add-wget
Package lists, crew, and library updated.
Checking for package updates...

automake could be updated from 1.15 to 1.15.1
ruby_latest could be updated from 2.4.0 to 2.4.2
Package python not found. :(
chronos@localhost / $ crew upgrade libssh2
libssh2: libssh2 is a client-side C library implementing the SSH2 protocol.
https://www.libssh2.org/
version 1.8.0
Updating libssh2...
Precompiled binary available, downloading...
curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/crew:331:in `read': No such file or directory @ rb_sysopen - ./libssh2-1.8.0-chromeos-x86_64.tar.xz (Errno::ENOENT)
        from /usr/local/bin/crew:331:in `block in download'
        from /usr/local/bin/crew:328:in `chdir'
        from /usr/local/bin/crew:328:in `download'
        from /usr/local/bin/crew:544:in `install'
        from /usr/local/bin/crew:453:in `resolve_dependencies_and_install'
        from /usr/local/bin/crew:261:in `upgrade'
        from /usr/local/bin/crew:763:in `block in upgrade_command'
        from /usr/local/bin/crew:759:in `each'
        from /usr/local/bin/crew:759:in `upgrade_command'
        from /usr/local/bin/crew:782:in `<main>'

So I tried installing python

chronos@localhost / $ crew install python3
python3: Python is a programming language that lets you work quickly and integrate systems more effectively.
https://www.python.org/
version 3.6.0
Precompiled binary available, downloading...
curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/crew:331:in `read': No such file or directory @ rb_sysopen - ./python3-3.6.0-chromeos-x86_64.tar.xz (Errno::ENOENT)
        from /usr/local/bin/crew:331:in `block in download'
        from /usr/local/bin/crew:328:in `chdir'
        from /usr/local/bin/crew:328:in `download'
        from /usr/local/bin/crew:544:in `install'
        from /usr/local/bin/crew:453:in `resolve_dependencies_and_install'
        from /usr/local/bin/crew:736:in `block in install_command'
        from /usr/local/bin/crew:732:in `each'
        from /usr/local/bin/crew:732:in `install_command'
        from /usr/local/bin/crew:782:in `<main>'
chronos@localhost / $ crew install python27
python27: Python is a programming language that lets you work quickly and integrate systems more effectively.
https://www.python.org/
version 2.7.13-2
Precompiled binary available, downloading...
curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
/usr/local/bin/crew:331:in `read': No such file or directory @ rb_sysopen - ./python27-2.7.13-2-chromeos-x86_64.tar.xz (Errno::ENOENT)
        from /usr/local/bin/crew:331:in `block in download'
        from /usr/local/bin/crew:328:in `chdir'
        from /usr/local/bin/crew:328:in `download'
        from /usr/local/bin/crew:544:in `install'
        from /usr/local/bin/crew:453:in `resolve_dependencies_and_install'
        from /usr/local/bin/crew:736:in `block in install_command'
        from /usr/local/bin/crew:732:in `each'
        from /usr/local/bin/crew:732:in `install_command'
        from /usr/local/bin/crew:782:in `<main>'

@uberhacker
Copy link
Collaborator

Try this:

$ crew remove curl
$ crew install python3
$ crew install python27

PR #1505 should fix curl.

@map7
Copy link

map7 commented Dec 19, 2017

@uberhacker This fixed the problem, thank you.

@wardweistra
Copy link

wardweistra commented Dec 19, 2017

Hi, I still seem to run into the librtmp.so.1 issue when I install curl with chromebrew.

I seem to already have a curl, likely from the dev_install command:

chronos@localhost ~/Downloads/tools/R-3.4.3 $ curl --version
curl 7.55.1 (x86_64-cros-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2k zlib/1.2.11
Release-Date: 2017-08-14
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: Largefile NTLM SSL libz TLS-SRP UnixSockets HTTPS-proxy 

chronos@localhost ~/Downloads/tools/R-3.4.3 $ which curl
/usr/bin/curl

Installing curl with crew next gives me the error:

chronos@localhost ~/Downloads/tools/R-3.4.3 $ crew install curl
curl: Command line tool and library for transferring data with URLs.
https://curl.haxx.se/
version 7.57.0
Precompiled binary available, downloading...
Archive downloaded
Unpacking archive, this may take awhile...
Installing...
Performing post-install...
Curl installed!

chronos@localhost ~/Downloads/tools/R-3.4.3 $ which curl
/usr/local/bin/curl

chronos@localhost ~/Downloads/tools/R-3.4.3 $ curl --version
curl: error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory

chronos@localhost ~/Downloads/tools/R-3.4.3 $ ldd /usr/local/bin/curl
        linux-vdso.so.1 (0x00007fff51a79000)
        libcurl.so.4 => /usr/local/lib64/libcurl.so.4 (0x00007c6162ecb000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007c61632f5000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007c6162cbe000)
        libz.so.1 => /usr/local/lib64/libz.so.1 (0x00007c6162aa3000)
        libpthread.so.0 => /usr/local/lib64/libpthread.so.0 (0x00007c6162886000)
        libc.so.6 => /usr/local/lib64/libc.so.6 (0x00007c61624db000)
        librtmp.so.1 => not found
        libssh2.so.1 => /usr/local/lib64/libssh2.so.1 (0x00007c61622af000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007c61620ab000)
        /lib64/ld-linux-x86-64.so.2 (0x00007c6163142000)

Was trying to install curl with crew too, because another package (R) didn't recognize the right version of libcurl being installed already:

configure: error: libcurl >= 7.22.0 library and headers are required with support for https

Device is a Pixelbook. I've ran crew update and upgrade.
Thanks in advance for the help!

@uberhacker
Copy link
Collaborator

@wardweistra: The issue is with the crew version of curl due to a missing run-time dependency. If you install the rtmpdump package, you should be able to resolve the following:

librtmp.so.1 => not found

Again, PR #1505 should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Bugs with Chromebrew itself x86_64 Issues having to do with Chromebrew on 64 bit x86 computers
Projects
None yet
Development

No branches or pull requests

4 participants