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

Re: libsvnjavahl with 0.9.21 on linux - help

From: Didier Moens <Didier.Moens_at_dmbr.UGent.be>
Date: 2004-09-30 22:02:42 CEST

(still trying to figure out how to reply through digests into this
thread, without being subscribed to the list)

Thanks all, for the swift responses.

> try LD_LIBRARY_PATH=/path/to/dir/containing/javahl ./eclipse. putting
>
>the libs into the plugin dir is not required.
>
>

Unfortunately, this does not work out.

In my /usr/lib/ , I have :

/usr/lib/libsvnjavahl-1.a
/usr/lib/libsvnjavahl-1.la
/usr/lib/libsvnjavahl-1.so -> libsvnjavahl-1.so.0.0.0
/usr/lib/libsvnjavahl-1.so.0 -> libsvnjavahl-1.so.0.0.0
/usr/lib/libsvnjavahl-1.so.0.0.0
/usr/lib/svn-javahl/svn-javahl.jar

I manually added the symlink
/usr/lib/libsvnjavahl.so -> libsvnjavahl-1.so.0.0.0

In the plugins/org.tigris.subversion.subclipse.core_0.9.21/ subdir, I
tried :
- with and without replacing svn-javahl.jar with the 1.1.0 compiled one ;
- with and without symlinking to /usr/lib/libsvnjavahl-1.so.0.0.0 (as
suggested by Johnny).

In all cases, Eclipse complains about the missing Javahl environment,
and falls back to command-line mode.

I gather my libsvnjavahl is correctly compiled, as replacing
libsvnjavahl.so and svn-javahl.jar (as supplied with subclipse 0.9.12)
with my own 1.1.0 compiled versions yielded full functionality.

Usually in these cases, I run an strace on the executable to check for
missing files or wrong paths ; unfortunately, strace never seems to cope
with java applications ...

>
>On Thu, 30 Sep 2004 18:30:00 +0200, johnny geling
><johnny.geling@chello.be> wrote:
>
>
>>For letting 0.9.2x te work with javahl I had to simlink libsvnjavahl to
>>eclipse/plugins/org.tigris.subversion.subclipse.core
>>
>>libsvnjavahl is located in /usr/local/lib and I don't know if this is on the
>>path while echo $LD_LIBRARY_PATH didn't gave me anything.
>>
>>

You could add /usr/local/lib to /etc/ld.so.conf, and after an ldconfig
-v, grep /etc/ld.so.cache .

Thanks in advance for any additional suggestions,
Didier

-- 
===================================================================
Didier Moens                                                Core IT
Department for Molecular Biomedical Research (DMBR)
VIB - Ghent University
Fiers-Schell-Van Montagu Research Building
Technologiepark 927 , B-9052 Zwijnaarde , Belgium
tel ++32(9)3313605  fax ++32(9)3313609
mailto:Didier.Moens_at_dmbr.UGent.be          http://www.dmbr.UGent.be
===================================================================
Received on Fri Oct 1 06:02:42 2004

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

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