Thank you for answer. I remember having to create link to /usr/lib64/libcurl.so.4 2 years ago, with one of previous version of OpenSUSE Leap. Currently there is OpenSUSE Leap 15 and even my package I created 2 years ago for OpenSUSE with copy of libcurl library does not work anymore (same error). ldd libgit2.so gives me: linux-vdso.so.1 (0x00007ffe3e7e1000) libcurl-gnutls.so.4 => not found libz.so.1 => /lib64/libz.so.1 (0x00007f0abed73000) libssl.so.1.0.0 => not found libcrypto.so.1.0.0 => not found libssh2.so.1 => not found librt.so.1 => /lib64/librt.so.1 (0x00007f0abeb6b000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0abe94d000) libc.so.6 => /lib64/libc.so.6 (0x00007f0abe593000) /lib64/ld-linux-x86-64.so.2 (0x00007f0abf2cd000) So I tried copying all the libraries with "not found" from /usr/lib64 to pharo-vm/lib/pharo/5.0-201901051900 but it does not seem recognize them anyway - still the same result of ldd libssh2.so Note that I am not very experienced with solving such kinds of problems, so maybe I misunderstand what ldd is telling me. Also that even on Ubuntu I get "not found" for libssh2.so.1, but Pharo works there fine. Probably ldd is not looking for libraries in same directory, but runtime does? Jan Holger Freyther wrote
Hi,
I just ran into the very same problem and into further problems when building from source. I will try to see which help I can provide to come to a solution:
libgit2 requires libssh2 which requires OpenSSL 1.0.x which is not installed/installable.
Building fails as OpenSUSE puts amd64 libraries into a lib64 folder. Manually copying it around fixes the build.
I am using OpenSUSE tumbleweed right now (a rolling release Linux distribution).
holger
On 11. Jan 2020, at 17:47, Jan BlizniÄenko <
jan.bliznicenko@.cvut
> wrote:
Hello
I would like to use Pharo on OpenSUSE, which is only Linux distro on our university PCs, however, I am getting FFI to libgit2 related errors just about everywhere. By starting Launcher itself, by starting an image (Pharo 7 and 8) and fetching probably any repository (tried Roassal 2 on Pharo 6, 7, 8). I would really like to be able to use Pharo on university PCs, but I need you help with finding out what might be wrong and what to do about it. The main and only instruction for Linux is currently "Unzip the archive in a place where you have write privileges.", which obviously does not work for OpenSUSE. It works fine for Ubuntu and Debian.
Thank you
Jan
<fetching_roassal.png> <starting_launcher.png>
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html