Hi all,
I run the command
(full Traceback below)
I have reinstalled security/certbot as well as lang/python37, to no avail. I'm afraid I've come to the end of my limited knowledge about these types of dependency issues. Can someone point me in the right direction?
TIA
I run the command
certbot renew
as a monthly cron job to update my certs, as I'm sure many of you do as well. I'm now getting an error message:
Code:
ImportError: Shared object "libffi.so.6" not found, required by "_cffi_backend.so"
I have reinstalled security/certbot as well as lang/python37, to no avail. I'm afraid I've come to the end of my limited knowledge about these types of dependency issues. Can someone point me in the right direction?
TIA
Code:
pkg show py37-certbot
Name : py37-certbot
Version : 1.7.0,1
$ pkg show libffi
Name : libffi
Version : 3.3_1
$ python3.7 --version
Python 3.7.9
$ uname -r
12.1-RELEASE-p8
Code:
$ sudo certbot renew
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
load_entry_point('certbot==1.7.0', 'console_scripts', 'certbot')()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/site-packages/certbot/main.py", line 2, in <module>
from certbot._internal import main as internal_main
File "/usr/local/lib/python3.7/site-packages/certbot/_internal/main.py", line 10, in <module>
import josepy as jose
File "/usr/local/lib/python3.7/site-packages/josepy/__init__.py", line 44, in <module>
from josepy.interfaces import JSONDeSerializable
File "/usr/local/lib/python3.7/site-packages/josepy/interfaces.py", line 7, in <module>
from josepy import errors, util
File "/usr/local/lib/python3.7/site-packages/josepy/util.py", line 7, in <module>
import OpenSSL
File "/usr/local/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/local/lib/python3.7/site-packages/OpenSSL/crypto.py", line 12, in <module>
from cryptography import x509
File "/usr/local/lib/python3.7/site-packages/cryptography/x509/__init__.py", line 8, in <module>
from cryptography.x509.base import (
File "/usr/local/lib/python3.7/site-packages/cryptography/x509/base.py", line 16, in <module>
from cryptography.x509.extensions import Extension, ExtensionType
File "/usr/local/lib/python3.7/site-packages/cryptography/x509/extensions.py", line 18, in <module>
from cryptography.hazmat.primitives import constant_time, serialization
File "/usr/local/lib/python3.7/site-packages/cryptography/hazmat/primitives/constant_time.py", line 11, in <module>
from cryptography.hazmat.bindings._constant_time import lib
ImportError: Shared object "libffi.so.6" not found, required by "_cffi_backend.so"
Last edited: