Changes between Initial Version and Version 1 of Ticket #34430


Ignore:
Timestamp:
May 13, 2012, 6:28:43 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34430

    • Property Keywords php4 removed
    • Property Owner changed from macports-tickets@… to ryandesign@…
    • Property Status changed from new to assigned
  • Ticket #34430 – Description

    initial v1  
    55Currently when trying to install (it seems the variants don't play role when trying to build php4 on Lion Server 10.7.3):
    66
     7{{{
    78sudo port -v install php4 -apache2 +mysql5
     9}}}
    810
    911On building I get the following error on linking:
    10 ===
     12{{{
    1113sapi/cgi/php
    1214Undefined symbols for architecture x86_64:
     
    2123collect2: ld returned 1 exit status
    2224make: *** [sapi/cgi/php] Error 1
    23 ===
     25}}}
    2426
    2527This seems to be a an old PHP bug where -lresolv is missing from the EXTRA_LIBS in generated Makefile. Adding the -lresolv to Makefile fixes the issue and php installs successfully. Would be nice if this is included as a patch after the configuration phase.