Hi Martijn,
On 05.07.2012 20:41, Martijn van Exel wrote:
Same problem persists. I have a feeling it has something to do with a
wrong libz being installed on my system.
Here's my output for ldconfig:
mvexel@lima$ ldconfig -pNX | grep 'libz\.so'
libz.so.1 (libc6,x86-64) => /usr/local/lib/libz.so.1
libz.so.1 (libc6,x86-64) => /lib/libz.so.1
libz.so.1 (libc6) => /usr/lib32/libz.so.1
libz.so (libc6,x86-64) => /usr/local/lib/libz.so
libz.so (libc6,x86-64) => /usr/lib/libz.so
this is a step into the right direction but still not really enough :)
gzbuffer() was introduced in zlib 1.2.4 so to confirm you need to know
the exact version... To do that, take this program:
#include <stdio.h>
#include <zlib.h>
int main(int argc, char** argv)
{
printf("zlib header version %s\n", ZLIB_VERSION);
printf("zlib runtime version %s\n", zlibVersion());
}
Compile it with
gcc zversion.c -o zversion -lz
and run it.
If you're using Ubuntu, chances are you still have zlib 1.2.3 - on the
next machine available to me running precise/12.04 I get:
zlib header version 1.2.3.4
zlib runtime version 1.2.3.4
In any case, you could try to download the newest zlib version (1.2.7)
from zlib.net and compile it yourself.
Bye
Igor
_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev