Ad Widget

Collapse

zabbix_server will not run following make install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dnerdahl
    Junior Member
    • Oct 2006
    • 2

    #1

    zabbix_server will not run following make install

    I'm installing Zabbix on a solaris 9 server and I have completed the configure and the make/make install. I go to the /usr/local/bin directory and attempt to run the zabbix_server file located there and receive the following error:

    ld.so.1: zabbix_server: fatal: libmysqlclient.so.15: open failed: No such file or directory
    Killed

    The libmysqlclient.so.15 file is in the mysql lib directory that was detected and used during the configure.

    I'm at a bit of a loss, anyone have any ideas?
  • dnerdahl
    Junior Member
    • Oct 2006
    • 2

    #2
    Additional information

    As a side note: I was looking at the config.status and Makefile files and I noticed that the MYSQL_LFLAG and MYSQL_LIB variables seemed to have their data swapped. I made manual changes to those two files to adjust the LIB path and still encountered the same error.

    Comment

    • novakm
      Member
      • Apr 2009
      • 38

      #3
      Solution

      Hi, I encountered the same problem and found the solution. I found this thread googling for answer so I will post it here to help other people:

      You need to set your LD_LIBRARY_PATH variable correctly, for example:
      LD_LIBRARY_PATH ='/opt/csw/lib:/opt/csw/mysql5/lib/mysql' (I installed mysql via pkg-get on Solaris 10)

      Hope that helps,

      Martin

      Comment

      Working...