Actions
Bug #3023
closedOSX 10.10: dyld Library not loaded
Start date:
07/08/2015
Due date:
% Done:
0%
Estimated time:
Description
Jenkins slave OSX-10.10-ucla-pistons-10014 is having error "dyld: Library not loaded" in multiple builds.
http://jenkins.named-data.net/job/NFD/OS=OSX-10.10/2773/consoleFull
http://jenkins.named-data.net/job/NFD/OS=OSX-10.10/2758/consoleFull
http://jenkins.named-data.net/job/NFD/OS=OSX-10.10/2757/consoleFull
An error looks like:
+ ndnsec-keygen /tmp/jenkins/OSX-10.10-ucla-pistons-10014
+ ndnsec-install-cert -
dyld: Library not loaded: /usr/local/lib/libndn-cxx.0.3.3.dylib
Referenced from: /usr/local/bin/ndnsec
Reason: image not found
dyld: Library not loaded: /usr/local/lib/libndn-cxx.0.3.3.dylib
Referenced from: /usr/local/bin/ndnsec
Reason: image not found
/usr/local/bin/ndnsec-keygen: line 4: 59544 Trace/BPT trap: 5 `dirname "$0"`/ndnsec key-gen "$@"
/usr/local/bin/ndnsec-install-cert: line 4: 59546 Trace/BPT trap: 5 `dirname "$0"`/ndnsec cert-install "$@"
The pattern appears to be:
- previous build on this slave installs ndn-cxx shared library, including dynamic-linked
ndnsec
binary - current build deletes ndn-cxx shared library (with
rm -rf
), and then builds and installs ndn-cxx static library, including static-linkedndnsec
binary - current build attempts to execute
ndnsec
, and the OS somehow find the dynamic-linkedndnsec
binary, and complains the shared library object has been deleted
Actions