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

app links with /usr/lib/x86_64-linux-gnu/libssh.so.4 not /usr/local/lib/libssh.so.4.8.6 #73

Open
ggatis opened this issue May 10, 2021 · 1 comment

Comments

@ggatis
Copy link

ggatis commented May 10, 2021

Installed libssh.so.4.8.6 according instructions on Ubuntu resulting in /usr/local/lib/libssh.so.4.8.6.
After succesful make install "qjournalctl" gives:
./qjournalctl: /usr/lib/x86_64-linux-gnu/libssh.so.4: no version information available (required by ./qjournalctl)
./qjournalctl: relocation error: ./qjournalctl: symbol ssh_session_is_known_server version LIBSSH_4_5_0 not defined in file libssh.so.4 with link time reference
It turns out qjournalctl uses systems /usr/lib/x86_64-linux-gnu/libssh.so.4.5.0 not /usr/local/lib/libssh.so.4.8.6.

@pentix
Copy link
Owner

pentix commented May 16, 2021

Hi there! What version of Ubuntu are you using? (I assume the 18.04 LTS version?)

In general, the loader will search for runtime linked libraries in your $LD_LIBRARY_PATH variable consecutively, where /usr/lib/ is probably appearing before /usr/local/lib/

Unless you want to play around with the path or patchelf and cohorts, I suggest manually removing libssh-4 such that you don't crumble your system with multiple versions of the same library.

Sorry that's still a problem, as long as Ubuntu sticks to the 0.8.0 version of libssh (and it looks like that's going to be the case until 2023), manual installation and problems such as these are unavoidable 😬

I hope my suggestion works for you and fixes your problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants