[csw-maintainers] Subversion: ld: fatal: library -lsvn_client-1: not found
Nicolai Schwindt
schwindt at dfki.uni-kl.de
Thu Mar 8 10:56:32 CET 2012
> 2012/3/8 Nicolai Schwindt <schwindt at dfki.uni-kl.de>:
> > [...]
> >>
> >> -SVNLIB Â Â = $(prefix)/lib/svn
> >
> > This contains the needed lib, actually an old version
> >
> >> +SVNLIB Â Â = $(libdir)
> >
> > This does not.
>
> I don't understand - SVNLIB is a private variable in GAR which is used
> to configure some directory settings. If it were set to something
> else, the subversion build would follow. No other packages install
> anything to /opt/csw/lib/svn, do they?
The variable gets used to configure :
CONFIGURE_ARGS = $(DIRPATHS) --libdir=$(SVNLIB) --libexecdir=$(SVNLIB)
With SVNLIB=$(prefix)/lib/svn the linker got -L/opt/csw/lib/svn and used the old
libraries.
With SVNLIB=$(libdir) the linker gets -L/opt/csw anf fails.
While staging to DESTIDR you would need :
-L/home/maciej/src/opencsw/pkg/subversion/trunk/work/solaris10-sparc/pkgroot/opt
/csw/lib/svn
Doing this on a machine which does not contain an old version of subversion
would fail for both settings of SVNLIB.
Subversion seems generally broken - the code and the build.
Nicolai
More information about the maintainers
mailing list