Makefile GD lib problem on Centos 4 (aka RHES 4)
Luke Johnson
luke at rushmore.com
Fri Jun 17 17:30:04 CEST 2005
Think it's all worked out...
I meticulously went through Dhawal's list, and found one of the two
libpng devel libs missing from my RPM set (can't recall which one right
now). I installed it via Yum, and the ./configure went through fine.
Apologies to all for assuming I had ALL the libs...
As a second note, Dhawal was right a second time... The nagios
./configure was 'finding' libiconv and compiled fine, but when I ran the
cgis (by hand or through Apache) it griped:
[Fri Jun 17 07:11:52 2005] [error] [client 10.1.90.72]
/usr/local/nagios/sbin/statusmap.cgi: error while loading shared
libraries: libiconv.so.2: cannot open shared object file: No such file
or directory, referrer: http://nagios/side.html
So it wasn't finding the libiconv... I scratched my head for a bit, I
compiled/installed the newest libiconv project again, still got the same
error, then remembered the trick: ldconfig. That seemed to tie things
together, and now my cgis are pretty again.
Thanks all, and fwiw Nagios on Centos is pretty easy, all the packages
except for libiconv and Nagios itself are available and seem to work out
of the box.
LJ
Dhawal Doshy wrote:
> François Laupretre wrote:
>
>> Can you send your 'config.log' file ?
>> >
>> >
>> > Thanks Arno,
>> >
>> > In order...
>> >
>
>
> I have the following on centos 4.0, see if you are missing something..
>
> gd-2.0.28-4
> gd-devel-2.0.28-4
> libjpeg-6b-33
> libjpeg-devel-6b-33
> libpng-1.2.7-1
> libpng-devel-1.2.7-1
> libpng10-devel-1.0.16-1
> libpng10-1.0.16-1
>
> - dhawal
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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