NDOUtils on x86_64 Compile Error

Marc Powell marc at ena.com
Wed Sep 9 22:47:45 CEST 2009


On Sep 9, 2009, at 2:39 PM, Deniz Yoldüz wrote:

> ok, i've found the threads here :
> http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg08149.html

I don't see how your problem is connected with that 3 year old thread.  
Can you explain the connection?

> The problem is when i try to compile ndoutils with the configure  
> command below, i'm getting that error.

This error, from the above thread?

make[2]: Entering directory `/tmp/nagios/ndoutils-1.3.1/src'
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o  
ndomod.c
io.o utils.o -shared -lnsl
/usr/bin/ld: io.o: relocation R_X86_64_32 against `a local symbol' can  
not
be used when making a shared object; recompile with -fPIC
io.o: could not read symbols: Bad value

Where? Show it.

> ./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... **************************

What have you done up to this point? Have you installed the mysql  
development libraries? Where are they located?

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





More information about the Users mailing list