Re: Install Probs with LInux/Apache/MySQL
| From: | Yasuo Ohgaki | Date: | Thu, 03 May 2001 04:43:12 +0000 |
| Subject: | Re: Install Probs with LInux/Apache/MySQL | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2994@lists.php.net to get a copy of this message | ||
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" <choman@mail.godwin.com> wrote in message
news:B715A2A5.1390%choman@mail.godwin.com...
> 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: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>