From: Luke Kelty Date: March 28 1999 4:45am Subject: Linking libmysqlclient.so.6 to apache on Solaris 2.6 List-Archive: http://lists.mysql.com/mysql/1079 Message-Id: <001101be78d5$dc0d9f40$1400a8c0@monkey> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01BE7929.AD010DA0" ------=_NextPart_000_000E_01BE7929.AD010DA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is my OS: # uname -a SunOS server2 5.6 Generic_105182-11 i86pc i386 i86pc Here is my compiler # gcc -v Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.6/2.8.1/specs gcc version 2.8.1 Here is how I build mysql ./configure --with-gnu-ld -enable-shared=3Dyes = --prefix=3D/usr/local/mysql Now I am trying to add the mod_auth_mysql to apache. Here is my problem: .... =3D=3D=3D> main gmake[1]: Entering directory `/public/install/apache_1.3.4/src/main' gcc -c -I../os/unix -I../include -I/usr/local/mysql/include/mysql = -I/usr/local /mysql/include/mysql -DSOLARIS2=3D260 gen_test_char.c gcc -I/usr/local/mysql/include/mysql -DSOLARIS2=3D260 = -L/usr/local/mysql/lib - o gen_test_char gen_test_char.o -lmysqlclient -lm = -L/usr/local/mysql/lib/mysql - lmysqlclient -lsocket -lnsl ./gen_test_char >test_char.h ld.so.1: ./gen_test_char: fatal: libmysqlclient.so.6: open failed: No = such file or directory Killed gmake[1]: *** [test_char.h] Error 137 gmake[1]: Leaving directory `/public/install/apache_1.3.4/src/main' gmake: *** [subdirs] Error 1 I have searched through the mail archives for the past few days. I don't know how to get apache to recognise this file. Can anyone help ? Regards Luke Kelty SENOJWEB Ph: +61-3-9417-3477 Fax: +61-3-9417-3470 Mobile: 0418-569-212 ------=_NextPart_000_000E_01BE7929.AD010DA0--