[Ns-bugs] [Bug 1251] OSX: test.py reports dyld: Library not loaded:

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Aug 26 00:25:21 PDT 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1251

Mathieu Lacage <mathieu.lacage at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.lacage at gmail.com

--- Comment #12 from Mathieu Lacage <mathieu.lacage at gmail.com> 2011-08-26 03:25:18 EDT ---
man dyld says that you should use DYLD_FALLBACK_LIBRARY_PATH in this case but
it does not work: 

bash-3.2$
DYLD_FALLBACK_LIBRARY_PATH=/Users/mathieu/code/ns-allinone-3.12-RC1/ns-3.12-RC1/build/debug
./build/debug/scratch/scratch-simulator
dyld: Library not loaded: /usr/local/lib/libns3-core.3.12-RC1.dylib
  Referenced from:
/Users/mathieu/code/ns-allinone-3.12-RC1/ns-3.12-RC1/./build/debug/scratch/scratch-simulator
  Reason: image not found
Trace/BPT trap

DYLD_FALLBACK_LIBRARY_PATH=/Users/mathieu/code/ns-allinone-3.12-RC1/ns-3.12-RC1/build/debug
dtrace -o out ./build/debug/scratch/scratch-simulator
dtrace: failed to initialize dtrace: DTrace requires additional privileges

tom: can you give my account proper privs ?

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list