Page 1 of 1

help with webalizer

PostPosted: Mon Oct 29, 2001 9:28 pm
by nikki
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?

Re: help with webalizer

PostPosted: Tue Dec 18, 2001 1:28 am
by forty_two
I have been having this exact same problem. Does anyone know the fix?

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

Re: help with webalizer

PostPosted: Thu Dec 20, 2001 2:14 am
by forty_two
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.

Re: help with webalizer

PostPosted: Thu Dec 20, 2001 8:53 am
by broohaha
Did you download and install the libpng package from http://macosx.forked.net/libs.php3?

Re: help with webalizer

PostPosted: Sat Jun 01, 2002 12:56 pm
by <miguel@osxguide.com&g
Anyone ever figure this out? It's May 2002 and I'm having the same problem.

Re: help with webalizer

PostPosted: Wed Jun 12, 2002 8:16 pm
by brossow
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?

Re: help with webalizer

PostPosted: Wed Jul 03, 2002 4:17 pm
by circ
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>

Re: help with webalizer

PostPosted: Mon Nov 29, 2004 5:24 pm
by <Patricia>
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.