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'
> 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-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:       apache
> PHP_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
> 

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 Ohgaki


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