liip / php-osx

DEPRECATED: See https://php-osx.liip.ch/ for details. The uploader and website for the PHP 5 package for OS X 10.6 built with https://github.com/liip/build-entropy-php
http://php-osx.liip.ch
Other
327 stars 30 forks source link

Mavericks: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv #75

Closed jmaver closed 10 years ago

jmaver commented 11 years ago

I am have had PHP installed for quite a while on a machine I upgraded to Mavericks. All worked fine. Today, I decided to update to 5.5, and the install seems to go ok, but apache won't start with the new php libphp5.so.

I get the following error:

Syntax error on line 1198 of /private/etc/apache2/httpd.conf: 
 Syntax error on line 8 of /private/etc/apache2/other/+php-osx.conf: 
  Cannot load /usr/local/php5/libphp5.so into server: 
   dlopen(/usr/local/php5/libphp5.so, 10): 
   Symbol not found: _libiconv\n  
   Referenced from: /usr/local/php5/lib/libintl.8.dylib\n
   Expected in: /usr/lib/libiconv.2.dylib\n in /usr/local/php5/lib/libintl.8.dylib

If I copy in the old libphp5.so, then it loads fine. Is there any workaround for this?

chregu commented 10 years ago

Glad you could solve the issue, there's no real uninstall script, btw, but it's described here:

http://php-osx.liip.ch/#uninstall

faddah commented 10 years ago

Uninstall script, that would remove everything, including references in httpd.conf, would be nice. just a suggestion.

best,

— faddah wolf portland, oregon, u.s.a. github.com/faddah