SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    May 2003
    Location
    Berlin, Germany
    Posts
    1,829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem compiling PHP zip extension onto a Mac that has MAMP Pro

    Hi all,

    I am having some serious trouble compiling the zip extension for my MAMP installation. I used this tutorial here (using phpize):

    http://de3.php.net/manual/en/install.pecl.phpize.php

    All is well.. but when I run make test it gives me this:



    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0

    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0

    Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0



    So, from what I see there are two problems:

    1. compiling the zip.so fails...

    2. Some directories are wrongly set, because my extension .so files reside in /mamp/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/

    I see no "modules" in there, so.. Can anybody please help?
    Reply With Quote

  2. #2
    SitePoint Wizard
    Join Date
    May 2003
    Location
    Berlin, Germany
    Posts
    1,829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anybody?

  3. #3
    SitePoint Guru Ruben K.'s Avatar
    Join Date
    Jun 2005
    Location
    Alkmaar, The Netherlands
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you considered using xampp?

  4. #4
    SitePoint Wizard Busch's Avatar
    Join Date
    Jan 2004
    Posts
    1,072
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have a compiler installed?

    I had a similar problem and I had to download xcode from Apple's site to actually install software.


Bookmarks

Posting Permissions

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