Giter Club home page Giter Club logo

Comments (5)

jeremyfelder avatar jeremyfelder commented on July 18, 2024

Compiled Gotham-Client two-party-eddsa branch with EdDSA dependencies by moving the compiled GMP archive to $SYSROOT/usr/lib/$trgt_platform/$api_num as suggested by @vhnatyk

from gotham-city.

jeremyfelder avatar jeremyfelder commented on July 18, 2024

The original error above was caused by a dependency needing openssl which didn't get packaged together with the .so file. In order to cross compile a dependency that requires openssl you need to compile openssl for the specific target which is (apparently) very difficult. Better to remove the dependency on openssl.

from gotham-city.

vhnatyk avatar vhnatyk commented on July 18, 2024

👍 Sorry, @jeremyfelder - $trgt_platform and so on are just var names specific to my script I would ask you to put exact path. If you got everything working - can the issue be closed? 😊

from gotham-city.

vhnatyk avatar vhnatyk commented on July 18, 2024

The original error above was caused by a dependency needing openssl which didn't get packaged together with the .so file. In order to cross compile a dependency that requires openssl you need to compile openssl for the specific target which is (apparently) very difficult. Better to remove the dependency on openssl.

Also - somehow I don't recall building OpenSSL myself) I wouldn't forget if I guess - maybe it's not fluent on Mac or especially Windows, but on Ubuntu, all was pretty good. I just recall having troubles with compiler finding OpenSSL. And that's exactly why

export AARCH64_LINUX_ANDROID_OPENSSL_LIB_DIR=$SYSROOT
export OPENSSL_DIR="/usr/" #depends on your OS and OpenSSL setup

are there In case you can't sacrifice OpenSSL dependency

from gotham-city.

jeremyfelder avatar jeremyfelder commented on July 18, 2024

Yes, I added export OPENSSL_DIR="/usr/local/opt/[email protected]/" which caused the original error I had above during runtime.
Adding the AARCH64_LINUX_ANDROID_OPENSSL_LIB_DIR var caused some dependencies to fail no matter which openssl path I gave it.

from gotham-city.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.