Jump to content

debram99

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

debram99's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the info, Shoz.  I found the libz files in /usr/lib.  I tried using --with-zlib-dir=/usr, but I still had the same problem on mysql 5.1.  I installed mysql 4.1 and had the same problem.  So I began to think maybe I needed a different tarball. I had downloaded the mysql tarball listed under heading "Linux (x86, glibc-2.2, 'standard' is static, gcc)".  I downloaded the tarball listed under "Linux (x86)" (I don't know the real difference b/w the two), and it worked with php.  Thanks again.
  2. I'm a newbie to php, mysql, and apache.  I can't get php to configure with mysql.  I'm on Fedora core 4.  I successfully installed apache2 and mysql 5.0.24a.  I'm running the following configure command for php: ./configure --prefix=/usr/local/php               --with-config-file-path=/usr/local/php               --with-mysql=/usr/local/mysql               --with-apxs2=/usr/local/apache/bin/apxs               --enable-track-vars               --enable-magic-quotes             It gives me the following error:         configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information. If I exclude the --with-mysql, then it configures with no problem.  I've tried including the --with-zlib-dir=/usr/includes (and other directories), but it then it gives the following error:         configure: error: mysql configure failed. Please check config.log for more information. I see nothing obvious in the config.log.  Here are the last several lines of the log: file.cpp: undefined reference to `__builtin_delete' /usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x28c): In function `TaoCrypt::FileSink::~FileSink(void)': file.cpp: undefined reference to `__builtin_delete' collect2: ld returned 1 exit status configure: failed program was: #line 58781 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error.  */ /* We use char because int might match the return type of a gcc2     builtin and then its argument prototype would still apply.  */ char mysql_error(); int main() { mysql_error() ; return 0; } Any help would be much appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.