|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadHi, I'm still having trouble using openCollabNet builds of subersion.
I've got a Mac Mini that came pre-installed with OS X 10.5.2. I updated it to 10.5.4 using the combo updater and set its built-in apache to load the default subversion 1.4.4 included with OS X. This has been working fine. I've since tried to move to the openCollabNet builds so I can start hosting 1.5.x repositories. I installed the package which game me the /opt/subversion folder, replaced LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so with LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so but if I now do an apachectl -t I get the following error: httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax error on line 2 of /private/etc/apache2/other/subversion.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 This a clean install of OS X straight from Apple. Apache works with the built-in svn-1.4.4 but not with the package from openCollabNet. Is there other configuration required to make this work? The 1.5.1 binaries (svn, svnadmin etc) all run fine, its just using mod_dav_svn that has trouble. Any help would be greatly appreciated. Cheers Russell --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadRussell,
I responded in the svnbinaries project on openCollabNet. Basically, I'll look into the cause and fix it. I've reproduced locally and I'm working on figuring it out. Take care, Jeremy On Fri, Aug 8, 2008 at 10:59 AM, Russell Hind <rhind@...> wrote: > Hi, I'm still having trouble using openCollabNet builds of subersion. I've > got a Mac Mini that came pre-installed with OS X 10.5.2. I updated it to > 10.5.4 using the combo updater and set its built-in apache to load the > default subversion 1.4.4 included with OS X. This has been working fine. > > I've since tried to move to the openCollabNet builds so I can start hosting > 1.5.x repositories. I installed the package which game me the > /opt/subversion folder, replaced > > LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so > > with > > LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so > > but if I now do an > > apachectl -t > > I get the following error: > > httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax > error on line 2 of /private/etc/apache2/other/subversion.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 > > This a clean install of OS X straight from Apple. Apache works with the > built-in svn-1.4.4 but not with the package from openCollabNet. Is there > other configuration required to make this work? > > The 1.5.1 binaries (svn, svnadmin etc) all run fine, its just using > mod_dav_svn that has trouble. > > Any help would be greatly appreciated. > > Cheers > > Russell > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadRussell,
As I look into this, I'm more baffled. Basically, the 64-bit support in the binary appears broken somehow. I'm working on a fix but until then, you can force Apache to run in 32-bit mode like this: sudo /usr/bin/arch -arch i386 /usr/sbin/httpd -D FOREGROUND Using this will load the 32-bit i386 portion of the binary and it will run as planned. While this is only an interim workaround, it should help you continue to use the binary without any problems. Take care, Jeremy On Fri, Aug 8, 2008 at 10:59 AM, Russell Hind <rhind@...> wrote: > Hi, I'm still having trouble using openCollabNet builds of subersion. I've > got a Mac Mini that came pre-installed with OS X 10.5.2. I updated it to > 10.5.4 using the combo updater and set its built-in apache to load the > default subversion 1.4.4 included with OS X. This has been working fine. > > I've since tried to move to the openCollabNet builds so I can start hosting > 1.5.x repositories. I installed the package which game me the > /opt/subversion folder, replaced > > LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so > > with > > LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so > > but if I now do an > > apachectl -t > > I get the following error: > > httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax > error on line 2 of /private/etc/apache2/other/subversion.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 > > This a clean install of OS X straight from Apple. Apache works with the > built-in svn-1.4.4 but not with the package from openCollabNet. Is there > other configuration required to make this work? > > The 1.5.1 binaries (svn, svnadmin etc) all run fine, its just using > mod_dav_svn that has trouble. > > Any help would be greatly appreciated. > > Cheers > > Russell > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadJust a little more information. As I look into this, I don't think
the issue is with the binary itself. The missing symbol is actually there and after some fooling around, I have made some observations that somewhat back my thoughts up. When you start Apache by default, it runs in 64-bit mode. Now there are three ways to start Apache: 1) Using apachectl 2) Using /usr/sbin/httpd 3) Using launchd What I've found is that I can get Apache to not only start completely error free but Apache also serves Subversion properly using methods 2 and 3. I can also launch this in all 4 known architectures. (ppc, i386, ppc64 and x86_64) After performing this research, I really think that apachectl is either broken or somehow is causing this issue. Running Apache directly (/usr/sbin/httpd) or using launchd has no errors, warning and even runs as expected. Russell, Can you tell me how you're starting Apache? Take care, Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadOkay 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@... For additional commands, e-mail: users-help@... |
|
|
Re: mod_dav_svn from openCollabNet OS X subversion 1.5.1-2 on OS X 10.5.4 with Apache fails to loadHi,
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
|
| Free embeddable forum powered by Nabble | Forum Help |