Re: [Pharo-dev] Trying to build Mac VM - ld: library not found for -lssl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] Trying to build Mac VM - ld: library not found for -lssl

Nicolas Cellier
 
Hi,
This is a known problem on Sierra.
There are two possible workaround:
1) locate the Xcode lib repository and copy /usr/lib/libssl.* there
2) install older SDK - for example via XcodeLegacy - https://github.com/devernay/xcodelegacy
  The second worked for me, though I don't remember specifying usage of an older SDK anywhere

2017-08-14 15:38 GMT+02:00 Todd Blanchard <[hidden email]>:
Git cloned, cd to build.macosxxx/pharo.cog.spur

./mvm -A

Either 32 or 64 bit builds dies trying to build libSqueakSSL with library not found for -lssl.

Homebrew doesn't seem to have an entry for libssl.  Stumped.

-Todd Blanchard

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] Trying to build Mac VM - ld: library not found for -lssl

Nicolas Cellier
 
Reminder: i should update the readme to explain solution 2 as commented at
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/fb61b60bda7065a52d70eaf1bd0478a98d0180f7

But I need to understand first why/how the older SDK is used (no time yet...)
Of course, volunteers and good will are welcome :)

2017-08-14 16:06 GMT+02:00 Nicolas Cellier <[hidden email]>:
Hi,
This is a known problem on Sierra.
There are two possible workaround:
1) locate the Xcode lib repository and copy /usr/lib/libssl.* there
2) install older SDK - for example via XcodeLegacy - https://github.com/devernay/xcodelegacy
  The second worked for me, though I don't remember specifying usage of an older SDK anywhere

2017-08-14 15:38 GMT+02:00 Todd Blanchard <[hidden email]>:
Git cloned, cd to build.macosxxx/pharo.cog.spur

./mvm -A

Either 32 or 64 bit builds dies trying to build libSqueakSSL with library not found for -lssl.

Homebrew doesn't seem to have an entry for libssl.  Stumped.

-Todd Blanchard