#3386: ImportError: /home/deluge/.local/lib/python3.7/site-
packages/cryptography/hazmat/bindings/_openssl.abi3.so: Undefined symbol
"OPENSSL_no_config"
----------------------+----------------------------
Reporter: fdge00 | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Unknown | Version: 2.0.3
Resolution: | Keywords:
----------------------+----------------------------
Comment (by fdge00):
Finally got the daemon to start.[[BR]]
The problem was Python using the OpenSSL that is part of the base Jail
(OpenSSL 1.0.2s-freebsd 28 May 2019).[[BR]]
The solution was to export some paths:
{{{
export CPATH=/usr/local/include; \
export LIBRARY_PATH=/usr/local/lib; \
export LD_LIBRARY_PATH=/usr/local/lib;
}}}
(I'm going to document my other problems that were related in case anyone
else wants to do things a difficult way)[[BR]]
My other problem was I was logged in as root but I wanted deluge installed
under it's user, and I didn't want to login as that user or change it's
shell (/sbin/nologin).[[BR]]
I needed to use "--preserve-env" when using sudo:
{{{
sudo -H -u deluge python3.7 -m pip install --no-cache-dir --user --upgrade
pip; \
sudo --preserve-env -H -u deluge python3.7 -m pip install --no-cache-dir
--user --upgrade deluge;
}}}
"--no-cache-dir" is probably not necessary if it is done correctly the
first time.[[BR]]
I should have used "--preserve-env=''list''" instead but is was working
and I was done learning.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3386#comment:1>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/060.4dacc26ca15449476b170b97d33c6752%40deluge-torrent.org.