[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Need Help Running SVN over SSH - Connection closed unexpectedly

From: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2004-01-14 17:26:53 CET

Anthony E. Glover wrote:
> o.k. I think I know what is going on. I was able to get ssh to echo my
> path and it appears to be o.k., but my LD_LIBRARY_PATH is not set
> correctly. I have this setting in my ".profile" but I guess that does
> not get picked up when executing a command through SSH. So, where does
> one need to set things like this in order for SSH to pick them up? This
> is more of a shell question now versus a subversion question.

Correct. Since you seem to have root access, you could either put the
path to the libs in /etc/ld.so.conf, or you can make /usr/bin/svnserve a
shell script that sets the LD_LIBRARY_PATH (and maybe umask), and then
runs the original svnserve, i.e.

        #!/bin/sh
        export LD_LIBARAY_PATH=...
        exec /usr/bin/svnserve.real "$@"

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 14 17:27:48 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.