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

Re: [BUG] Linker error while building perl bindings

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-10-20 13:23:46 CEST

Mathias Weinert wrote:
> The cause of this was, that the linker got -L/usr/local/lib as one of its
> first options and so it found an older version of the svn_subr-1 library
> there.

This is a known problem. Max had checked in a solution which unfortunately left
the Perl bindings in a state where they were explicitely linked to the build
directory (and would fail when you blew that away). So that was reverted. Your
solution works for you, but it isn't the right way long term (since it would
prevent linking against other installed libraries which we need). The short
answer is that, for now, you must install the new Subversion libraries before
attempting to build the Perl bindings.

Once 1.3.0 is out, I plan on taking a good long look at how the Perl bindings
are constructed and try and rework the Makefile.PL. I think if we use an
appropriate LD_LIBRARY_PATH instead of LD_RUN_PATH, we can get where we are
going (linking against the new libraries for testing but loading the system
libraries for running).

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 20 13:24:45 2005

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

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