Steve indicated his version is hand compiled, you're using the Sun Freeware version...
(and yes, Steve, you should be building .so - shared - libraries) It's certainly possible that he created a version of gd on a system without libiconv that doesn't need it. But I'm stumped about what's different between the 3 systems you're talking about... It shouldn't hurt to have an extra -l, so I wonder if we can get Luca to 'splain why he removed it... putting it back would be, IMHO, the simplest answer. Luca?? On the plus side, it looks like he commited the bus fix change into pbuf.c along with the other crud he did this morning (US time). -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Tremaine Sent: Tuesday, November 18, 2003 12:43 PM To: [EMAIL PROTECTED] Subject: RE: [Ntop] Solaris 8 & 9 Ntop 2.2.96 > Don't really know, but I believe Luca runs Solaris on both. > > Questions - > > 1. If you locate libiconv, do you find it on the various systems? > On 2 out of 3 systems I've tried it on. (So no pattern) > 2. Which gd are you using? Hand compiled, or the binary from Sun Freeware? > (It could be that they have the dependency (and maybe are the source of > libiconv too, for that matter). Binary from SunFreeware because all these systems had MRTG installed first. > > 3. You might try something fancy in the configureextra/SOLARIS9 file. In > the redhat9, I've got an example of using an if to test for something: > > echo " Setting RedHat 9 specific flag values" > CPPFLAGS="-DHAVE_FILEDESCRIPTORBUG ${CPPFLAGS}" > .. .. > would something like this work across all systems??? > > if test -f /usr/lib/libiconv.so; then > LIBS="-liconv ${LIBS}" > fi > > Like I said having the libiconv is not the determining factor, I actaully wrote something like that as a test with pkginfo SMCiconv. But one system I tried it on DID NOT have the libiconv package installed and still failed the gd test so having that switch will not solve the problem. The dependency could be in GD but looks like at least one other person who built by hand has this problem also so....I'll poke around at it again when I have sometime but at least we know that 2.2.96 works with a few small tweaks. > -----Burton > -- Mike Tremaine [EMAIL PROTECTED] http://www.stellarcore.net _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
