Project

Profile

Help

Bug #4617

closed

macOS Catalina error: “libsaxonpec.dylib” cannot be opened because the developer cannot be verified.

Added by O'Neil Delpratt almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Mac Os X
Start date:
2020-06-27
Due date:
% Done:

100%

Estimated time:
Found in version:
1.2.1, 12.0
Fixed in version:
12.1
Platforms:

Description

I tried to run the sample C++ program with Saxon/C on macOS Catalina 10.15.4. Getting the following error:

macOS Catalina error: “libsaxonpec.dylib” cannot be opened because the developer cannot be verified.

There is an update in Excelsior JET 15.3 for OS X Notarization for signing applications on Mac OS.

We will look to apply this in the next release of Saxon /C

See the workaround:

In the Finder on your Mac, locate the Saxon/C dylib file (i.e. libsaxonpec.dylib). Control-click the app icon, then choose Open from the shortcut menu. Click Open. The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it or from cli, just as you can with any authorised app.

Actions #1

Updated by Norm Tovey-Walsh about 2 years ago

Yes, this is gatekeeper. A simple way to work around it is to run:

xattr -d -r com.apple.quarantine .

in the directory where you unzipped the distribution.

I've been trying to get code signing and notarization working and will add SaxonC to the mix.

Actions #2

Updated by O'Neil Delpratt over 1 year ago

  • Found in version changed from 1.2.1 to 1.2.1, 12.0

This bug issue is still failing in SaxonC 12. We are still investigating a solution.

Actions #3

Updated by Norm Tovey-Walsh about 1 year ago

I wasn't able to reproduce this with Saxon 12 on intel or ARM hardware. Are there instructions anywhere for reproducing the problem with 12?

Actions #4

Updated by O'Neil Delpratt about 1 year ago

You should be able to reproduce the error by following the C++ samples instructions here: https://www.saxonica.com/saxon-c/documentation12/index.html#!starting/running

I did the following to reproduce the error:

sudo cp libs/darwin/libsaxon-hec-12.0.dylib /usr/local/lib/.
cd samples/cppTests
./build64-mac.sh
./testXPath

This is on MacOS 12,5,1

Actions #5

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fixed for the next maintenance release.

Actions #6

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 12.1

Bug fixed applied in the SaxonC 12.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF