[ 11%] Completed 'bzip2'
[ 12%] Built target bzip2
[ 12%] No configure step for 'OpenSSL'
/usr/bin/cmake: libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
/usr/bin/cmake: libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
/usr/bin/cmake: libssl.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
/usr/bin/cmake: libcrypto.so.1.0.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
/usr/bin/cmake: relocation error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: symbol SSL_CTX_set_alpn_protos, version OPENSSL_1.0.2 not defined in file libssl.so.1.0.0 with link time reference
CMakeFiles/OpenSSL.dir/build.make:109: recipe for target 'OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure' failed
make[2]: *** [OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure] Error 127
CMakeFiles/Makefile2:1267: recipe for target 'CMakeFiles/OpenSSL.dir/all' failed
make[1]: *** [CMakeFiles/OpenSSL.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
I’ve tried installing QT5.9.1 from the Qt’s runfile with VTK8 but I get
an error when building Slicer
/Data-work/BuildDirs/Slicer/Modules/Loadable/Tables/Widgets/Testing/Cxx/qSlicerTableColumnPropertiesWidgetTest1.cxx:
In function ‘int qSlicerTableColumnPropertiesWidgetTest1(int, char**)’:
/Data-work/BuildDirs/Slicer/Modules/Loadable/Tables/Widgets/Testing/Cxx/qSlicerTableColumnPropertiesWidgetTest1.cxx:46:3:
error: ‘QSurfaceFormat’ was not declared in this scope
QSurfaceFormat format = QVTKOpenGLWidget::defaultFormat();
I didn’t think you could build it with QT5 from reading the build
instructions. I’ll try using QT4 with the runfile installation.
I am not sure how I managed to get Slicer built. I am trying to build on
another Ubuntu 16.04 and I have run into the same issues.
/usr/bin/cmake: relocation error:
/usr/lib/x86_64-linux-gnu/libcurl.so.4: symbol SSL_CTX_set_alpn_protos,
version OPENSSL_1.0.2 not defined in file libssl.so.1.0.0 with link time
reference
CMakeFiles/OpenSSL.dir/build.make:109: recipe for target
'OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure' failed
make[2]: *** [OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure] Error 127
CMakeFiles/Makefile2:1267: recipe for target
'CMakeFiles/OpenSSL.dir/all' failed
make[1]: *** [CMakeFiles/OpenSSL.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
I think they might not be compatible with the openssl I have installed.
I posted this on AskUbuntu here
One comment says,
OpenSSL 1.0.x built from source does not include versioned symbols.
However the Ubuntu supplied OpenSSL has a patch which does include
versioned symbols. The error message above mentions a symbol version
(OPENSSL_1.0.2) so there is some confusion between the two OpenSSL
versions (i.e. the system installed version and the one downloaded and
built from source)