Comments (10)
I have the same problem (Libssh2 1.8.0, OpenSSL 1.1.1, iOS SDK 12.0), but it works with the previous version of OpenSSL ./iSSH2.sh -o1.1.0i
from issh2.
same here...
from issh2.
I'm not sure how to fix it, it seems that Libssh2 1.8.0 is not compatible with OpenSSL 1.1.1 or I'm not finding any flags/settings to make it working.
If you don't need OpenSSL 1.1.1, I'd follow @noefroidevaux suggestion to compile with OpenSSL 1.1.0i.
from issh2.
It might be worth making a note of this in the readme or automatically choosing v1.1.0i
from issh2.
You can use OpenSSL 1.1.1 with libssh2 master branch. You can download it from snapshots: https://www.libssh2.org/snapshots
Just modify iSSH2-libssh2.sh so that it takes the url from snapshot and use one snapshot version:
./iSSH2.sh -l 1.8.1-20190227
from issh2.
./iSSH2.sh -o1.1.0i -l1.8.0
works for me
from issh2.
See Jan-E@6b2b61d for a fix. Read the comment below the commit as well.
from issh2.
FWIW: with the commit at Jan-E@6b2b61d updating to libssh2 1.8.2 with OpenSSL 1.1.1b was a breeze. Note the 'patching file src/openssl.h' after downloading libssh2:
TFRs-Mac:iSSH2 tfr$ ./iSSH2.sh --openssl=1.1.1b --libssh2=1.8.2
Initializing...
Libssh2 version: 1.8.2
OpenSSL version: 1.1.1b
SDK version: 12.2 (Automatically detected)
Architectures: armv7 armv7s arm64 x86_64
OS min version: 8.0
Downloading openssl-1.1.1b.tar.gz
######################################################################## 100.0%
MD5: 4532712e7bcc9414f5bce995e4e13930
Extracting openssl-1.1.1b.tar.gz
Building OpenSSL 1.1.1b, please wait...
- iPhoneOS armv7 done!
- iPhoneOS armv7s done!
- iPhoneOS arm64 done!
- iPhoneSimulator x86_64 done!
Building libssl.a fat library...
Building libcrypto.a fat library...
Copying headers...
Building done.
Downloading libssh2-1.8.2.tar.gz
######################################################################## 100.0%
MD5: 616efd99af3d9ef731a26bed6cee9593
Extracting libssh2-1.8.2.tar.gz
patching file src/openssl.h
Building Libssh2 1.8.2:
- iPhoneOS armv7 done!
- iPhoneOS armv7s done!
- iPhoneOS arm64 done!
- iPhoneSimulator x86_64 done!
Building libssh2.a fat library...
Copying headers...
Building done.
Cleaning up temporary files...
TFRs-Mac:iSSH2 tfr$
from issh2.
libssh2 1.9.0 was released. It compiles without additional testing.
Changelog: https://libssh2.org/changes.html#1.9.0
from issh2.
Build are smooth and without any issue:
Libssh2 version: 1.9.0 (Automatically detected)
OpenSSL version: 1.1.1c (Automatically detected)
SDK version: 12.2 (Automatically detected)
[..]
Building done.
from issh2.
Related Issues (17)
- Build with Xcode 7.3 HOT 2
- Compiling for Catalyst HOT 30
- Build Failed - Libssh2 1.9.0 HOT 8
- Compiling for Apple Silicon HOT 14
- issues when using on M1 laptop HOT 4
- Libssh2 version fetched 1.9.0 instead of 1.10.0 HOT 2
- Is this script compatible to compile libssh 0.9.6 for ios / macOS? HOT 2
- Libssh2 1.9.0 building failed when trying to build OpenSSL 3.0.1 HOT 1
- build failed for macosx HOT 7
- Does not seem to work on XCode 8 HOT 4
- Build with Xcode 8
- No dylib file in lib
- Error on each build of Libssh2, seems to be a non-issue HOT 2
- Missing `iSSH2-commons`
- Compile fail on SDK 12.2 HOT 3
- Libssh2 no longer compiling on latest MacOS 10.14.6 with Xcode 10.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from issh2.