List:General Discussion« Previous MessageNext Message »
From:Luke Kelty Date:March 28 1999 4:45am
Subject:Linking libmysqlclient.so.6 to apache on Solaris 2.6
View as plain text  
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=yes --prefix=/usr/local/mysql

Now I am trying to add the mod_auth_mysql to apache.
Here is my problem:

....
===> 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=260  gen_test_char.c
gcc  -I/usr/local/mysql/include/mysql  -DSOLARIS2=260   -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

Thread
Linking libmysqlclient.so.6 to apache on Solaris 2.6Luke Kelty28 Mar
  • Linking libmysqlclient.so.6 to apache on Solaris 2.6Michael Widenius29 Mar