Changes between Initial Version and Version 1 of Ticket #51618


Ignore:
Timestamp:
Jun 14, 2016, 11:40:17 AM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Sounds like the install_name is not being set correctly.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51618

    • Property Priority changed from High to Normal
    • Property Owner changed from macports-tickets@… to michaelld@…
    • Property Keywords library build linking removed
    • Property Summary changed from GLFW3.2 has wrong lib dir when building with to glfw @3.2: install_name is not set properly
  • Ticket #51618 – Description

    initial v1  
    1010pkg-config gives the correct info:
    1111
     12{{{
    1213pkg-config --libs glfw3
    1314-L/opt/local/lib -lglfw
     15}}}
    1416
    1517And linkin works, but when I try to run my resulting binary,
    1618
     19{{{
    1720dyld: Library not loaded: lib/libglfw.3.dylib
    1821  Referenced from: /Users/sakari/dvl/geometrify/geometrify/src/build/geometrify
    1922  Reason: image not found
    2023fish: “build/geometrify -s scripts/t...” terminated by signal SIGTRAP (Trace or breakpoint trap)
     24}}}
    2125
    2226I can fix this temporarily easily of course, but I have no idea why this happens, maybe the path is wrong in the build process ?