[blfs-support] Openssl - packages needing to be recompiled

Fernando de Oliveira famobr at yahoo.com.br
Fri Mar 4 11:51:50 PST 2016

Em 01-03-2016 18:11, Ken Moffat escreveu:
> On my test machines I have now upgraded all the systems to
> openssl-1.0.2g (the other desktop upgrades are still ongoing).
> One of my test machines is now - finally - having a stab at building
> libreoffice, but to get here I have so far had to rebuild the
> following because they were trying to use SSLv2 which is now turned
> off by default:
> curl :
> The output from autogen.sh was just
> checking which redland to use... external
> checking for REDLAND... yes
> checking for librdf_world_set_raptor_init_handler in -lrdf... no
> configure: error: librdf too old. Need >= 1.0.16
> but I knew it was 1.0.17.  Fortunately, config.log showed the issue:
> configure:32982: checking for librdf_world_set_raptor_init_handler
> in -lrdf
> configure:33007: gcc -o conftest -O2       conftest.c -lrdf   >&5
> /usr/lib64/libcurl.so.4: undefined reference to
> `SSLv2_client_method'
> collect2: error: ld returned 1 exit status
> configure:33007: $? = 1
> python3 :
> [build CHK] unotest
> E
> ======================================================================
> ERROR: test_ssl_import (testssl.SSLTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/scratch/working/libreoffice-",
> line 6, in test_ssl_import
>     import ssl
>   File "/usr/lib/python3.5/ssl.py", line 98, in <module>
>     import _ssl             # if we can't import it, let the error
> propagate
> ImportError:
> /usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so:
> undefined symbol: SSLv2_method
> As far as I can remember, this is the first time I've had to rebuild
> other packages after doing a 'letter' upgrade of openssl (and so
> far, I have just let old systems go when their version of openssl
> becomes unsupported).
> ĸen

One plus:

Creating Python environment
New python executable in
Also creating executable in
Installing setuptools, pip...
Complete output from command /tmp/porg-build-2016...ualenv/bin/python2.7
-c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
line 15, in <module>
line 11, in <module>
line 30, in <module>
line 81, in load_module
ImportError: No module named 'pip._vendor.requests'
...Installing setuptools, pip...done.
Traceback (most recent call last):
line 2352, in <module>
line 825, in main
line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
line 961, in install_wheel
line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /tmp/porg-build-2016...ualenv/bin/python2.7 -c "import
sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error
code 1
Traceback (most recent call last):
line 485, in <module>
line 128, in ensure
return self.build()
line 381, in build
line 147, in create
raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
------ config.log ------

Have you update openssl to openssl-1.0.2g? As Ken wrote, I needed to
rbuild/reinstall Python. I installed Python-2.7.11.

Fernando, aka Sísifo

More information about the blfs-support mailing list