On Jan 31, 2013, at 11:04 PM, Bob Anderson wrote:

> When I attempt a nirt command, I get the following...
> 
> dyld: Library not loaded: 
> /Users/Morrison/brlcad.STABLE/.cmake/lib/librt.20.dylib
> Referenced from: /usr/brlcad/rel-7.22.0/bin/nirt
> Reason: image not found
> Abnormal exit x5, terminating signal = 5

That is pretty bizarre.  That's a build-time path that cmake should have 
changed during install.  I'll have to look into that for the next binary 
release as that's clearly wrong.  This should work around it for now:

export DYLD_FALLBACK_LIBRARY_PATH=/usr/brlcad/rel-7.22.0/lib

Note that you will want to be sure to unset/update that if you install another 
version of BRL-CAD.  

> In my .bash_profile, I have the following export statements...
> 
> export BRLCAD_HOME=/usr/brlcad
> export MAGICK_HOME=/usr/ImageMagick/release-6.7.2

Note we have nearly identical convention.  If you want to parallel what you did 
for ImageMagick, that'd be BRLCAD_HOME=/usr/brlcad/rel-7.22.0

> Any ideas? I also notice rt and rtedge failing although I can still use the 
> ray trace tool. Do I need an FB_FILE variable set as well?

MGED and tools invoked from within MGED work because the application bundle 
sets a DYLD_FALLBACK_LIBRARY_PATH within the bundle.  You can view package 
contents and see the 'script' wrapper that is invoked.

Cheers!
Sean


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to