checking for MySQL library directory... no

Kernels & Hardware, configuring network, installing services

checking for MySQL library directory... no

Postby Husker » 2018-04-04 22:33

I have the latest and most up to date Debian 9 64 bit and trying to Configure, Compile, Install Ocelot tracker I run the command:

Code: Select all
./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ --with-ev-lib=/usr/lib/x86_64-linux-gnu/
make


It stops at:

Code: Select all
checking for MySQL library directory... no
configure: error: Didn't find mysqlclient library in '/usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu//lib64 /usr/lib/x86_64-linux-gnu//lib /usr/lib/x86_64-linux-gnu//lib64/mysql /usr/lib/x86_64-linux-gnu//lib/mysql'


I'd really appreciate some help with this one, please.
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-04 22:56

Code: Select all
--with-mysql-lib=/usr/lib/x86_64-linux-gnu/


?? What's the idea of this path?
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby tynman » 2018-04-04 23:25

By default MySQL under Debian (and other Linuxes) installs schemas/databases, transaction logs and config files into to /var/lib/mysql/. Maybe that's what it's looking for. (Just a wild guess. I don't think I have ever heard anyone call it the "MySQL library directory", but I might start calling it that now.)
tynman
 
Posts: 74
Joined: 2016-05-03 19:48
Location: British Columbia, Canada

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-04 23:34

The guide can be seen https://github.com/WhatCD/Gazelle/wiki/ ... ure-ocelot it is in fact written for ubuntu 16.04
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-05 01:10

You have to use correct path for your system, maybe /usr/lib/mysql/lib, whatnot, I'm not there watching over your shoulder.
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-05 06:29

No, you're not and it would help if you were.

Code: Select all
/usr/lib/mysql/plugin


That is what I have
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-05 13:20

Code: Select all
dpkg -L <package>

This will list all files and locations installed by <package>.
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-05 16:08

https://hastebin.com/ecenehemin.css

Full list of installed packages thanks
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-05 16:16

Can't see the list because ajax.googleapis.com scripts are not allowed here. Anyhow, you need to look at MySQL installation locations.
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-05 16:38

Segfault wrote:Can't see the list because ajax.googleapis.com scripts are not allowed here. Anyhow, you need to look at MySQL installation locations.


You can copy paste the url into a new tab.
Last edited by Husker on 2018-04-06 14:45, edited 1 time in total.
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-05 17:13

I'm at loss, what was the exact command that resulted in this output?
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-05 18:21

Edited for neatness
Last edited by Husker on 2018-04-25 19:42, edited 1 time in total.
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Re: checking for MySQL library directory... no

Postby Segfault » 2018-04-05 20:43

I told you to look up the locations using dpkg, you posted a list of packages instead. More I look at this thread less I understand what the problem is and what you are doing there.
I suggest to get qualified help, maybe hire someone.
Segfault
 
Posts: 664
Joined: 2005-09-24 12:24

Re: checking for MySQL library directory... no

Postby stevepusser » 2018-04-05 21:14

Your sort of error is usually the result of missing headers for the library in question, which would be in a "-dev" package in Debian. Probably installing the "default-libmysqlclient-dev" metapackage will take care of those.

That Ubuntu 16.04 guide has a list of build-depends you need to install first, but the mysql packages are somewhat different in Debian and more recent Ubuntus now.

Steve "I've seen build failures you people wouldn't believe. Configure files self-destructing in virtual machines. C-code erroring in a dark terminal on Tannhauser's desktop. All those errors will be lost in time, like memory in RAM...time to reboot."
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.11, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.1.0
User avatar
stevepusser
 
Posts: 9713
Joined: 2009-10-06 05:53

Re: checking for MySQL library directory... no

Postby Husker » 2018-04-06 13:09

stevepusser wrote:Your sort of error is usually the result of missing headers for the library in question, which would be in a "-dev" package in Debian. Probably installing the "default-libmysqlclient-dev" metapackage will take care of those.

That Ubuntu 16.04 guide has a list of build-depends you need to install first, but the mysql packages are somewhat different in Debian and more recent Ubuntus now.

Steve "I've seen build failures you people wouldn't believe. Configure files self-destructing in virtual machines. C-code erroring in a dark terminal on Tannhauser's desktop. All those errors will be lost in time, like memory in RAM...time to reboot."


Hello, thanks that made some progress but still fails further on

Code: Select all
checking for MySQL library directory... /usr/lib/x86_64-linux-gnu/
checking for MySQL include directory... /usr/include/mysql
checking if we can link to MySQL C API library directly... yes
checking for MySQL++ library location... configure: error: Didn't find the MySQL++ library dir in '/usr/local/mysql++/lib64 /usr/local/mysql++/lib /usr/local/lib64/mysql++ /usr/local/lib/mysql++ /opt/mysql++/lib64 /opt/mysql++/lib /usr/lib64/mysql++ /usr/lib/mysql++ /usr/local/lib64 /usr/local/lib /usr/lib64 /usr/lib'
Husker
 
Posts: 12
Joined: 2018-04-04 22:23

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable