big-r81 commented on issue #5559:
URL: https://github.com/apache/couchdb/issues/5559#issuecomment-2961474488
A little inspection:
Trying to run `couchjs` gives:
```
big-r@EiMac:~/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/bin$ ./couchjs -V
dyld[81295]: Library not loaded: lib/libmozjs-128.dylib
Referenced from: <E75FB9F3-7E41-3E00-AD64-3E2D43946132>
/Users/big-r/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/bin/couchjs (built for macOS 15.0
which is newer than running OS)
Reason: tried: 'lib/libmozjs-128.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OSlib/libmozjs-128.dylib' (no such file),
'lib/libmozjs-128.dylib' (no such file)
Abort trap: 6
```
Looking at the linked libraries. The libraries are in the `lib` directory,
but I think the path is wrong.
```
big-r@EiMac:~/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/bin$ otool -L ./couchjs
./couchjs:
lib/libmozjs-128.dylib (compatibility version 1.0.0, current version
1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1351.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
1800.105.0)
```
Trying to append the `lib` directory gives:
```
big-r@EiMac:~/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/bin$
DYLD_LIBRARY_PATH=./../lib/:$DYLD_LIBRARY_PATH ./couchjs -V
dyld[81298]: Symbol not found: _ureldatefmt_formatNumeric_76
Referenced from: <1A37D60A-5A92-3E8F-A9E4-03F0519C87E6>
/Users/big-r/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/lib/libmozjs-128.dylib
Expected in: <5358CA0B-E943-3B4F-89CB-0A5612C3C51B>
/Users/big-r/Downloads/Apache
CouchDB.app/Contents/Resources/couchdbx-core/lib/libicui18n.77.1.dylib
Abort trap: 6
```
cc @janl ^
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]