Problem with making

Hello Everyone,
I thought to share my problem to seek some advice…I am trying to install root on a remote machine after ssh-int it

./configure goes fine
but when I “make” after some good amount of execution, process reports following error

/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [lib/libRMySQL.so] Error 1

can I get some advice on how to fix this.

Thanks

Hi,

Most likely there is a mix up between 32 bits and 64 bits libraries installed on that machine. Unless you need the mysql plugin I suggest try to disable it (–disable-mysql add to the configure line) as a first step.

Cheers,
Philippe.