On 2012-02-09, Alvaro Mantilla Gimenez <[email protected]> wrote:
> Hi Stuart,
>
> El 08/02/12 20:09, Stuart Henderson escribis:
>> On 2012-02-08, Alvaro Mantilla Gimenez <[email protected]> wrote:
>>> Hi,
>>>
>>>   I am trying to install NDOutils 1.5 on OpenBSD 5.0 amd64. I am having
>>> a weird error during compilation.
>> Not really weird, your include search path is wrong. Look at where
>> gcc is searching and compare to where the files are.
> Are we talking about this error?
>
> /usr/bin/ld: /tmp//ccdrJBOI.o: relocation R_X86_64_32 can not be used
> when making a shared object; recompile with -fPIC
> /tmp//ccdrJBOI.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status

Oh I didn't get that far down; that error message from the linker
is pretty clear though..

> I am not sure if this is something autogenerated by "configure" command
> or it is something I should change...somewhere...or just a GCC issue
> related with the platform (amd64).

Yes you'll need to change the compiler flags to use -fPIC

> Also, I research about this and it seems it is related with amd64
> only...other 64 bits platforms seems not have any issues like this.
>
>>>                                   I would like to know if somebody on
>>> this list has NDOutils 1.5 running with Nagios (from ports).
>> No but icinga + idoutils is in ports/packages and should work ok.
>> (the core program and "classic" aka nagios-style-but-nicer cgi web
>> interface work well; idoutils has seen a bit less testing but should
>> also work, the icinga-web port isn't quite finished yet but my
>> uncommitted diffs are not far off).
> Thanks for the tip about icinga + idoutils. I will test those too.

Personally I'm not going to spend much time on nagios problems
but am a bit more interested in any problems with running icinga on
OpenBSD. btw, I find that upstream icinga developers are usually
quite responsive too.

Reply via email to