Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

I

inadiyat

@inadiyat
Unfollow Follow
About
Posts
15
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Hi,

    The problem still there, I just send you 2 files, configure & config.log, hope can help you troubleshoot the problem.

    THank you very much to your support.

    Best regards,
    Adiyat


  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Thanks, I'll give it a try... and will let you know the result.


  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Hi,

    Have you received the log, I sent it a few days ago. Thanks.


  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Hi, Sorry for late response, I just send you the config.log to [email removed]. Please let me know if you need anything else to troubleshoot this problem.

    Thank you for your help.

    Bets regards,
    Adiyat


  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Still got the same error...

    I am using:

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

    Regards,
    Adiyat


  • Installing 0.2.14 (upgrading from 0.2.13) on Linux
    I inadiyat
    Support

    Hi,

    I have successfully compiled & installed netxms 0.2.13 on my Linux Box. I would like to upgrade to 0.2.14, but got this error when running ./configure --with-server --with-mysql --with-agent:

    configure: error: libmysqlclient is requred for MySQL support

    I was facing the same problem when installing 0.2.13, and solved by installing zlib. But now 0.2.14 cannot be compiled with that error, even after I uninstall and re-installing MySQL, MySQL-Dev & zlib.

    Please advise...

    Below is error a snapshot of config.log:

    configure:4438: checking for mysql_init in -lmysqlclient
    configure:4468: gcc -o conftest -g -O2 -I/usr/local/include  -D_POSIX_PTHREAD_SEMANTICS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql  -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql conftest.c -lmysqlclient  -lm  >&5
    /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x65): In function `my_compress_alloc':
    /home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'
    /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x178): In function `my_uncompress':
    /home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'
    collect2: ld returned 1 exit status
    configure:4474: $? = 1
    configure: failed program was:

    /* confdefs.h.  */
    #define PACKAGE_NAME "NetXMS"
    #define PACKAGE_TARNAME "netxms"
    #define PACKAGE_VERSION "0.2.14"
    #define PACKAGE_STRING "NetXMS 0.2.14"
    #define PACKAGE_BUGREPORT "NetXMS Team [email protected]"
    #define PACKAGE "netxms"
    #define VERSION "0.2.14"
    #ifdef __cplusplus
    extern "C" void std::exit (int) throw (); using std::exit;
    #endif
    #define HAVE_LIBM 1
    #define WITH_MYSQL
    /* end confdefs.h.  */
    /* Override any gcc2 internal prototype to avoid an error.  */
    #ifdef __cplusplus
    extern "C"
    #endif
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    char mysql_init ();
    int
    main ()
    {
    mysql_init ();
    ;
    return 0;
    }

    configure:4500: result: no
    configure:4510: error: libmysqlclient is requred for MySQL support

    Best regards,
    Adiyat


  • Installation on Linux
    I inadiyat
    Support

    Again, thank you very much...


  • Installation on Linux
    I inadiyat
    Support

    BTW, how do you get to this conclusion ? (Need zlib-devel). I have to learn something from this...

    Thanks & Best regards,
    Adiyat


  • Installation on Linux
    I inadiyat
    Support

    YES !!!!

    It works now....

    I just need to install zlib-devel-1.1.4-8.7x.i386.rpm (www.zlib.net).

    Thank you very much for your great support.

    Best regards,
    Adiyat


  • Installation on Linux
    I inadiyat
    Support

    Thanks for your quick reply, below is the data you asked for (from config.log):

    configure:4714: checking for mysql_init in -lmysqlclient
    configure:4744: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -s -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql conftest.c -lmysqlclient  -lm  >&5
    /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x65): In function `my_compress_alloc':
    /home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:58: undefined reference to `compress'
    /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x178): In function `my_uncompress':
    /home/mysqldev/rpm/BUILD/mysql-5.0.27/libmysql/my_compress.c:85: undefined reference to `uncompress'
    collect2: ld returned 1 exit status
    configure:4750: $? = 1
    configure: failed program was:

    /* confdefs.h.  */
    #define PACKAGE_NAME "NetXMS"
    #define PACKAGE_TARNAME "netxms"
    #define PACKAGE_VERSION "0.2.13"
    #define PACKAGE_STRING "NetXMS 0.2.13"
    #define PACKAGE_BUGREPORT "NetXMS Team [email protected]"
    #define PACKAGE "netxms"
    #define VERSION "0.2.13"
    #ifdef __cplusplus
    extern "C" void std::exit (int) throw (); using std::exit;
    #endif
    #define HAVE_LIBM 1
    #define WITH_MYSQL
    /* end confdefs.h.  */
    /* Override any gcc2 internal prototype to avoid an error.  */
    #ifdef __cplusplus
    extern "C"
    #endif
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    char mysql_init ();
    int
    main ()
    {
    mysql_init ();
    ;
    return 0;
    }

    configure:4776: result: no
    configure:4786: error: libmysqlclient is requred for MySQL support

    Best regards,
    Adiyat


  • Installation on Linux
    I inadiyat
    Support

    Yes, I did... (as I post in my question above)

    But the problem still there....

    Any other idea ?

    Thank you very much in advance...

    Best regards,
    Adiyat


  • Installation on Linux
    I inadiyat
    Support

    Hi,

    Now I would like to install on Linux Box (uname -a shows: Linux saivrap2 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:04:33 EDT 2005 i686 athlon i386 GNU/Linux). I want to install NetXMS server and agent using mysql database.

    I have installed following MySQL modules using rpm -i :

    • MySQL-server-standard-5.0.27-0.rhel4.i386.rpm
    • MySQL-client-standard-5.0.27-0.rhel4.i386.rpm
    • MySQL-devel-standard-5.0.27-0.rhel4.i386.rpm
    • MySQL-shared-standard-5.0.27-0.rhel3.i386.rpm

    But when I run:

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

    I got this error:

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

    Path to the libmysqlclient already there...

    What am I missing ? Please help...

    Thanks.

    Best regards,
    Adiyat


  • Installation on Sun Solaris
    I inadiyat
    Support

    I think it works now... !!!

    Thank you very much for your support.


  • Installation on Sun Solaris
    I inadiyat
    Support

    Thanks, those problem solved now by entering the value for the file as suggested by the post.

    But now, I got another problem:

    /bin/bash ../../libtool --mode=link g++  -g -O2   -Wl,-z,now -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -lpthread -o libnetxms.la -rpath /usr/local/lib -version-info 0:2:0 -lpthread config.lo gen_uuid.lo dload.lo hash.lo icmp.lo  inline.lo main.lo md5.lo queue.lo rwlock.lo scandir.lo  serial.lo sha1.lo strtoll.lo strtoull.lo threads.lo tools.lo  unicode.lo uuid.lo  -lnsl -ltermcap -lkstat -ldl -lsocket -lcrypto -lcrypto -lmysqlclient -lm -lz
    g++ -shared -nostdlib -Wl,-z,now -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -lpthread /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crti.o /usr/ccs/lib/values-Xa.o /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtbegin.o  .libs/config.o .libs/gen_uuid.o .libs/dload.o .libs/hash.o .libs/icmp.o .libs/inline.o .libs/main.o .libs/md5.o .libs/queue.o .libs/rwlock.o .libs/scandir.o .libs/serial.o .libs/sha1.o .libs/strtoll.o .libs/strtoull.o .libs/threads.o .libs/tools.o .libs/unicode.o .libs/uuid.o  -Wl,-R -Wl,/usr/sfw/lib/gcc/sparc-sun-solaris2.10 -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -lpthread -lnsl -ltermcap -lkstat -ldl -lsocket -lcrypto -lmysqlclient -lz -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../.. /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../..//.l -L/usr/sfw/lib -lm -lgcc_s /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtend.o /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtn.o  -Wl,-z -Wl,now -Wl,-h -Wl,libnetxms.so.0 -o .libs/libnetxms.so.0.0.2
    : No such file or directory-sun-solaris2.10/3.4.3/../../..//.libs/libstdc++.so
    *** Error code 1
    make: Fatal error: Command failed for target `libnetxms.la'
    Current working directory /opt/netxms-0.2.13/src/libnetxms
    *** Error code 1
    The following command caused the error:
    set fnord $MAKEFLAGS; amf=$2;
    dot_seen=no;
    target=`echo all-recursive | sed s/-recursive//`;
    list='libnetxms libnxcscp install  libnxmap libnxsnmp libnxsl server nxmibc nxscript'; for subdir in $list; do
      echo "Making $target in $subdir";
      if test "$subdir" = "."; then
        dot_seen=yes;
        local_target="$target-am";
      else
        local_target="$target";
      fi;
      (cd $subdir && make  $local_target)
       || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
    done;
    if test "$dot_seen" = "no"; then
      make  "$target-am" || exit 1;
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /opt/netxms-0.2.13/src
    *** Error code 1
    The following command caused the error:
    set fnord $MAKEFLAGS; amf=$2;
    dot_seen=no;
    target=`echo all-recursive | sed s/-recursive//`;
    list='m4 contrib src doc tools netware  sql images'; for subdir in $list; do
      echo "Making $target in $subdir";
      if test "$subdir" = "."; then
        dot_seen=yes;
        local_target="$target-am";
      else
        local_target="$target";
      fi;
      (cd $subdir && make  $local_target)
       || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
    done;
    if test "$dot_seen" = "no"; then
      make  "$target-am" || exit 1;
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /opt/netxms-0.2.13
    *** Error code 1
    make: Fatal error: Command failed for target `all'

    Could you please help me again ?

    Thanks for your great product & support


  • Installation on Sun Solaris
    I inadiyat
    Support

    I am trying to build on Sun Solaris 10.
    As suggested by the documentation:netxms_install_guide.pdf page 9, I downloaded netxms-0.2.13.tar.gz, gunzip and tar xf the file. All done successfully.
    After that I run:  sh ./configure --with-server --with-mysql
    After that I run: make, and then I got following error:

    libtool: link: `/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../..//libstdc++.la' is not a valid libtool archive
    *** Error code 1
    make: Fatal error: Command failed for target `libnetxms.la'

    I also tried to compile with make -i (mean ignore the error), and I got another erros.

    Could you please help me on this ? What's wrong ?

    Thanks for your great product.

    Adiyat

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups