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

problem with linking libsvnjavahl-1.so

From: vadim <vadim.tarassov_at_swissonline.ch>
Date: 2005-04-07 14:33:42 CEST

Hallo everybody,

I think there is a problem somewhere in the way libsvnjavahl get's
relinked when making install-javahl. Namely, when relinking, libtool for
whatsoever reasons uses gcc instead of g++. This leads to exception when
trying to load that shared object lib in a java program, which sounds
like "InsufficientLink" or whatsoever,it also complains about "flavours"
of something ....

It happens because you (re)link C++ program with gcc instead of g++. g++
would link libstdc++ to libsvnjavahl, gcc does not.

The workaround would be setting

LT_CXX_LIBADD = -lstdc++

in Makefile.

I think I have reported once this problem when 1.1.2 has been released.
Now I have tried 1.1.4, the problem is however still there.

It would be also nice for configure to find g++. Just by
running ./configure --bla-bla it does not defined value of CXX and
building of javahl fails immidiately, because you do not supply required
argument $(CXX) to libtool.

All of this has been observed on debian sarge.

Best regards, vadim tarassov.

-- 
vadim <vadim.tarassov@swissonline.ch>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 7 14:34:07 2005

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