« Return to Thread: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to load

Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to load

by smisaacs :: Rate this Message:

Reply to Author | View in Thread

Hi,

I've run into this problem as well. I've gone through your edits, but now i get this error:

Syntax error on line 162 of /private/etc/apache2/httpd.conf: Cannot load /opt/subversion/lib/svn-apache/mod_dav_svn.so into server: dlopen(/opt/subversion/lib/svn-apache/mod_dav_svn.so, 10): Symbol not found: _svn_atomic__init_once\n  Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib\n  Expected in: flat namespace\n


any change you can help me with this?

thanks,
-scott


Jeremy Whitlock wrote:
Okay guys...for some closure, I've figured this out and it was
completely inline with what we mentioned was the answer a few weeks
ago.  When you use /usr/sbin/apachectl, it load /usr/sbin/envvars.
This creates a special DYLD_LIBRARY_PATH environment variable that
puts Leopard's default Subversion in front of the OSX binary I
maintain.  When this occurs, Apache has issues resolving symbols.  To
fix this, comment out the two lines defining and exporting the
DYLD_LIBRARY_PATH in /usr/sbin/envvars.

Take care,

Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

 « Return to Thread: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to load