Opened 16 years ago
Closed 15 years ago
#17577 closed defect (fixed)
OpenSceneGraph can't find its own libraries
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | dario.moricciani@… | |
Port: | OpenSceneGraph |
Description
OpenSceneGraph can't find its own libraries:
$ osgconv dyld: Library not loaded: libOpenThreads.11.dylib Referenced from: /mp/bin/osgconv Reason: image not found Trace/BPT trap $
I suspect this is because it's not using -install_name so the paths to the libraries aren't included:
$ otool -L /mp/bin/osgconv /mp/bin/osgconv: libOpenThreads.11.dylib (compatibility version 11.0.0, current version 2.3.0) libosg.48.dylib (compatibility version 48.0.0, current version 2.6.1) libosgDB.48.dylib (compatibility version 48.0.0, current version 2.6.1) libosgUtil.48.dylib (compatibility version 48.0.0, current version 2.6.1) libosgGA.48.dylib (compatibility version 48.0.0, current version 2.6.1) libosgViewer.48.dylib (compatibility version 48.0.0, current version 2.6.1) libosgText.48.dylib (compatibility version 48.0.0, current version 2.6.1) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) $ otool -L /mp/lib/libOpenThreads.11.dylib /mp/lib/libOpenThreads.11.dylib: libOpenThreads.11.dylib (compatibility version 11.0.0, current version 2.3.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) $
I'd check their issue tracker but www.openscenegraph.org is down.
I could try to work around this like I did in the oracle-instantclient port.
Change History (6)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dario.moricciani@… added |
---|
Has duplicate #20487.
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
This is a common problem that affects all cmake ports. Raphael fixed this in the cmake portgroup in r64576. I tried switching OpenSceneGraph to use the cmake portgroup so it gets this fix, but that breaks the build on Tiger and I'm not really sure why.
comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
- r66204: Fixed by incorporating the same fix as was made in the cmake portgroup.
Note: See
TracTickets for help on using
tickets.
Replying to ryandesign@…:
I reported the web site outage to the whois contacts.