Wireshark mailing list archives
CMake weirdness
From: Tony Trinh <tony19 () gmail com>
Date: Sat, 16 Jul 2011 16:46:46 -0400
For dev builds, I typically use a local output directory for install by specifying `--prefix=$PWD/build` or setting the equivalent CMake config. The strange this is the CMake binaries can't find the libraries at startup: $ ./wireshark dyld: Library not loaded: libwireshark.dylib Referenced from: /Users/tony/Developer/src/wireshark-1.7/build/bin/./wireshark Reason: image not found Trace/BPT trap The workaround is to copy the libraries into the same directory as the binary. The autoconf build has no problem. Why is that?
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- CMake weirdness Tony Trinh (Jul 16)