I'm trying to follow along with the book _PHP fast & easy web
development_ and I am pretty frustrated.

I've tried installing, after make install I get output on the screen
just above the License block stting that "something is probably screwy
here..." and I am advised to review debug.log, and if I am unable to fix
the  problem, to post the debug log here.

So, if you can help, muchas appreciadas.

Best,

Jud



The problem seems to be that "cannot find -lmysqlclient".

I am running RH7 on a Celeron 733, with MySQL 3.22.32, which is working,
and Apache 1.3.12, which is working.



Contents of debug.log

CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql/'
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend
-I$(top_srcdir)  -I/usr/local/mysql//include
LDFLAGS:     -Wl,-rpath,/usr/local/mysql//lib/mysql
-L/usr/local/mysql//lib/mysql
LIBS:       -lmysqlclient -lpng -lz -lgd -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/local/mysql//lib/mysql
uname -a:   Linux localhost.localdomain 2.2.16-22 #1 Tue Aug 22 16:49:06
EDT 2000 i686 unknown

gcc -o conftest -g -O2   -Wl,-rpath,/usr/local/mysql//lib/mysql
-L/usr/local/mysql//lib/mysql conftest.c -lmysqlclient -lpng -lz -lgd
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to