Description:
This is an old problem, which I thought had been fixed. It seems that
it is fixed in 5.0, but not 4.1 or 4.0.
I just did a new clone of 4.1, and then ran:
./BUILD/compile-pentium > log 2>&1
I did this on a FC4 linux box, with:
01:20 shell:~$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
01:21 shell:~$ automake --version
automake (GNU automake) 1.9.5
Written by Tom Tromey <tromey@redhat.com>.
Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
01:22 shell:~$ libtool --version
ltmain.sh (GNU libtool) 1.5.16 (1.1220.2.235 2005/04/25 18:13:26)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
When I do the build, I get:
01:23 shell:~/m/41/a$ ls libmysql/.libs/libmy*
libmysql/.libs/libmysqlclient libmysql/.libs/libmysqlclient.la
libmysql/.libs/libmysqlclient.14 libmysql/.libs/libmysqlclient.lai
libmysql/.libs/libmysqlclient.14.0.0 libmysql/.libs/libmysql.o
libmysql/.libs/libmysqlclient.a
I see the same on 4.0, but not on 5.0:
01:24 shell:~/m/50/a$ ls libmysql/.libs/libmy*
libmysql/.libs/libmysqlclient.a libmysql/.libs/libmysqlclient.so.15
libmysql/.libs/libmysqlclient.la libmysql/.libs/libmysqlclient.so.15.0.0
libmysql/.libs/libmysqlclient.lai libmysql/.libs/libmysql.o
libmysql/.libs/libmysqlclient.so
You can check the log file for either of these builds. Just do:
cd /nfstmp1/tsmith/m/{41,50}/a
less log
less config.log
...
Note: I'm seeing this on my FreeBSD box as well. A customer reported
it on SCO (4.1.16 source). On FreeBSD, I'm using autoconf 2.59,
automake 1.9.6, libtool 1.5.20. I'm not sure what versions the customer
uses.
How to repeat:
See description.
I'm quite sure this is a problem in our ltmain.sh or some such, given that it happens in the 4.0 and 4.1 trees, but not the 5.0 tree.
Suggested fix:
Examine differences between 4.1 and 5.0 build setup to determine where problem lies.
In the mean time, it is possible to use the shared libs with their current names, or to rename them.