Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 243241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:54:17+00:00 2026-05-11T20:54:17+00:00

Last Thursday I built SVN from source on my Mac running Leopard 10.5.7 so

  • 0

Last Thursday I built SVN from source on my Mac running Leopard 10.5.7 so that I could get svn+ssh capability. (For some reason that functionality wasn’t available using the binary from Collabnet.)

The build was successful and I was able to use SVN afterwords, but apache stopped launching.

When I tracked down the error, this is what I’m getting:

Syntax error on line 117 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec
/apache2/mod_dav_svn.so into server: dlopen(/usr/libexec/apache2/mod_dav_svn.so, 10): no
suitable image found.  Did find:\n\t/usr/libexec/apache2/mod_dav_svn.so: mach-o, but
wrong architecture

I suspect that doing the build mucked something up but I’m not sure where to go from here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:54:17+00:00Added an answer on May 11, 2026 at 8:54 pm

    The problem is that Apple built Apache as a fat binary so it supports four architectures so it will only load modules which are built as fat binaries. You can use the lipo utility to figure out how something was built:

    lorien$ lipo -info /usr/sbin/httpd
    Architectures in the fat file: /usr/sbin/httpd are: ppc7400 ppc64 i386 x86_64
    

    Chances are that you will see something like this:

    lorien$ lipo -info /usr/libexec/apache2/modules/mod_dav_svn.so
    Non-fat file: /usr/libexec/apache2/modules/mod_dav_svn.so is architecture: i386
    

    You can use arch to force a command to run in one mode or another or the lipo utility to modify the binary and strip out certain variants. Overall, it is quite a pain to deal with on a case by case basis.

    The other option is to compile everything into fat binaries which is what I have been doing lately. With autoconf based things (just about anything with a configure script), you can usually control much of the process with environment variables. I have a bunch of scripts that wrap the build process to make sure that they get set up correctly. Use the following commands to rebuild svn:

    lorien$ cd ~/src/svn-1.6.2
    lorien$ cat env-sh
    ARCHFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
    DEVPATH='/Developer/SDKs/MacOSX10.5.sdk'
    CPPFLAGS="-isysroot $DEVPATH"
    CFLAGS="$ARCHFLAGS $CPPFLAGS"
    CXXFLAGS="$CFLAGS"
    LDFLAGS="-Wl,-syslibroot,$DEVPATH $ARCHFLAGS"
    MACOS_DEPLOYMENT_TARGET=10.5
    export CFLAGS CXXFLAGS LDFLAGS MACOS_DEPLOYMENT_TARGET
    lorien$ . env-sh
    lorien$ ./configure ... 
    lorien$ make -j2
    lorien$ lipo -info subversion/mod_dav_svn/.libs/mod_dav_svn.so
    Architectures in the fat file: subversion/mod_dav_svn/.libs/mod_dav_svn.so are: ppc7400 ppc64 i386 x86_64
    

    I keep a copy of the environment in my home directory. Whenever I build something, I copy env-sh, edit it as needed, source it, then build away. There is a lot more information hidden in the depths of developer.apple.com like Tech Note 2137 and the Universal Binary Programming Guidelines as well.

    Good luck. I know that I am still navigating my way through this morass of fun.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there is similar post about how to get the last Thursday in
Last Thursday we just released a new version of our website. The big change
Last night I got completely hosed by a worm from Dilbert.com (so be careful
Last evening I did some housekeeping on our code repository - basically moved the
Last night I think I did something that hosed my rails development environment, and
Last year, I made an application in Java using PDFBox to get the raw
Just wondering if anyone knows of an open source .Net library that handles dates
Last several days I was trying to set up a proper local SVN (with
how to find date of last thursday of the month in php ? it
Last week, Thursday to be exact, the autogen php/mysql web form we have has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.