You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Russell Hind <rh...@mac.com> on 2008/07/25 08:02:07 UTC

Problem with openCollabNet svn-1.5 on OS X Leopard and apache2

I've downloaded and installed the openCollabNet svn-1.5 for OS X  
Leopard and installed on my 10.5.4 system.  I run an apache server on  
the box to host svn.

If I point apache2 at the mod_dav_svn from this distribution with

LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so

Then run a test on the config, 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
   Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib
   Expected in: flat namespace

I'm running a standard Leopard install of apache and it works when I  
use the 1.4.4 mod_dav_svn distributed with Leopard.

Server version: Apache/2.2.8 (Unix)
Server built:   Mar  4 2008 21:37:02
Server's Module Magic Number: 20051115:11
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   64-bit
Server MPM:     Prefork
   threaded:     no
     forked:     yes (variable process count)

Any ideas?  I'd really like to move to svn-1.5 and I don't see that  
happening anytime soon from Apple as they're still on 1.4.4.

Thanks

Russell

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

Re: Problem with openCollabNet svn-1.5 on OS X Leopard and apache2

Posted by Russell Hind <ru...@hindits.co.uk>.
FWIW, same issue using the 1.5.1 distro too (to be expected if its a  
config problem at my end I guess).

Cheers

Russell

On 28 Jul 2008, at 07:23, Russell Hind wrote:

> Hi Mark and Jeremy,
>
> This is a on a new Mac Mini, it came with 10.5.2 so I upgraded using  
> the 10.5.4 combo updated and then installed any more updates.   
> Enabled personal web sharing to get apache running and then added  
> LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so to get the  
> standard installed subversion running and a <Location /svn>
>
> This has been running fine.
>
> I've then installed your 1.5.0 distro and changed the LoadModule  
> line to
>
> LoadModule dav_svn_module /opt/subversion/lib/svn-apache/ 
> mod_dav_svn.so
>
> And ran the apache test config (apachectl -t) just to check and got  
> the aforementioned error.  I've never played with library paths  
> etc.  Should I need to after running your installed?  How do I check  
> them?
>
> The only thing I've changed (but won't affect apache) is in my  
> own .profile I've added an
>
> export PATH=/opt/subversion/bin:$PATH
>
> so that for my user, svn-1.5.0 is the default.  I see your installed  
> puts symlinks in /usr/local/bin, but on my 10.5.4 systems, the  
> default path is:
>
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
>
> So the standard install of svn in /usr/bin gets picked up first.   
> How would you recommend changing this because it seems the installer  
> (for 10.5 anyway, don't think 10.4 came with svn) isn't setting this  
> up correctly.  Perhaps its a similar problem for apache too?
>
> Cheers
>
> Russell
>
>
> On 26 Jul 2008, at 15:04, Mark Phippard wrote:
>
>> On Sat, Jul 26, 2008 at 4:05 AM, Jeremy Whitlock <jcscoobyrs@gmail.com 
>> > wrote:
>>>> 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
>>>> Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib
>>>> Expected in: flat namespace
>>>
>>> I maintain that package and I run Subversion 1.5.0 with the built-in
>>> Apache without any issues at all.  The only thing I can think of is
>>> that maybe your PATH or DYLD_LIBRARY_PATH is picking up the Leopard
>>> libs instead of the ones shipped with the binary.  I've not ran into
>>> this and you're the first to report it.  Is there any chance you're
>>> using SASL?  I do know that the SASL support wasn't shipped with the
>>> 1.5.0 binary but is included in the 1.5.1.  Any information you can
>>> give me would be very beneficial.
>>
>> SASL is only used by svnserve so would not be a factor here.  I think
>> the problem is likely the library path as you indicated.  It looks
>> like an older version of a library is being loaded and a new symbol  
>> is
>> not being found.
>>
>>

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

Re: Problem with openCollabNet svn-1.5 on OS X Leopard and apache2

Posted by Russell Hind <rh...@mac.com>.
Hi Mark and Jeremy,

This is a on a new Mac Mini, it came with 10.5.2 so I upgraded using  
the 10.5.4 combo updated and then installed any more updates.  Enabled  
personal web sharing to get apache running and then added LoadModule  
dav_svn_module libexec/apache2/mod_dav_svn.so to get the standard  
installed subversion running and a <Location /svn>

This has been running fine.

I've then installed your 1.5.0 distro and changed the LoadModule line to

LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so

And ran the apache test config (apachectl -t) just to check and got  
the aforementioned error.  I've never played with library paths etc.   
Should I need to after running your installed?  How do I check them?

The only thing I've changed (but won't affect apache) is in my  
own .profile I've added an

