Hello,
I have downloaded and am trying to build libzdb 2.12 on an ubuntu 12.04 64bit system. When I run configure command line:
./configure --without-postgresql --without-sqlite
I receive the following error:
checking for mysql... yes checking for mysql_config... /usr/bin/mysql_config checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes *checking for mysql_init in -lmysqlclient... no*
Dump from running mysql_config
sage: /usr/bin/mysql_config [OPTIONS] Options: --cflags [-I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g] --include [-I/usr/include/mysql] --libs [-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl] --libs_r [-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl] --plugindir [/usr/lib/mysql/plugin] --socket [/var/run/mysqld/mysqld.sock] --port [0] --version [5.5.32] --libmysqld-libs [-L/usr/lib/x86_64-linux-gnu -lmysqld -lpthread -lz -lm -lrt -lwrap -lcrypt -ldl] --variable=VAR VAR is one of: pkgincludedir [/usr/include/mysql] pkglibdir [/usr/lib/x86_64-linux-gnu] plugindir [/usr/lib/mysql/plugin]
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I have removed these packages and then re-installed and still get the same configure error.
Any ideas why this is happening?
I think you need libmysqlclient18. Ask on some ubuntu list if that didn't help
On Oct 1, 2013, at 11:29 PM, Steve Benton steve.benton@gmail.com wrote:
Hello,
I have downloaded and am trying to build libzdb 2.12 on an ubuntu 12.04 64bit system. When I run configure command line:
./configure --without-postgresql --without-sqlite
I receive the following error:
checking for mysql... yes checking for mysql_config... /usr/bin/mysql_config checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking for mysql_init in -lmysqlclient... no
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I have removed these packages and then re-installed and still get the same configure error.
Any ideas why this is happening?
I'm using precise (12.04) here.
On 10/02/2013 02:02 AM, Jan-Henrik Haukeland wrote:
I think you need libmysqlclient18. Ask on some ubuntu list if that didn't help
Should be pulled in automatically since libmysqlclient-dev depends on libmysqlclient18.
checking for mysql_init in -lmysqlclient... no
It's definitely in there:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null |grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I have removed these packages and then re-installed and still get the same configure error.
libzdb doesn't need or use either mysql-server or mysql-client. Just libmysqlclient-dev should be sufficient.
Scratching my head...
I verified libmysqlclient18 is installed when the libmysqlclient-dev package in installed. I verified that mysql_init is present:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null | grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I completely removed anything related with mysql: mysql-server, mysql client, any mysql core pkgs and libmysqlclient-dev. I then reinstalled the libmysqlclient-dev package and verified again that mysql_init was present, and I still ended up with the same error.
I moved to my desktop running precise and everything built and installed fine. I have to assume it has something to do with precise on my laptop. I will try the ubuntu forums.
If any of this triggers something that you might think would be worth a try let me know!!
Thanks for taking time
On Wed, Oct 2, 2013 at 2:15 AM, Paul J Stevens paul@nfg.nl wrote:
I'm using precise (12.04) here.
On 10/02/2013 02:02 AM, Jan-Henrik Haukeland wrote:
I think you need libmysqlclient18. Ask on some ubuntu list if that
didn't help
Should be pulled in automatically since libmysqlclient-dev depends on libmysqlclient18.
checking for mysql_init in -lmysqlclient... no
It's definitely in there:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null |grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I
have removed these packages and then re-installed and still get the same configure error.
libzdb doesn't need or use either mysql-server or mysql-client. Just libmysqlclient-dev should be sufficient.
-- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/info@nfg.nl/+31.85.877.99.97
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general
On 02-10-13 16:56, Steve Benton wrote:
Scratching my head...
I verified libmysqlclient18 is installed when the libmysqlclient-dev package in installed. I verified that mysql_init is present:
Could you share config.log, especially the part about mysql_init?
just search the config.log for mysql_init, and start reading until it hits an error.
Finally found the problem. I did not have the libssl-dev package installed. Once installed everything built fine.
On Wed, Oct 2, 2013 at 9:56 AM, Steve Benton steve.benton@gmail.com wrote:
Scratching my head...
I verified libmysqlclient18 is installed when the libmysqlclient-dev package in installed. I verified that mysql_init is present:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null | grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I completely removed anything related with mysql: mysql-server, mysql client, any mysql core pkgs and libmysqlclient-dev. I then reinstalled the libmysqlclient-dev package and verified again that mysql_init was present, and I still ended up with the same error.
I moved to my desktop running precise and everything built and installed fine. I have to assume it has something to do with precise on my laptop. I will try the ubuntu forums.
If any of this triggers something that you might think would be worth a try let me know!!
Thanks for taking time
On Wed, Oct 2, 2013 at 2:15 AM, Paul J Stevens paul@nfg.nl wrote:
I'm using precise (12.04) here.
On 10/02/2013 02:02 AM, Jan-Henrik Haukeland wrote:
I think you need libmysqlclient18. Ask on some ubuntu list if that
didn't help
Should be pulled in automatically since libmysqlclient-dev depends on libmysqlclient18.
checking for mysql_init in -lmysqlclient... no
It's definitely in there:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null |grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I
have removed these packages and then re-installed and still get the same configure error.
libzdb doesn't need or use either mysql-server or mysql-client. Just libmysqlclient-dev should be sufficient.
-- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/info@nfg.nl/+31.85.877.99.97
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general
Configure depends on finding mysql_config in your path. Update your PATH if not found. Since we are using ubuntu 12.04 on a server I checked and it turns out that we are using libmysqlclient16. Maybe you will have better luck with that package?
Den 2. okt. 2013 kl. 16:56 skrev Steve Benton steve.benton@gmail.com:
Scratching my head...
I verified libmysqlclient18 is installed when the libmysqlclient-dev package in installed. I verified that mysql_init is present:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null | grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I completely removed anything related with mysql: mysql-server, mysql client, any mysql core pkgs and libmysqlclient-dev. I then reinstalled the libmysqlclient-dev package and verified again that mysql_init was present, and I still ended up with the same error.
I moved to my desktop running precise and everything built and installed fine. I have to assume it has something to do with precise on my laptop. I will try the ubuntu forums.
If any of this triggers something that you might think would be worth a try let me know!!
Thanks for taking time
On Wed, Oct 2, 2013 at 2:15 AM, Paul J Stevens paul@nfg.nl wrote:
I'm using precise (12.04) here.
On 10/02/2013 02:02 AM, Jan-Henrik Haukeland wrote:
I think you need libmysqlclient18. Ask on some ubuntu list if that didn't help
Should be pulled in automatically since libmysqlclient-dev depends on libmysqlclient18.
checking for mysql_init in -lmysqlclient... no
It's definitely in there:
nm -D /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 2>/dev/null |grep mysql_init 0000000000036ac0 T mysql_init 0000000000036c90 T mysql_init_character_set
I have installed mysql_server, mysql_client, and libmysqlclient-dev. I have removed these packages and then re-installed and still get the same configure error.
libzdb doesn't need or use either mysql-server or mysql-client. Just libmysqlclient-dev should be sufficient.
-- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/info@nfg.nl/+31.85.877.99.97
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general