opensmalltalk-vm icon indicating copy to clipboard operation
opensmalltalk-vm copied to clipboard

libgit build fails because of libssl and libcrypto

Open melkyades opened this issue 8 years ago • 4 comments

on /build.linux32x86/pharo.cog.spur/build I run ./mvm and get

make[3]: *** No rule to make target '/usr/lib/i386-linux-gnu/libssl.so', needed by 'libgit2.so.0.25.1'. Stop.

I worked around it by running sudo ln -s /lib/i386-linux-gnu/libssl.so.1.0.0 /usr/lib/i386-linux-gnu/libssl.so but shouldn't be necessary as libssl is downloaded and built by the script.

The same happens with libcrypto

melkyades avatar Feb 02 '18 16:02 melkyades

Which Linux distro? Do you have have libssl-dev:i386 installed?

krono avatar Feb 02 '18 17:02 krono

Ubuntu 17.04 64 bits. After installing it the error goes away, but if it is needed, why does the build script download and compile third-party/openssl-1.0.2l ?

melkyades avatar Feb 02 '18 19:02 melkyades

Because libssl-dev:i386 is for SqueakSSL. third-party/openssl-1.0.2l is something pharo-specific I do not know about.

krono avatar Feb 02 '18 19:02 krono

For Pharo I have mods to look up the header files in the version of OpenSSL that is downloaded and built as part of building the VM, instead of looking for whatever OpenSSL header files that happened to be installed in the OS.

PierceNg avatar Dec 03 '19 23:12 PierceNg