Hi, I'd like to build MySQL 5.0.18 on a 3.8 machine. It doesn't work since there are discrepancies between the assumed and real numbers of shared libs (I have BSDPORTSDIR set appropriately):
===> Building package for mysql-client-5.0.18p0 Switching to /home/obsd/ports/databases/mysql/pkg/PFRAG.shared Error in package: "/home/obsd/ports/databases/mysql/w-mysql-5.0.18/fake-i386//usr/local/lib/mysql/libmysqlclient.so.16.0" does not exist Error in package: "/home/obsd/ports/databases/mysql/w-mysql-5.0.18/fake-i386//usr/local/lib/mysql/libmysqlclient_r.so.16.0" does not exist ===> Cleaning for mysql-client-5.0.18p0 rm -f /home/obsd/ports/packages/i386/all/mysql-client-5.0.18p0.tgz *** Error code 1 Stop in /home/obsd/ports/databases/mysql (line 2075 of /home/obsd/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /home/obsd/ports/databases/mysql (line 1308 of /home/obsd/ports/infrastructure/mk/bsd.port.mk). # /usr/bin/find w-mysql-5.0.18 -name 'libmysqlclient.so.16*' w-mysql-5.0.18/fake-i386/usr/local/lib/libmysqlclient.so.16.0 # /bin/ls -al w-mysql-5.0.18/fake-i386/usr/local/lib/ total 8 drwxr-xr-x 4 root wheel 512 Feb 28 23:10 . drwxr-xr-x 11 root wheel 512 Feb 28 23:10 .. drwxr-xr-x 3 root wheel 512 Feb 28 23:10 X11 lrwxr-xr-x 1 root wheel 28 Feb 28 23:10 libmysqlclient.so.16.0 -> mysql/libmysqlclient.so.16.0 lrwxr-xr-x 1 root wheel 30 Feb 28 23:10 libmysqlclient_r.so.16.0 -> mysql/libmysqlclient_r.so.16.0 drwxr-xr-x 2 root wheel 512 Feb 28 23:10 mysql # /bin/ls -al w-mysql-5.0.18/fake-i386/usr/local/lib/mysql/ total 5544 drwxr-xr-x 2 root wheel 512 Feb 28 23:10 . drwxr-xr-x 4 root wheel 512 Feb 28 23:10 .. -r--r--r-- 1 root bin 10482 Feb 28 23:10 libdbug.a -r--r--r-- 1 root bin 38920 Feb 28 23:10 libheap.a -r--r--r-- 1 root bin 319328 Feb 28 23:10 libmyisam.a -r--r--r-- 1 root bin 22754 Feb 28 23:10 libmyisammrg.a -rw-r--r-- 1 root bin 472346 Feb 28 23:10 libmysqlclient.a -rwxr-xr-x 1 root bin 869 Feb 28 23:10 libmysqlclient.la -rwxr-xr-x 1 root bin 440948 Feb 28 23:10 libmysqlclient.so.15.0 -rw-r--r-- 1 root bin 478354 Feb 28 23:10 libmysqlclient_r.a -rwxr-xr-x 1 root bin 891 Feb 28 23:10 libmysqlclient_r.la -rwxr-xr-x 1 root bin 446556 Feb 28 23:10 libmysqlclient_r.so.15.0 -r--r--r-- 1 root bin 246470 Feb 28 23:10 libmystrings.a -r--r--r-- 1 root bin 255884 Feb 28 23:10 libmysys.a -r--r--r-- 1 root bin 14750 Feb 28 23:10 libvio.a I don't understand what the change of Makefile (rev. 1.114 -> 1.115) was good for - the log message is too cryptic for me, but this seems to break the build. At least (as can be seen) the change doesn't seem to be propagated through the tree. Why is it a good idea to have .so numbers different from upstream? Where should I look? TIA! Best, --Toni++