[MacPorts] #17577: OpenSceneGraph can't find its own libraries
MacPorts
noreply at macports.org
Sun Dec 7 23:15:56 PST 2008
#17577: OpenSceneGraph can't find its own libraries
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: OpenSceneGraph
-------------------------------------+--------------------------------------
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 [http://www.openscenegraph.org/
www.openscenegraph.org] is down.
I could try to work around this like I did in the oracle-instantclient
port.
--
Ticket URL: <http://trac.macports.org/ticket/17577>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list