Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059

    PHP ./configure error!

    checking if the location of ZLIB install directory is defined... /usr
    configure: error: Cannot find libz

    Here
    ./configure --enable-fastcgi --enable-discard-path --enable-force-redirect --with-zlib=/usr --with-zlib-dir=/usr --enable-pdo=shared --with-pdo-sqlite=shared --with-sqlite=shared --with-sqlite3=/usr/local/bin/sqlite3

    I used yum install libz and I located libz but it still says it's not there...what should I do?

  2. #2
    Join Date
    Oct 2004
    Location
    LA, CA
    Posts
    1,059
    NM, problem solved. For future reference, it's better to just compile from source instead of using yum when doing these php stuffs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •