I am having trouble with 'make' on php-4.0.0 with apxs.
configure:
./configure --with-mysql=/usr/local/mysql/
--with-apxs=/usr/local/apache/bin/apxs
I ran make and I am getting an error saying that it can't find -lmysqlclient:
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: [libphp4.la] Error 1
..
I read previous post about this but it did
not help due to either I overlooked (spent almost 2 hours reading other posts but found only 1 or 2 about this subject, but did not get the clarification) or
did not understand exactly what they meant
and I couldn't get the clear answer from
previous post about this subject.
I did try some of the following:
I found libmysqlclient.a file in
/usr/local/mysql/lib directory.
I added this directory line into
/etc/ld.so.conf file and ran 'ldconfig'
I ran 'make clean' and re-did make again.
but I am getting the same error.
any help with clear step by step answer would be appreciated... answer with why I am getting error would be also appreciated.
thanks.