Just using echo doesn't mean that DYLD_LIBRARY_PATH is set as an environment variable. Is it in the output from running the env command?
Besides that, what are the permissions on the OpenSG .dylib files in /usr/local/lib/opt? What is the output from running 'otool -L 01hello'? -Patrick Gabriel Zachmann wrote: > Patrick: > > thanks a lot for the response. > > I should've mentioned that, yes, DYLD_LIBRARY_PATH is set as an > environment variable: > > nbzach: OpenSG-1.8/Tutorials% echo $DYLD_LIBRARY_PATH > .:/usr/local/lib/opt > > Any other ideas? > > Best regards, > Gabriel. > > >>> Could some kind soul explain to me, why the following dylib is not >>> found, when i try to run the opensg tutorial? >>> >>> OpenSG-1.8/Tutorials% ./01hello >>> dyld: Library not loaded: libOSGWindowGLUT.dylib >>> Referenced from: /Users/zach/Code/OpenSG-1.8/Tutorials/./01hello >>> Reason: image not found >>> Trace/BPT trap >>> OpenSG-1.8/Tutorials% echo $DYLD_LIBRARY_PATH >>> .:/usr/local/lib/opt >>> OpenSG-1.8/Tutorials% ls /usr/local/lib/opt >>> libOSGBase.dylib* libOSGWindowCarbon.dylib* >>> libOSGWindowCoreGL.dylib* >>> libOSGSystem.dylib* libOSGWindowCocoa.dylib* >>> libOSGWindowGLUT.dylib* >>> >>> >>> When i compiled the libs under Mac OS X, everything seemed to go >>> fine; dito when i compiled the tutorials. >>> >>> Any ideas? >> >> Is DYLD_LIBRARY_PATH set as an environment variable? That is, does it >> appear >> in the output when running the env command? >> >> -Patrick >> >> >> -- >> Patrick L. Hartling >> VP Engineering, Infiscape Corp. >> http://www.infiscape.com/ >> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: signature.asc >> Type: application/pgp-signature >> Size: 249 bytes >> Desc: OpenPGP digital signature >> >> ------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >> ------------------------------ >> >> _______________________________________________ >> Opensg-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensg-users >> >> >> End of Opensg-users Digest, Vol 14, Issue 24 >> ******************************************** > > ____________________________________________________________ > Der Besitz macht uns nicht halb so gluecklich, > als uns der Verlust ungluecklich macht. (Jean Paul) > ____________________________________________________________ > Tel.: 05323 - 72 71 13 > Inst. fuer Informatik, Julius-Albert-Str. 4, 38678 Clausthal > ____________________________________________________________ > > -- Patrick L. Hartling VP Engineering, Infiscape Corp. http://www.infiscape.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
