Link & load on Mac (10.14.6 with Xcode 11)

Comments

5 comments

  • Laurent Michel

    I did *manually* codesign with my own identity with:

    codesign -s <emailIdentityHere> /Library/gurobi811/mac64/lib/libgurobi81.dylib

    That resolved the problem for now.  But the library should really be codesigned up stream I think.

     

    0
    Comment actions Permalink
  • Robert Luce

    Hello Laurent,

    thanks for pointing out that libgurobi81.dylib is not code signed.  Which Xcode setting in your project enforces this signage check, and why do you need to build your project with these settings?

    Could you also please verify that you can compile and run the examples in the distribution (w/o Xcode) by doing in a terminal

    $ clang -m64 -g -o mip1_c /Library/gurobi811/mac64/examples/c/mip1_c.c -I/Library/gurobi811/mac64/include/ -L/Library/gurobi811/mac64/lib -lgurobi81 -lm

    $ ./mip1_c

    You should see the output from the solver.

     

    Robert

    0
    Comment actions Permalink
  • Laurent Michel

    This is the default in Xcode. All applications are signed. If you want anything to install without hiccups that's the way to go. It's not particularly difficult to do and we can get around by signing your library with our keys. But that defeats the purpose of code signatures. 

    The example compiles and runs file. But that's normal since the executable isn't signed either. 

    Best,

    ---

      Laurent

     

    0
    Comment actions Permalink
  • Robert Luce

    OK, thanks for letting us know, we'll look into this.

     

    Robert

    0
    Comment actions Permalink
  • Laurent Michel

    You're welcome.

    Best,

    ---

      Laurent

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk