21

I am using Homebrew installed apache.

After installing and linking this, I am getting getting this error message when trying to run apachectl start:

Symbol not found: _apr_bucket_alloc_aligned_floor
  Referenced from: /usr/local/Cellar/httpd/2.4.51/bin/httpd
  Expected in: /usr/lib/libaprutil-1.0.dylib
/usr/local/bin/apachectl: line 79:  4894 Abort trap: 6 

I tried uninstalling and re-installing several times with Homebrew. This did not help.

What has gone wrong and how can I fix it?

1 Answer 1

54

I found the answer (https://github.com/Homebrew/discussions/discussions/2482)

brew reinstall apr-util
4
  • 1
    Thank you! This is the answer. Thank you for answering your own question. 🙂
    – schmelding
    Dec 10, 2021 at 19:00
  • Thanks, this fixed the dyld[88779]: Symbol not found: _apr_bucket_alloc_aligned_floor Jan 5, 2022 at 12:30
  • Thanks, aslo fixes: dyld[9546]: Symbol not found: _apr_bucket_file_set_buf_size Feb 12, 2022 at 2:50
  • Thanks, it worked for me as well after installing the Monterey 12.2.1 update that break it. (thanks Apple for making me loose 1h of my time after each upgrade :D)
    – Thomas
    Feb 16, 2022 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.