NetXMS Support Forum

English Support => General Support => Topic started by: testos on July 04, 2011, 12:48:39 PM

Title: error: Your MySQL client libraries aren't properly installed
Post by: testos on July 04, 2011, 12:48:39 PM
Hi,

While trying to install NetXMS 1.1.2 on a Centos/RHEL box, with server, mysql, agent, etc., I was getting this error:

sh ./configure --with-server --with-mysql --with-agent --with-webui --with-client

checking whether iconv supports ISO8859-1... yes
checking whether iconv supports ISO-8859-1... yes
checking whether iconv supports ASCII... yes
checking whether iconv supports //IGNORE... yes
checking for iconv declaration...
checking for mysql_init in -lmysqlclient... yes
checking whether mysql clients can run... no
configure: error: Your MySQL client libraries aren't properly installed



NetXMS 1.1.1 installation work fine.

Best regards.
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: Victor Kirhenshtein on July 04, 2011, 01:46:29 PM
Please send your config.log to [email protected].

Best regards,
Victor
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: testos on July 04, 2011, 03:36:00 PM
Well, I've sent you.

Best regards.

Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: inspirit on July 05, 2011, 04:44:47 PM
Any workaround ?
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: Victor Kirhenshtein on July 05, 2011, 07:56:18 PM
Could you please try to compile this version: https://www.netxms.org/download/rc/netxms-1.1.3-rc-05072011.tar.gz (https://www.netxms.org/download/rc/netxms-1.1.3-rc-05072011.tar.gz)?

Best regards,
Victor
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: testos on July 06, 2011, 10:30:08 AM
Configure, compile and install seems fine now.

However, server don't display correct version


...# netxmsd -v
NetXMS Server Version 1.1.2 Build of Jul  6 2011


Furthemore, after installing netxms-console-1.1.2 I get runtime error R6034:


Best regards.


Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: testos on July 06, 2011, 10:46:22 AM
Please help me, now I can not connect neither netxms console nor nxmc console!!! ???
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: Victor Kirhenshtein on July 06, 2011, 10:55:37 AM
I'll prepare new nxmc build and post a link here. Please wait a bit.

Also, it's very strange problem with legacy console 1.1.2. Just try to install it and everything works. Did you do clean install or upgrade?

Best regards,
Victor
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: testos on July 06, 2011, 11:10:10 AM
Finally I could install 1.1.2 legacy console, I uninstall previous version and I do a clean install. Upgrading from legacy console don't work for me.

Thanks for your support.

Best regards.
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: Victor Kirhenshtein on July 06, 2011, 01:49:29 PM
Java console version 1.1.3 available for download at download page.

Best regards,
Victor
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: inspirit on July 06, 2011, 02:01:27 PM
I'm install successfully netxms-1.1.3-rc-05072011 but when I try to run the netxmsd it doesn't start.
In netxmsd.log -

[06-Jul-2011 14:56:07] Log file opened
[06-Jul-2011 14:56:07] Code page set to cp1251
[06-Jul-2011 14:56:07] Platform subagent "/usr/local/lib/libnsm_linux.so" successfully loaded
[06-Jul-2011 14:56:07] Database driver "/usr/local/lib/libnxddr_mysql.so" cannot be loaded because of API version mismatch (driver: 10; server: 7)

what's happen?
Title: Re: error: Your MySQL client libraries aren't properly installed
Post by: Victor Kirhenshtein on July 06, 2011, 02:34:38 PM
In 1.1.3, naming scheme for database drivers was changed. It is supposed to create symbolic links, but looks like it doesn't. You can fix it in two ways:

1. Change DBDriver line in config to

DBDriver = mysql.ddr

2. or manually remove /usr/local/lib/libnxddr_mysql.so and create symlink with same name to /usr/local/lib/netxms/dbdrv/mysql.ddr

Best regards,
Victor