I tried the <copy_file/>, but no success. No matter what, the app file gets deleted, the error message of "[error] State file error: missing application file libusb-0.1.4.dylib" shows in the event log.
Based on this:
Code:
% otool -L ./radac_1.54_x86_64-apple-darwin
./radac_1.54_x86_64-apple-darwin:
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0, current version 9.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
...I created the lib directory under /usr/local, and then just copied the three dylib files into that directory. No messing around with symbolic links.
Still no change in behavior. App deleted, error message in event log.
So I finally just removed the two sections in the app_info.xml that referenced the dylib. My app_info.xml now looks like this (includes the fix to the platform and the correction of the usblib/libusb typo) :
Code:
<app_info>
<app>
<name>radac</name>
<user_friendly_name>Radioactivity Monitor</user_friendly_name>
</app>
<file_info>
<name>radac_1.54_x86_64-apple-darwin</name>
<executable/>
</file_info>
<app_version>
<app_name>radac</app_name>
<version_num>154</version_num>
<platform>x86_64-apple-darwin</platform>
<avg_ncpus>1.000000</avg_ncpus>
<max_ncpus>1.000000</max_ncpus>
<api_version>6.10.58</api_version>
<file_ref>
<file_name>radac_1.54_x86_64-apple-darwin</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>
...and it seems to be working! I am 8 minutes into a 30 min run time. If/when it validates, I will report back.