Hello Am trying to compile mysql-5.0.18 under solaris 10 but get the following error
Making all in zlib make[2]: Entering directory `/tmp/mysql-5.0.18/zlib' /bin/bash ../libtool --preserve-dup-deps --mode=link gcc -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -o libz.la -rpath /usr/local/mysql/lib/mysql -version-info 3:3:2 adler32.lo compress.lo crc32.lo deflate.lo gzio.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo uncompr.lo zutil.lo -lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread rm -fr .libs/libz.so .libs/libz.so.1 .libs/libz.so.1.2.3 gcc -shared -Wl,-h -Wl,libz.so.1 -o .libs/libz.so.1.2.3 .libs/adler32.o .libs/compress.o .libs/crc32.o .libs/deflate.o .libs/gzio.o .libs/infback.o .libs/inffast.o .libs/inflate.o .libs/inftrees.o .libs/trees.o .libs/uncompr.o .libs/zutil.o -lpthread -lthread -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread -lc (cd .libs && rm -f libz.so.1 && ln -s libz.so.1.2.3 libz.so.1) (cd .libs && rm -f libz.so && ln -s libz.so.1.2.3 libz.so) false cru .libs/libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o make[2]: *** [libz.la] Error 1 make[2]: Leaving directory `/tmp/mysql-5.0.18/zlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-5.0.18' make: *** [all] Error 2 I checked for libz and found /opt/csw/lib/libz.so.1.2.3 in the system... probably the problem is that mysql looks for libz.la and the system has libz.so... what can I do? am thinking on remove the libz shipped with solaris and install it from sources, but probably could break system dependences. Any suggestion before I try anything? Regards