export PATH=/opt/subversion/bin:$PATH

so that for my user, svn-1.5.0 is the default.  I see your installed  
puts symlinks in /usr/local/bin, but on my 10.5.4 systems, the default  
path is:

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

So the standard install of svn in /usr/bin gets picked up first.  How  
would you recommend changing this because it seems the installer (for  
10.5 anyway, don't think 10.4 came with svn) isn't setting this up  
correctly.  Perhaps its a similar problem for apache too?

Cheers

Russell


On 26 Jul 2008, at 15:04, Mark Phippard wrote:

> On Sat, Jul 26, 2008 at 4:05 AM, Jeremy Whitlock  
> <jc...@gmail.com> wrote:
>>> 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
>>> Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib
>>> Expected in: flat namespace
>>
>> I maintain that package and I run Subversion 1.5.0 with the built-in
>> Apache without any issues at all.  The only thing I can think of is
>> that maybe your PATH or DYLD_LIBRARY_PATH is picking up the Leopard
>> libs instead of the ones shipped with the binary.  I've not ran into
>> this and you're the first to report it.  Is there any chance you're
>> using SASL?  I do know that the SASL support wasn't shipped with the
>> 1.5.0 binary but is included in the 1.5.1.  Any information you can
>> give me would be very beneficial.
>
> SASL is only used by svnserve so would not be a factor here.  I think
> the problem is likely the library path as you indicated.  It looks
> like an older version of a library is being loaded and a new symbol is
> not being found.
>
> -- 
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: Problem with openCollabNet svn-1.5 on OS X Leopard and apache2

Posted by Mark Phippard <ma...@gmail.com>.
On Sat, Jul 26, 2008 at 4:05 AM, Jeremy Whitlock <jc...@gmail.com> wrote:
>> 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
>>  Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib
>>  Expected in: flat namespace
>
> I maintain that package and I run Subversion 1.5.0 with the built-in
> Apache without any issues at all.  The only thing I can think of is
> that maybe your PATH or DYLD_LIBRARY_PATH is picking up the Leopard
> libs instead of the ones shipped with the binary.  I've not ran into
> this and you're the first to report it.  Is there any chance you're
> using SASL?  I do know that the SASL support wasn't shipped with the
> 1.5.0 binary but is included in the 1.5.1.  Any information you can
> give me would be very beneficial.

SASL is only used by svnserve so would not be a factor here.  I think
the problem is likely the library path as you indicated.  It looks
like an older version of a library is being loaded and a new symbol is
not being found.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

Re: Problem with openCollabNet svn-1.5 on OS X Leopard and apache2

Posted by Jeremy Whitlock <jc...@gmail.com>.
> 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
>  Referenced from: /opt/subversion/lib/libsvn_fs_base-1.0.dylib
>  Expected in: flat namespace

I maintain that package and I run Subversion 1.5.0 with the built-in
Apache without any issues at all.  The only thing I can think of is
that maybe your PATH or DYLD_LIBRARY_PATH is picking up the Leopard
libs instead of the ones shipped with the binary.  I've not ran into
this and you're the first to report it.  Is there any chance you're
using SASL?  I do know that the SASL support wasn't shipped with the
1.5.0 binary but is included in the 1.5.1.  Any information you can
give me would be very beneficial.

Take care,

Jeremy

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