On 14.2.2015 22:25, Alexey Orishko wrote:
Hi guys,

I need to build MySQL client libraries to support old application.
I've done it previously in BLFS-7.5, but I see that there is no
reference to MySQL in the recent version, including development one.

I was trying to build MySQL v.5.6.23 based on the latest development
version, but failed.
Somehow cmake can't find openssl libraries with -DWITH_SSL=system:

CMake Error at cmake/ssl.cmake:234 (MESSAGE):
   Cannot find appropriate system libraries for SSL.  Use WITH_SSL=bundled to
   enable SSL support
Call Stack (most recent call first):
   CMakeLists.txt:407 (MYSQL_CHECK_SSL)

However I do have libraries installed the same way on old v.7.5 and
new dev. build:
# ls -l /usr/lib64/libcrypto*
lrwxrwxrwx 1 root root      18 Feb  9 02:02 /usr/lib64/libcrypto.so ->
libcrypto.so.1.0.0
-r-xr-xr-x 1 root root 2708256 Feb  9 02:02 /usr/lib64/libcrypto.so.1.0.0
# ls -l /usr/lib64/libssl*
lrwxrwxrwx 1 root root     15 Nov 23 14:51 /usr/lib64/libssl.so ->
libssl.so.1.0.0
-r-xr-xr-x 1 root root 490150 Nov 23 00:02 /usr/lib64/libssl.so.1.0.0

Does anyone know what might be the problem with cmake?

Btw, was removal of MySQL from the book related to the ownership of the code?

Regards,
Alexey


It's a problem with OpenSSL-1.0.2. Use the following fix:

sed -i "s:#define\[:#\[\\\t \]\*define\[:" cmake/ssl.cmake
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to