Skip to Content Skip to Search Go to Top Navigation Go to Side Menu
Search on Site

Apache2 and OS X

Friday, July 20, 2007

This is more a note to myself than anyone else, but to compile Apache2 on OS X, use the following configure:

  1. ./configure –with-included-apr –enable-so –enable-mods-shared=most

When Apache starts whinging about “dlname not found, assuming libtool archive” and shit, and refuses to produce .so modules instead kicking out a bunch of .a and .la files in their place, it means you’ve fucked up somewhere along the line, probably because this isn’t the first time you’ve tried to run the configure script.

Delete the entire Apache source directory and start again. If you are lucky you’ll even get a nice copy of libexpat.0.dylib at the end of it all.

Popularity: 93% [?]

Leave a Reply


In order to submit a comment, you need to mention your name and your email address (which won't be published).

Comment Form