*Emails a bottle of champaign to Giles*<br><br>Thx man,<br><br>I checked your configure command and used the following and it worked.<br><br>./configure --enable-mysql --with-mysql-lib=/usr/lib64<div id="mb_2">/mysql --disable-pgsql CFLAGS="-fPIC"
<br><br>I am compiling for MySQL support only with this command.<br><br>Thx again!!!!<br><br>Craig</div><br><br><div><span class="gmail_quote">On 11/9/06, <b class="gmail_sendername">Giles Coochey</b> <<a href="mailto:GilesC@carmenmedia.com">
GilesC@carmenmedia.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br> Hi List,<br><br> Sorry if this is a report, I have searched the lists and cant
<br>fond an answer to the following:<br><br> I am trying to compile the NDOutils 1.3.1 on and x86_64 platform<br>and get the following error:<br><br> make[2]: Entering directory `/tmp/nagios/ndoutils- 1.3.1/src'
<br> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o<br>ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl<br> /usr/bin/ld: io.o: relocation R_X86_64_32 against `a local<br>symbol' can not be used when making a shared object; recompile with
<br>-fPIC<br> io.o: could not read symbols: Bad value<br> collect2: ld returned 1 exit status<br> make[2]: *** [ndomod-2x.o] Error 1<br> make[2]: Leaving directory `/tmp/nagios/ndoutils-1.3.1/src'
<br> make[1]: *** [ndomod] Error 2<br> make[1]: Leaving directory `/tmp/nagios/ndoutils- 1.3.1/src'<br><br><br> Has any1 got any ideas what might be causing this error and how<br>to correct it?<br><br>
Thanks<br><br> Craig<br><br><br>I have not compiled or used ndoutils in the past, but I do have a x64<br>platform and I tried to compile it just now.<br><br>I get the exact same error on a Gentoo x64 system.
<br><br>Try:<br><br>./configure --build=i386 --host=i386 --libdir=/usr/lib32 CFLAGS="-fPIC"<br><br>Then "make" and you go.<br><br>______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>For more information please visit <a href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a><br>______________________________________________________________________
<br></blockquote></div><br>