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

Re: svn 1.4.2 tests fail on Solaris 9

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-25 19:37:19 CET

On Jan 25, 2007, at 10:06, asdf wrote:

>> Hook scripts run with an empty environment (on non-Windows operating
>> systems) so the variables PATH and LD_LIBRARY_PATH are *not* set
>> when /usr/local/bin/python is trying to locate libstdc++.so.6.
>
> That explains it - I also checked the FAQ and I tested one of the
> failing hook scripts as suggested in the FAQ and I got the same error
> about being unable to load libstdc++.so.6 when trying to run the
> python
> binary.
>
> The question is: how can one run the test suite when both gcc and
> python are both installed to /usr/local? Surely one ought to be able
> to run the test suite irrespective of where the python binary (and its
> dependencies) are installed to, no?
>
> Judging by the (general) lack of responses to my original post, it
> doesn't appear that too many people have tripped up on this issue.

I've never used LD_LIBRARY_PATH; I'm not familiar with software that
tries to link to other libraries via relative paths, like your python
appears to. I'm used to using software that already knows the
absolute path to the libraries it requires. I was under the
impression that the latter was the usual way software is compiled,
but I don't have that much experience with compiling software, so I
may not know what I'm talking about.

>> I cannot explain why Subversion 1.3.2 would not have this problem.
>
> Perhaps because none of the tests in the 1.3.2 test suite had custom
> hooks calling the Python binary?

If that's so, then that would certainly explain it.

> PS: I am already subscribed to the list, so need to CC: me on
> replies. :)

I guess you meant "no need to CC: me." But of the hundreds of
subscribers to the list, I'm not going to be able to remember who
wants me to CC them and who doesn't. This list does not munge the
Reply-To header. When I press Reply to one of your messages, it goes
to you. When I press Reply To All, it goes to you and the list. If
you want replies to go only to the list, you need to set the Reply-To
header of your outgoing mails to the list's address.

-- 
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 Thu Jan 25 19:37:51 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.