Closed zhujiaming closed 5 years ago
I think we ran into this issue as well when we built Realm for our Electron app. We fixed it by running the following:
git clone https://github.com/Microsoft/vcpkg C:\src\vcpkg
cd C:\src\vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg install openssl:x64-windows-static
It installs the OpenSSL VC++ Static 64bit Library from https://github.com/Microsoft/vcpkg which seems to be a dependency of Realm on Windows
I think we ran into this issue as well when we built Realm for our Electron app. We fixed it by running the following:
git clone https://github.com/Microsoft/vcpkg C:\src\vcpkg cd C:\src\vcpkg .\bootstrap-vcpkg.bat .\vcpkg install openssl:x64-windows-static
It installs the OpenSSL VC++ Static 64bit Library from https://github.com/Microsoft/vcpkg which seems to be a dependency of Realm on Windows
thanks ,it works!
Hey - looks like you forgot to add a T:* label - could you please add one?
I'm also getting this error, but installing openssh
from vcpkg
did not resolve the issue.
Building it creates a libcrypto.lib
(instead of libeay32.lib
) and libssl.lib
(instead of ssleay32.lib
). Apparently OpenSSL changed these in version 1.1.0.
vcpkg
by checking out a hash from May 1, 2019 (because thats how vcpkg manages versions...), but it couldn't install openssl from thereAny ideas?
@aklinker1 you have to install libssl by vcpkg, not openssh. The recipe in README.md
works works for me ok.
Goals
npm install --save realm and rebuid realm for electron
Expected Results
rebuild realm success
Actual Results
It looks like can not find the file ('C:\src\vcpkg\installed\x64-windows-static\lib\libeay32.lib') who can help me? thanks
Steps to Reproduce
Version of Realm and Tooling