Changes between Initial Version and Version 1 of Ticket #34430
- Timestamp:
- May 13, 2012, 6:28:43 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34430
- Property Keywords php4 removed
- Property Owner changed from macports-tickets@… to ryandesign@…
-
Property
Status
changed from
new
toassigned
-
Ticket #34430 – Description
initial v1 5 5 Currently when trying to install (it seems the variants don't play role when trying to build php4 on Lion Server 10.7.3): 6 6 7 {{{ 7 8 sudo port -v install php4 -apache2 +mysql5 9 }}} 8 10 9 11 On building I get the following error on linking: 10 === 12 {{{ 11 13 sapi/cgi/php 12 14 Undefined symbols for architecture x86_64: … … 21 23 collect2: ld returned 1 exit status 22 24 make: *** [sapi/cgi/php] Error 1 23 === 25 }}} 24 26 25 27 This 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.