If you have ld.so.conf configured and have shared lib some where.

Try

./configure --with-mysql

instead of

./configure --with-mysql=directory

Are you sure your MySQL lib is OK?

--
Yasuo Ohgaki


"Charles Homan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Have tried a thousand suggestions from lists all over.  Please help me.  I
> am begging.  Here's my debug.log;
>
> verona:/usr/local/src/php-4.0.4pl1# cat debug.log
> CONFIGURE:   './configure' '--with-apxs=/www/bin/apxs'
> '--with-mysql=/usr/local/mysql' '--with-pdflib=/usr/local/src/pdflib-4.0.0'
> '--enable-track-vars'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:    -DLINUX=2 -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT
> CXX:
> CXXFLAGS:
> INCLUDES:     -I$(top_builddir)/Zend
> LDFLAGS:
> LIBS:       -lmysqlclient -lresolv -lm -ldl  -lresolv
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:
> uname -a:   Linux verona.mysitestation.com 2.0.36 #24 Thu May 18 22:53:18
> PDT 20
> 00 i586
>
> gcc -o conftest -g -O2  -DLINUX=2 -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT
> conftest
> .c -lmysqlclient -lresolv -lm -ldl  -lresolv 1>&5
> ld: cannot open -lmysqlclient: No such file or directory
>
> I get the infamouse attention message after I try to configure.  I have the
> right paths to mysql.  I have the libmysqlclient files in
> /usr/local/mysql/lib/mysql and symbolic linked to /usr/local/mysql
> ld.so.conf is correct.  Please before I loose the rest of my hair.... help!
> --
> Charles Homan
> Group Creative Director
> GodwinGroup
> Oxford, Mississippi
> 662.236.4442
>
>
> --
> 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]
>


-- 
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