NDOUtils on x86_64 Compile Error
Deniz Yoldüz
dyolduz at gmail.com
Wed Sep 9 21:39:42 CEST 2009
ok, i've found the threads here :
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg08149.html
The problem is when i try to compile ndoutils with the configure command
below, i'm getting that error.
./configure --prefix=/usr/local/nagios/ --enable-mysql
--with-mysql-lib=/usr/lib64/mysql --disable-pgsql --with-ndo2db-user=nagios
--with-ndo2db-group=nagios CFLAGS="-fPIC"
Any idea?
*** MySQL library could not be located... **************************
You chose to compile NDOutils with MySQL support, but I was unable to
locate the MySQL library on your system. If the library is
installed, use the --with-mysql-lib argument to specify the
location of the MySQL library.
installed, use the --with-mysql=DIR argument to specify the
location of the MySQL library, We assume mysql_config is in DIR/dir
NOTE: After you install the necessary libraries on your system:
1. Make sure /etc/ld.so.conf has an entry for the directory in
which the MySQL libraries are installed.
2. Run 'ldconfig' to update the run-time linker options.
3. Run 'make devclean' in the NDBXT distribution to clean out
any old references to your previous compile.
4. Rerun the configure script.
TIP: Try the following....
./configure --with-mysql=/usr/lib/mysql
********************************************************************
On Wed, Sep 9, 2009 at 6:17 PM, Marc Powell <marc at ena.com> wrote:
>
> On Sep 9, 2009, at 7:59 AM, Deniz Yoldüz wrote:
>
> > Hi,
> > i did what you said on previous posts but still having the same
> > problem. Server runs 2.6.24.4-64.fc8 x86_64 kernel. i added CFLAGS="-
> > fPIC" and showed my libraries of mysql64 in configure but still no
> > good configuration status i have. Any updates about this you may know?
>
>
> You should restate your problem for the list or reference your
> original thread. I see no other postings from you or containing the
> words 'ndoutils x86_64' in the recent past.
>
> FWIW, I had no problems compiling under Centos 5.3, 2.6.18-128.el5,
> x86_64.
>
> --
> Marc
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090909/24636b21/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list