Greetings,

I am a new Redhat Linux (7, publisher's edition) user, so please be clear
when giving instructions or
advice.  I am trying to set up an Apache server (ver 1.3.12) with MySQL
(3.22.32) and php(4.0.0) support.

MySQL and Apache are installed and working, but I am having a lot of
trouble getting php to find the files it needs in the mySQL
directory.  Has anyone had this problem before- and if so, how can I fix
it?  The debug.log file is attached to this message (I hope- it's my first
PINE message with an attachment)  The configure command that generated the
errors comes directly from a book named PHP fast & easy web development
that includes a CD ROM with the software.  It was written by Julie
C. Meloni.

Any help anyone can give me would be greatly appreciated- I need to switch
over from Microsoft ASP to PHP within the next 24 hours, so time is of the
essence!

Thank you,

Jesse Krenzelok
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 localhost.localdomain 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 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
-- 
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