Hi Claude, all!

[EMAIL PROTECTED] wrote:
Hi,

I am compiling/installing MySQL 5.0.22 on Solaris 9 (patched). I received
the following error message .

Making all in zlib
make[2]: Entering directory `/tmp/mysql-5.0.22/zlib'
/bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -O3 -DDBUG_OFF
   -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -o libz.la [[...]]
(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
[[...]]

I can verbatim copy from a mail of mine to this list, sent 2006-Feb-8:

| The last command line quoted really looks suspicious:
|   false cru .libs/libz.a  adler32.o compress.o ...
|
| A "false" command is bound to fail!
|
| Looking at the parameters, this should certainly be
|   ar cru .libs/libz.a  adler32.o compress.o ...
|
| I guess you have some setting like "AR=false" or similar,
| check and correct that.


That other request was about MySQL 5.0.18 on Solaris 10, but I do not remember any answer how that continued.
I have no idea why "libtool" causes such problems on Solaris.

Do other calls "libtool ..... --mode=link" succeed in your build ?
Which version of libtool do you have installed ?

Typical versions we use are 1.4.3 and 1.5.6, depending on the hosts,
but I still suspect somehow "AR" has got a wrong value.


HTH,
Joerg

--
Joerg Bruehe, Senior Production Engineer
MySQL AB, www.mysql.com


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to