help with webalizer

nikki

2001-10-29 21:28:00

when I attempt to run webalizer, I get:
dyld: webalizer can't open library: /usr/local/lib/libpng.2.dylib (No such file or directory, errno = 2)

I've tried installing libpng and zlib from the libraries page, but wih no luck. /usr/local/lib/ contains files named libpng.a and so on. What do I need to do?

forty_two

2001-12-18 01:28:00

I have been having this exact same problem. Does anyone know the fix?

Just saying "me too" to catch more attention... sorry.

forty_two

2001-12-20 02:14:00

Originally posted by broohaha:
Did you download and install the libpng package from http://macosx.forked.net/libs.php3?


Yes. I installed it, and ``make test'' checks out OK.

broohaha

2001-12-20 08:53:00

Did you download and install the libpng package from http://macosx.forked.net/libs.php3?

Anonymous

2002-06-01 12:56:00

Anyone ever figure this out? It's May 2002 and I'm having the same problem.

brossow

2002-06-12 20:16:00

I'm having problems with Webalizer, too. I downloaded and installed Webalizer and libpng 1.0.12 (small) from this site. I get the following error message:

dyld: ./webalizer version mismatch for library: /usr/lib/libz.1.dylib (compatibility version of user: 1.1.3 greater than library's version: 1.0.0)

I've tried installing zlib 1.1.3 from this site, but when I do 'make test' I get a failure. Here's what I get:

[mail:/usr/local/zlib-1.1.3] admin% sudo make test
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o example.o example.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o adler32.o adler32.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o compress.o compress.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o crc32.o crc32.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o gzio.o gzio.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o uncompr.o uncompr.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o deflate.o deflate.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o trees.o trees.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o zutil.o zutil.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o inflate.o inflate.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o infblock.o infblock.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o inftrees.o inftrees.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o infcodes.o infcodes.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o infutil.o infutil.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o inffast.o inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -o example example.o -L. -lz
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -c -o minigzip.o minigzip.c
cc -O -DHAVE_UNISTD_H -DUSE_MMAP -o minigzip minigzip.o -L. -lz
hello world
uncompress(): hello, hello!
gzread err: foo.gz: stream end
*** zlib test FAILED ***

I did all this as root, so it's not a permissions problem. I don't understand why it fails, but it does. I think if I could get zlib to compile properly I'd be fine. Anyone have thoughts on this?

circ

2002-07-03 16:17:00

Ok, so webalizer is noted on the download page to have no dependancies. Well it does depend on libpng since calling webablizer says...

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
dyld: webalizer can't open library: /usr/local/lib/libpng.2.dylib (No such fil)
</pre>[/quote]

...and libpng has a dependancy, on zlib, which I was able to make and make install without any problem. but running webablizer after that yields the following error...

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
dyld: webalizer version mismatch for library: /usr/local/lib/libz.1.dylib
(compatibility version of user: 1.1.3 greater than library's version: 1.0.0)
</pre>[/quote]

And, like brossow, my "make test" test fails too...

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
root# make test
hello world
uncompress(): hello, hello!
gzread err: foo.gz: stream end
*** zlib test FAILED ***
</pre>[/quote]


[img]images/icons/confused.gif"%20border="0[/img]

[ July 03, 2002: Message edited by: kapusta ]</p>

Anonymous

2004-11-29 17:24:00

Did anyone figure out how to fix the gzread err: foo.gz stream end error? The thread ended with this unresolved and I am having the same problem.