Project

General

Profile

Actions

Bug #3023

closed

OSX 10.10: dyld Library not loaded

Added by Junxiao Shi almost 9 years ago. Updated over 8 years ago.

Status:
Abandoned
Priority:
High
Assignee:
-
Category:
Build
Target version:
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:

  1. previous build on this slave installs ndn-cxx shared library, including dynamic-linked ndnsec binary
  2. current build deletes ndn-cxx shared library (with rm -rf), and then builds and installs ndn-cxx static library, including static-linked ndnsec binary
  3. current build attempts to execute ndnsec, and the OS somehow find the dynamic-linked ndnsec binary, and complains the shared library object has been deleted
Actions

Also available in: Atom PDF