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

Re: svn as webmaintanance tool

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-20 07:07:40 CET

On Mar 18, 2007, at 13:38, Praveen kumar Dayanithi wrote:

> I was trying to use Subversion as webmaintance tool for a
> live website. Let me exaplain the setup i have.... I have a
> repository on a unix box and also have the live website folder in
> same box.
> Now i m just trying to run a cgi-script which actually has
> "svn update" command to update the working copy(live website folder).
>
> The script looks like this,
>
> #!/bin/bash
> # get today.s date
> OUTPUT="$(date)"
> # You must add following two lines before
> # outputting data to the web browser from shell
> # script
> echo "Content-type: text/html"
> echo ""
> echo "<html><head><title>Demo</title></head><body>"
> echo "Today is $OUTPUT <br>"
> echo "Current directory is $(pwd) <br>"
> echo "Shell Script name is $0"
> cd /home/classes/pdayan/eese/eese/TestWeb
> svn update
> echo "</body></html>"
>
> Here /home/classes/pdayan/eese/eese/TestWeb is the working copy or
> live website folder path. I made this script executable also.
> When i run the script manually at the $ prompt it runs fine but if
> run cgi-script from browser it says the following error.
>
> ld.so.1: svn: fatal: libssl.so.0.9.7: open failed: No such file or
> directory
> can you help me please?

Where is libssl.so.0.9.7? Why can it be found when running the script
at the prompt but not through the web server? Do you maybe have an
environment variable like LD_LIBRARY_PATH defined, and your software
requires that to be set? If so, you should recompile your Subversion
and dependencies so that LD_LIBRARY_PATH is not required. If that's
not possible, then define LD_LIBRARY_PATH to the appropriate value in
the CGI before trying to call svn.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 20 07:08:14 2007

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.