Re: PHP installtion problem
| From: | Rasmus Lerdorf | Date: | Sun, 12 May 2002 02:35:37 +0000 |
| Subject: | Re: PHP installtion problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6944@lists.php.net to get a copy of this message | ||
Is there a libmysqlclient library somewhere under
/usr/local/mysql-3.22.32-pc-linux-gnu-i686 ?
On Sat, 11 May 2002, JOSEPH OGUNRO wrote:
> I ran into problem when compiling PHP with apache and mysql
> $ ./configure --with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/
> --with-apxs=/usr/local/apache_1.3.12/bin/apxs
>
> Below is the debug log
>
> CONFIGURE: './configure'
> '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/'
> '--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/include/freetype -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
> LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
> -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
> LIBS: -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
> uname -a: Linux itek02.itek.net 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
> gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
> -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c -lmysqlclient -lttf -lpng -lz
> -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
>
> Please HELP!
>
> joeogunro@msn.com
>