It's exclusively due curl-gnutls (libcurl linked against GNUtls instead of 
OpenSSL for license preference). A version of OpenSSL1.0.0 seems to be in the 
bundle.

This was tested against 
http://files.pharo.org/get-files/80/pharo64-linux-stable.zip

1.) Download that file
2.) unzip that file somehwere
3.) In the same directory execute the below script. It fetches gnutls-curl from 
Ubuntu and its dependencies.
4.) Please report if that worked for you or not.



#!/usr/bin/env bash
# Fetches Ubuntu Xenial dependencies and copy them into the Pharo directory

set -ex

add_dependencies() {
local package="$1"
local url="http://mirrors.kernel.org/ubuntu/pool/${package}";
wget -O tmp.deb ${url}
# TODO(zecke): This avoids using dpkg-deb but assumes a third genration
ar x tmp.deb data.tar.xz

# TODO(zecke): This assumes multi-arch packaging. It's true now.
tar -xv --strip-components=3 -C lib/pharo/5.0-201902062351 -f data.tar.xz 
./lib/x86_64-linux-gnu || \
tar -xv --strip-components=4 -C lib/pharo/5.0-201902062351 -f data.tar.xz 
./usr/lib/x86_64-linux-gnu

# clean-up
rm tmp.deb data.tar.xz
}


add_dependencies main/c/curl/libcurl3-gnutls_7.47.0-1ubuntu2.14_amd64.deb
add_dependencies 
main/r/rtmpdump/librtmp1_2.4+20151223.gitfa8646d-1ubuntu0.1_amd64.deb
add_dependencies main/libi/libidn/libidn11_1.32-3ubuntu1.2_amd64.deb
add_dependencies main/n/nettle/libnettle6_3.2-1ubuntu0.16.04.1_amd64.deb
add_dependencies main/n/nettle/libhogweed4_3.2-1ubuntu0.16.04.1_amd64.deb
add_dependencies main/n/nas/libaudio2_1.9.4-4_amd64.deb


> On 11. Jan 2020, at 18:24, Holger Freyther <hol...@freyther.de> 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.bliznice...@fit.cvut.cz> 
>> 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>
> 


Reply via email to