Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apache doesn't work after upgrade of macOs Sierra

Hi I'm trying to restart Apache after update of macOs Sierra and I'm getting this error>

dyld: Symbol not found: _apr_crypto_block_cleanup   Referenced from:
/usr/local/Cellar/httpd24/2.4.25/bin/httpd   Expected in:
/usr/local/opt/apr-util/libexec/lib/libaprutil-1.0.dylib  in
/usr/local/Cellar/httpd24/2.4.25/bin/httpd /usr/local/bin/apachectl:
line 79: 94187 Abort trap: 6           $HTTPD -k $ARGV

I've tried to reinstall apache and reinstall php56 and php70 but without any progress on this. Please does anybody know what to do?

like image 808
Petr Ogurcak Avatar asked Jan 25 '17 16:01

Petr Ogurcak


1 Answers

Just had the same issue myself and looks like and issue with the apr-util package.

To solve this as I use homebrew I simply did brew reinstall apr-util and this fixed my issue.

If you're using another package manager try to reinstall apr-util with their correct syntax.

like image 166
Phil Cook Avatar answered Oct 13 '22 21:10

Phil Cook