Welcome to LQ.
Quote:
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o):
relocation R_X86_64_32 against ........
|
GDAL must link against ' libz.so '. And it will, if present.
So what happened to your system zlib ?
Example 32 - bit Linux :
ls -l /usr/lib/libz*
/usr/lib/libz.a*
/usr/lib/libz.so -> libz.so.1.2.3*
/usr/lib/libz.so.1 -> libz.so.1.2.3*
/usr/lib/libz.so.1.2.3 -> ../../lib/libz.so.1.2.3*
Which Linux are you using ?
The development package zlib1-dev or something like that
would be available in your 'Package Manager'.
Or should be build with : ./configure --shared
( The --shared option is a zlib option only, most other
libs use --enable-shared. .. Or "shared" is default.)
The command ' ./configure --help ' shows these options.
.....