Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MVLeor

#1

I was missing the correct version of mysql-devel
The missing includes gave it in..

Thanks.

#2
OK, I've installed mysql, now "ls /usr/lib64/mysql/ " gives:

libmysqlclient_r.so     libmysqlclient_r.so.15.0.0  libmysqlclient.so.15      mysqlbug
libmysqlclient_r.so.15  libmysqlclient.so           libmysqlclient.so.15.0.0  mysql_config

sh ./configure --with-server --with-mysql --with-agent
fails with this error:

checking for mysql_init in -lmysqlclient... yes
checking whether mysql clients can run... no
configure: error: Your MySQL client libraries aren't properly installed


config.log reads:

configure:33002: checking whether mysql clients can run
configure:33033: gcc -o conftest -g -O2  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/i
conftest.c:141:19: error: mysql.h: No such file or directory
conftest.c: In function 'main':
conftest.c:144: error: 'MYSQL' undeclared (first use in this function)
conftest.c:144: error: (Each undeclared identifier is reported only once
conftest.c:144: error: for each function it appears in.)
conftest.c:144: error: 'a' undeclared (first use in this function)
configure:33036: $? = 1
configure: program exited with status 1


Thanks for any help!
#3
Hi,

Thanks for the swift reply!
No, I don't have any libmysql under /usr/lib64, and I think you are right about the versions,
let me check it and post the result.

BTW, I googled for 'netxms "skipping incompatible"', you're saying this isn't a netxms issue but something more general?
#4
General Support / skipping incompatible libmysqlclient
November 12, 2008, 02:58:30 PM
Hi,

I'm installing netxms-0.2.22 on Linux 2.6.25-14.fc9.x86_64.
After installing rpms for MySQL 5.0.67 and ZLib 1.2.3-18, I run:

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

and get this error:
checking for mysql_init in -lmysqlclient... no
configure: error: libmysqlclient is requred for MySQL support


config.log says:

/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient



I'd appreciate any insights on this,

Regards,

Lior Neuman
R&D Team
MailVision LTD.

#5
Hi,

Looking in the forums I couldn't find any reference to this feature-
Can NetXMS consolidate SNMP traps and expose MIBs ?

Thanks in advance,
Lior Neuman
MailVision LTD.
#6
General Support / Re: Custom monitoring agent ?
November 03, 2008, 09:52:16 AM
Thanks a lot, that would work!
#7
General Support / Custom monitoring agent ?
October 30, 2008, 05:44:03 PM
Hi,

We have deployments as large as 30 servers running Linux.
We want to know if and when applications crash, become unresponsive or malfunction;
by applications I mean web-applications as well standalone applications, all
are our home-bred Java apps, each with different definitions for 'malfunction'.

The question is, how would you do such a thing with NetXMS ?
Is it possible, for example, to monitor the results of a shell command/script, for example ?

Thanks in advance,
Lior Neuman
MailVision LTD.