Re: Install Probs with LInux/Apache/MySQL

From: Date: Thu, 03 May 2001 15:24:58 +0000
Subject: Re: Install Probs with LInux/Apache/MySQL
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-3007@lists.php.net to get a copy of this message
See comments in message below.. > > If you have ld.so.conf configured and have shared lib some where. > Here ld.so.conf; verona:/usr/local/src# cat /etc/ld.so.conf /usr/X11R6/lib /usr/i486-linuxaout/lib /usr/local/mysql /usr/local/Hughes /usr/X11R6.3.3/lib /usr/local/lib /usr/lib Have tried with /usr/local/mysql/lib and /usr/local/mysql/lib/mysql in there as well - this above is the way file was originally (before I started trying to get PHP 4.05 and PDFlib to work) Here's directory of /usr/local/mysql verona:/usr/local/mysql# ls bin/ info/ libexec/ mysql.h share/ var/ include/ lib/ man/ mysql.sock| sql-bench/ Here's directory of /usr/local/mysql/lib: verona:/usr/local/mysql/lib# ls libmysqlclient.a libmysqlclient.so.6* libmysqlclient.so* mysql/ Here's directory of /usr/local/mysql/lib/mysql: verona:/usr/local/mysql/lib/mysql# ls libdbug.a libmysqlclient.la* libmysys.a libheap.a libmysqlclient.so.6@ libnisam.a libmerge.a libmysqlclient.so.6.0.0* libmysqlclient.a libmystrings.a > Try > > ./configure --with-mysql done. Here's debug log: verona:/usr/local/src/php-4.0.5# cat debug.log CONFIGURE: './configure' '--with-apxs=/www/bin/apxs' '--with-mysql' '--with-pd flib=/usr/local/src/pdflib-4.0.0' '--enable-track-vars' '--with-gnu-ld' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -DLINUX=2 -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 CXX: CXXFLAGS: INCLUDES: -I$(top_builddir)/Zend LDFLAGS: LIBS: -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 -DSUPPORT _UTF8 conftest.c -lresolv -lm -ldl -lresolv 1>&5 > > instead of > > ./configure --with-mysql=directory > > Are you sure your MySQL lib is OK? > No. I am on a co-located server built by my service provider - Colossus, Inc. Do you think it could be the compiler? I thought that it may be MySQL too and was going to reinstall it suggested I upgrade to "Thread" something. I have gcc 2.7.2.1 now. Was going to try to do all this with RPM but no go there. I have 2.0 and it refuses to let me install the rpm. Went to get higher version of rpm and couldn't unpack cpio to upgrade rpm!!! Needless to say, I am having a bear of a time. Finally -- go to http://www.mysitestation.com/phpinfo.php to see how the current version of PHP is configured. One thing I notice that may be a problem is that the system shows calcite.colossus.net and not verona.mysitestation.com -- Could that be a problem? > -- > 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 >> > > > -- > 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 >

« previous php.install (#3007) next »