Just a correction:
Build works OK. It is the install (make install
key=mysql-server-4.0.24p1) which produces the error!

Regards,
H. Badbanchi

-----Original Message-----
From: Badbanchi Hossein 
Sent: Tuesday, November 07, 2006 11:04
To: misc@openbsd.org
Subject: Shared library without SHARED_LIBS:

Hi,
I use an application which needs mysql version < 4.1! My OpenBSD version
is 3.9 (which has mysql version 5).

Tried to install the 3.8 package. Didn't work since the 3.8 packages are
linked against 3.8 libraries.

Next installed 3.8 ports.tar.gz on my 3.9 OpenBSD, and tried "make build
key=mysql-server-4.0.24p1".

The process stops by creating the "mysql-client-4.0.24" package, with
the following message:
==================================================
===>  Building package for mysql-client-4.0.24 Switching to
/usr/ports/databases/mysql/pkg/PFRAG.shared
Shared library without SHARED_LIBS: @lib lib/libmysqlclient.so.12.0
Shared library without SHARED_LIBS: @lib lib/libmysqlclient_r.so.12.0
Shared library without SHARED_LIBS: @lib
lib/mysql/libmysqlclient.so.12.0 Shared library without SHARED_LIBS:
@lib lib/mysql/libmysqlclient_r.so.12.0
===>  Cleaning for mysql-client-4.0.24
rm -f /usr/ports/packages/i386/all/mysql-client-4.0.24.tgz
*** Error code 1

Stop in /usr/ports/databases/mysql (line 1956 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/mysql (line 1232 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports (line 108 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).
==================================================

Have tried all I could think of, and have done much googling, but no
chance.

>From the list of what I have already tried:
1) Added 
#SHARED_LIBS=             ???
to /usr/ports/infrastructure/templates/Makefile.template.

2) Added
SHARED_LIBS=    mysqlclient     12.0 \
                mysqlclient_r   12.0
to /usr/ports/databases/mysql/Makefile.

3) Added
USE_LIBTOOL=    Yes
to /usr/ports/databases/mysql/Makefile.


I appreciate any help/hint.

Regards,
H. Badbanchi

Reply via email to