Code Monkey home page Code Monkey logo

Comments (6)

stef avatar stef commented on July 19, 2024

hmm, seems you use clang? which version of clang? newer versions do support -z afaik.

from libopaque.

sudeep-moharana-idnow avatar sudeep-moharana-idnow commented on July 19, 2024

I am on clang version 14

from libopaque.

stef avatar stef commented on July 19, 2024

it seems - according to the internet - -z is a gnu ld thing, and not supported by macos clang ld.

you can also just adjust the flags, and remove those -z linker flags. they will disable security protections, but will otherwise work. you need to find out what kind of link time flags exist on your system that provide similar security features as those that you removed, or even better ones.

or you could use gnu ld.

from libopaque.

sudeep-moharana-idnow avatar sudeep-moharana-idnow commented on July 19, 2024

I was able to build this which basically creates libopaque.so in my lib. However the python library which calls ctypes.util.find_library('opaque') or ctypes.util.find_library('libopaque') fails because cytype.util.find_library is looking for the following.
elif os.name == "posix" and sys.platform == "darwin": from ctypes.macholib.dyld import dyld_find as _dyld_find def find_library(name): possible = ['lib%s.dylib' % name, '%s.dylib' % name, '%s.framework/%s' % (name, name)
since this one is of type .so, the function returns none. Is there a way to generate a .dylib file?

from libopaque.

stef avatar stef commented on July 19, 2024

sorry, i have zero experience or access to apple products. although this seems to be an easy problem that is probably solved by many other projects already, it should be easy to find such and test those, i am happy to accept pull requests!

from libopaque.

stef avatar stef commented on July 19, 2024

closing this issue, please reopen if you disagree with this decision.

from libopaque.

Related Issues (11)

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.