Re: Problems with php install
| From: | Yasuo Ohgaki | Date: | Sun, 02 Dec 2001 01:34:13 +0000 |
| Subject: | Re: Problems with php install | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5157@lists.php.net to get a copy of this message | ||
Root wrote:
Hi, I am trying to install PHP onto my Linus server and I am getting errors. The message says to contact you for help. I have looked all over the net for the hack but have not found it. Obviously I am new to Linux. Please tell me what is wrong. Thanks, Rick ------------------------------------------------------------------------ CONFIGURE: './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/' '--with-apxs=/usr/local/apache_1.3.12/bin/apxs'You are specifying invalid path to MySQL lib. /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql Fix your configure line or use built in mysql lib. -- Yasuo OhgakiCC: 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-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 -lresolv -lm -ldl -lcrypt -lnsl -lresolv DLIBS: SAPI: apachePHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql uname -a: Linux .asurefit 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 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 -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status