Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS wrong library file name p11-kit-trust #612

Open
KrutNA opened this issue Dec 15, 2023 · 1 comment
Open

MacOS wrong library file name p11-kit-trust #612

KrutNA opened this issue Dec 15, 2023 · 1 comment

Comments

@KrutNA
Copy link

KrutNA commented Dec 15, 2023

Steps to reproduce:

  1. Installed p11-kit with brew on MacOS.
  2. List modules p11-kit list-modules -v

Expected:

Got a list of 1 default module

Got:

Got a linkage error: p11-kit-trust.so not found

Fix

brew ls p11-kit shows p11-kit-trust.dylib somehow.

Fixed by rename p11-kit-trust.dylib to p11-kit-trust.so

@avoidik
Copy link

avoidik commented Dec 4, 2024

no need to rename a file, just update the config file

--- /opt/homebrew/etc/pkcs11/modules/p11-kit-trust.module.orig	2024-12-04 10:16:11.321768885 +0000
+++ /opt/homebrew/etc/pkcs11/modules/p11-kit-trust.module	2024-12-04 10:16:17.754039815 +0000
@@ -1,7 +1,7 @@
 # See pkcs11.conf(5) to understand this file
 
 # This is a module config for the 'included' p11-kit trust module
-module: p11-kit-trust.so
+module: p11-kit-trust.dylib
 
 # This setting affects the order that trust policy and other information
 # is looked up when going across various modules. Other trust policy modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants