Can't compile - missing libs crypto and ssl

Bug #913307 reported by DaneeL on 2012-01-08
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Data Dumper
Low
Max Bubenick

Bug Description

I'm trying to compile version 0.5.1, but I receive the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MYSQL_LIBRARIES_crypto
    linked by target "mydumper" in directory /usr/src/mydumper-0.5.1
    linked by target "myloader" in directory /usr/src/mydumper-0.5.1
MYSQL_LIBRARIES_ssl
    linked by target "mydumper" in directory /usr/src/mydumper-0.5.1
    linked by target "myloader" in directory /usr/src/mydumper-0.5.1

I turned off the option to build docs.

I'm using mysql Ver 14.16 Distrib 5.2.9-MariaDB, for debian-linux-gnu (x86_64) using readline 6.1 on
Debian Squeeze.

Alex Andrascu (s0-ofk2ce-id) wrote :

I also got this on CentOS release 5.7 (Final) with

mysql55.x86_64 5.5.19-1.ius.el5 installed
mysql55-devel.x86_64 5.5.19-1.ius.el5 installed
mysql55-libs.x86_64 5.5.19-1.ius.el5 installed
mysql55-server.x86_64 5.5.19-1.ius.el5 installed
mysqlclient15.x86_64 5.0.92-1.ius.el5 installed

---compile error -----
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL: /usr/include/mysql, MYSQL_LIBRARIES_mysqlclient-NOTFOUND;/usr/lib64/libpthread.so;/lib64/libz.so;/usr/lib64/libm.so;/usr/lib64/librt.so;MYSQL_LIBRARIES_ssl-NOTFOUND;MYSQL_LIBRARIES_crypto-NOTFOUND;/usr/lib64/libdl.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MYSQL_LIBRARIES_crypto
    linked by target "mydumper" in directory /opt/mydumper-0.2.3
    linked by target "myloader" in directory /opt/mydumper-0.2.3
MYSQL_LIBRARIES_mysqlclient
    linked by target "mydumper" in directory /opt/mydumper-0.2.3
    linked by target "myloader" in directory /opt/mydumper-0.2.3
MYSQL_LIBRARIES_ssl
    linked by target "mydumper" in directory /opt/mydumper-0.2.3
    linked by target "myloader" in directory /opt/mydumper-0.2.3

-- Configuring incomplete, errors occurred!

Rafael Märser (m8r-6l09u) wrote :

Same problem here, vanilla debian squeeze, mariadb 5.3.5, cmake complaints about missing:

MYSQL_LIBRARIES_crypto

and

MYSQL_LIBRARIES_ssl

is there any workaround?

redguy (mateusz-kijowski) wrote :

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673262 for issues on Debian. Installing libssl-dev might work around the problem the problem with missing crypto and ssl libraries

Max Bubenick (max-bubenick) wrote :

ssl issues are related to missing ssl devel:
yum based = openssl-devel
apt based = libssl-dev

I will update README file

Changed in mydumper:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Max Bubenick (max-bubenick)
milestone: none → 0.6.2
Changed in mydumper:
status: Triaged → Fix Committed
Changed in mydumper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.