Hi Keith,

I think /opt/local/lib is not in the default library path search. You
can add it or you can do:

$ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib

so osg apps can find the libraríes.

Greetz,
Rafa.


On Tue, Nov 3, 2009 at 8:58 AM, Keith Ewan
<[email protected]> wrote:
> Hi,
>
> Having trouble with osg not finding libOpenThreads.11.dylib.  The library is 
> present in /opt/local/lib however when I try to use osgviewer to run a 
> example I get this:
>
> Code:
> raptorjesus-imac52:osgexport-2.42b raptorjesus$ osgviewer monkeyears.osg
> dyld: Library not loaded: libOpenThreads.11.dylib
> Referenced from: /opt/local/bin/osgviewer
> Reason: image not found
> Trace/BPT trap
>
>
>
>
> Some searching turned up this ticket http://trac.macports.org/ticket/17577 
> with a duplicate linked to it, but neither have solutions.
>
> If it helps to know, I'm running OS X 10.5.8 (intel) and installed OSG via 
> macports.
>
> Thank you!
>
> Cheers
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=19086#19086
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Rafael Gaitán Linares
Instituto de Automática e Informática Industrial  http://www.ai2.upv.es
Ciudad Politécnica de la Innovación
Universidad Politécnica de Valencia
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to