Problem installing webalizer on Solaris 9 (sparc 64)

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Sirius Blac » Fri, 25 Nov 2005 16:48:32



Hello,

I'm having some problem in installing Webalizer on our Solaris 9
(sparc)

I installed all the needed packages using pkgadd but I couldn't find a
binary fo webalizer higher then solaris 8,
so I downloaded the source code and I tried...
but I get the following error
can anyone help?

dse01:/software/webalizer-2.01-10 root# ./configure
--with-language=italian    
loading cache ./config.cache
checking for gcc... (cached) gcc0 root# ./configure
--with-language=italian --en
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking for a BSD compatible install... (cached)
/opt/sfw/bin/ginstall -c
checking how to run the C preprocessor... (cached) gcc -E
checking whether char is unsigned... (cached) no
checking for main in -l44bsd... (cached) no
checking for main in -lm... (cached) yes
checking for main in -lz... (cached) yes
checking for gzrewind in -lz... (cached) yes
checking for main in -lpng... (cached) yes
checking for gdImagePng in -lgd... (cached) no
checking for libgd.a... (cached) /usr/local/lib
checking for gd.h... (cached) /usr/local/include
checking for getopt.h... (cached) no
checking for math.h... (cached) yes
checking default config dir... (cached) /etc
checking for language file... yes - italian
creating ./config.status
creating Makefile
linking ./lang/webalizer_lang.italian to webalizer_lang.h
dse01:/software/webalizer-2.01-10 root# make
gcc -L/usr/local/lib -o webalizer webalizer.o hashtab.o linklist.o
preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm
Undefined                       first referenced
 symbol                             in file
libiconv_close                      /usr/local/lib/libgd.so
libiconv_open                       /usr/local/lib/libgd.so
libiconv                            /usr/local/lib/libgd.so
ld: fatal: Symbol referencing errors. No output written to webalizer
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `webalizer'
dse01:/software/webalizer-2.01-10 root#

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Marc » Fri, 25 Nov 2005 17:45:58



> I'm having some problem in installing Webalizer on our Solaris 9
> (sparc)
> libiconv_close                      /usr/local/lib/libgd.so
> libiconv_open                       /usr/local/lib/libgd.so
> libiconv                            /usr/local/lib/libgd.so
> ld: fatal: Symbol referencing errors. No output written to webalizer
> collect2: ld returned 1 exit status
> *** Error code 1

Why does everybody use libiconv?

Well now you will need:
setenv LDFLAGS '-L/usr/local/lib -R/usr/local/lib -liconv'
(or the equivalent syntax in a better shell)
then run "make distclean" (if it accepts to run) and rerun configure.

But the point here is that your libgd was badly linked.

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Sirius Blac » Fri, 25 Nov 2005 22:26:45


Thank you for your answer... I'm still need some help

Quote:>Why does everybody use libiconv?

because I don't understand half of the command I type...
they usually do he job...

Quote:>Well now you will need:
>setenv LDFLAGS '-L/usr/local/lib -R/usr/local/lib -liconv'

dse01:/software/webalizer-2.01-10 root# setenv LDFLAGS
'-L/usr/local/lib -R /usr/local/lib -liconv'
bash: setenv: command not found

:-(((((

well at least now I understand I little bit more
thanks a lot

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Marc » Fri, 25 Nov 2005 22:41:33



>>Well now you will need:
>>setenv LDFLAGS '-L/usr/local/lib -R/usr/local/lib -liconv'
> dse01:/software/webalizer-2.01-10 root# setenv LDFLAGS
> '-L/usr/local/lib -R /usr/local/lib -liconv'
> bash: setenv: command not found

Ok, then you are using one of the better shells I was mentionning. Try:

LDFLAGS='-L/usr/local/lib -R/usr/local/lib -liconv'
export LDFLAGS

instead of the setenv line. You can then follow the rest of what I was
saying in my previous post.

It would actually be best if you reinstalled libgd using the same LDFLAGS
technique, or you will need to do this for every new library or program
that uses libgd.

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Gary Mill » Fri, 25 Nov 2005 23:31:49



Quote:>I'm having some problem in installing Webalizer on our Solaris 9
>(sparc)
>I installed all the needed packages using pkgadd but I couldn't find a
>binary fo webalizer higher then solaris 8,

Did the Solaris 8 version not work?  It should have.  Solaris
guarantees upward compatibility.

--
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Gary Mill » Sat, 26 Nov 2005 00:28:43




>> libiconv_close                      /usr/local/lib/libgd.so
>> libiconv_open                       /usr/local/lib/libgd.so
>> libiconv                            /usr/local/lib/libgd.so
>> ld: fatal: Symbol referencing errors. No output written to webalizer
>Why does everybody use libiconv?

That's why I think that Solaris should include a dummy version
of libiconv.  Otherwise, people will persist in installing a
software package that only duplicates what's already there.

--
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

 
 
 

Problem installing webalizer on Solaris 9 (sparc 64)

Post by Sirius Blac » Sat, 26 Nov 2005 01:54:48


IT WORKS

thank you so very much...

I've been trying for over two weeks looking everywhere in the internet

thank you thank you thank you

Luca

 
 
 

1. Problem when installing OpenBSD on an Ultra 5 / SPARC 64

Hi there,

I'm trying to install OpenBSD on an ultra 5 (ultra sparcIIi-360 Mhz, 512
RAM).
The installation's fine, I can make my partitions, and all the packages
i want are installed.
At the end, when I reboot the machine, OpenBSD seems to boot, the screen
turn from white to black (with white policy), but finally it doesn't
work: OpenBSD stops on the following message :

pcons at mainbus0 not configured

And that's all, i can do nothing ! (control+c, ...).

Any help would be appreciated.
Thank you

--
Nicolas CARTRON
System Administrator Unix & Linux
Webmaster http://www.squirrelmail-fr.org

GSM : +33.6.63.66.11.77

2. 'su ' vs. 'su -'

3. Userspaces 32-bit and 64-bit on Solaris Ultra Sparc

4. Linux Sony CDU33A support

5. Using WABI under Solaris 7 sparc 64-bit kernel

6. malloc Bug?

7. ******* Only 10 Meg available on 64 Meg Sparc 10/ Solaris 2.3 ***

8. Why Windows 95 doesn't suck

9. 64-bit poplog on solaris+sparc

10. Sparc 64 Problems

11. Problem with 64 bit gnu ld on sparc (sol8)

12. Sparc problem: userspace 32 bit, kernel 64 bit

13. HALstation (64-bit processor running 64-bit Solaris) as webserver