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 - Alex Kirhenshtein

#1081
I've send you an email with further tests
#1082
As workaround, try to apply this patch: http://alk.lv/configure.diff , it should allow you to build server and mysql driver.
#1083
Hello.

Yes, i've got the log file yesterday and currently trying to find the problem. Sorry for delay.
#1084
Hello.

Please send me complete config.log to alk at netxms dor org.

wbr, alex.
#1085
General Support / Installation on Linux
November 13, 2006, 03:16:48 PM
...
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'
...
/home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'
...

"undefined reference" means that linker was unable to resolve (=find) functions "compress" and "decompress" in all given libraries - mysql probably use them for client/server protocol compression.

Next steps can vary:
1) search google: "mysql undefined reference compress uncompress" will take you to the http://dev.mysql.com/doc/refman/5.0/en/link-errors.html, "Problems Linking to the MySQL Client Library" with solution: "If you get undefined reference errors for the uncompress or compress  function, add -lz to the end of your link command and try again."
2) grep *.so/*.a files in your /usr/lib (/lib, etc) for missing symbol. You can later check exact library using "nm" tool:

alk@ns$ nm libz.a | grep "T compress"
000000a4 T compress
00000000 T compress2

"T" means that this function exist in this exact library.
#1086
General Support / Installation on Linux
November 13, 2006, 01:08:38 PM
Looks like zlib is not detected. Try to configure it that way:

LDFLAGS=-lz ./configure --with-server --with-agent --with-mysql

If it fails, check, if zlib-devel is installed?
#1087
General Support / Installation on Linux
November 13, 2006, 11:03:43 AM
Sorry, i was inattentive.

Please show your config.log, lines between:

configure:4714: checking for mysql_init in -lmysqlclient

and

configure:4786: error: libmysqlclient is requred for MySQL support
#1088
General Support / Installation on Linux
November 13, 2006, 09:56:30 AM
Hello.

You also need to install development packages (MySQL-devel-standard-5.0.27-0.rhel4.rpm).