forsyde / forsyde-shell

A shell environment for all ForSyDe tools
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

DYLD_LIBRARY not set in MacOSX #10

Closed ingo-sander closed 7 years ago

ingo-sander commented 7 years ago

There seems to be an error in the script for MacOSX, which misses to set the DYLD library path. See the following session (after make) with the SUSAN-demo.

[ForSyDe-Demos]$ ./run.x dyld: Library not loaded: /home/ingo/local/systemc-2.3.1/lib-macosx64/libsystemc-2.3.1.dylib Referenced from: /Users/ingo/git/forsyde/forsyde-shell/workspace/demo/susan/./run.x Reason: image not found Abort trap: 6 ~/git/forsyde/forsyde-shell/workspace/demo/susan [ForSyDe-Demos]$ echo $DYLD_LIBRARY_PATH

~/git/forsyde/forsyde-shell/workspace/demo/susan [ForSyDe-Demos]$ export DYLD_LIBRARY_PATH=/opt/systemc-2.3.1/lib-macosx64/:$DYLD_LIBRARY_PATH ~/git/forsyde/forsyde-shell/workspace/demo/susan [ForSyDe-Demos]$ ./run.x

    SystemC 2.3.1-Accellera --- May 16 2014 21:44:33
    Copyright (c) 1996-2014 by all Contributors,
    ALL RIGHTS RESERVED

splitImage splitImage splitImage ...