error: Your MySQL client libraries aren't properly installed

Started by testos, July 04, 2011, 12:48:39 PM

Previous topic - Next topic

testos

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.

Victor Kirhenshtein


testos



Victor Kirhenshtein


testos

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.



testos

Please help me, now I can not connect neither netxms console nor nxmc console!!! ???

Victor Kirhenshtein

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

testos

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.

Victor Kirhenshtein

Java console version 1.1.3 available for download at download page.

Best regards,
Victor

inspirit

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?

Victor Kirhenshtein

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