Compile problem linking iconv library (nagios 3.4.1)

Alex Griffin agriffin at nagios.com
Wed May 30 17:27:51 CEST 2012


Unfortunately, I think this is actually a long-standing bug in Nagios
Core. International characters are only displayed correctly from plugin
output. They are not displayed correctly when read from object
definitions, and are not allowed in text fields in the web interface
like submitting passive check results.

Alex Griffin
---
Tech Team
agriffin at nagios.com

On 05/27/2012 11:39 PM, Yu Watanabe wrote:
> I am using ja_JP.UTF-8 for character code.
> 
> Yu Watanabe さんは書きました:
>> Hi !
>>
>> I had some trouble displaying Japanese characters on UI.
>> I am guessing that this occured because of the link error to iconv library
>> during the compileation.
>>
>> configure:5977: checking for main in -liconv
>> configure:6004: gcc -o conftest -g -O2   conftest.c -liconv>&5
>> /usr/bin/ld: cannot find -liconv
>>
>> According to the ldconfig , libiconv seems to be cached properly.
>>
>> ldconfig -p | grep iconv
>>         libiconv.so.2 (libc6) =>  /usr/lib/libiconv.so.2
>>
>> I have tried setting , LD_LIBRARY_PATH or iibdir but
>> it made no difference.
>>
>> Does anyone had similar problem with the link error with iconv?
>>
>> Thanks,
>> Yu
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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