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

Re: The *.so files

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-11-06 22:22:35 CET

On Wed, Nov 06, 2002 at 12:37:21PM -0800, Greg Stein wrote:
> On Wed, Nov 06, 2002 at 07:31:50PM +0100, Oden Eriksson wrote:
> > I have packaged subversion v0.14.5 r3578 for Mandrake Linux 9.0/Cooker, but
> > stumbled upon an issue. The common practise in Mandrake Linux is to package
> > the "*.so" files in a devel subpackage.
>
> Um. I suspect that you have that backwards. Typically, the regular package
> has the *.so files, and -devel has the .a and .la files.

A library libfoo.so goes in the -devel package since it's only needed
when compiling against -lfoo, and is just a symlink to libfoo.x.y; just
libfoo.so.x and libfoo.so.x.y go in the main package.

SVN treats ra_dav and ra_local as libraries, but really they are
loadable modules - I think this is where the disconnect is happening.
For a loadable module, you always need the .so. (and can usually discard
the .la and .a completely)

The loadable modules should really go in %{_libdir}/subversion/*.so,
though you'd probably need to modify the ra loader to look in the right
place.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 6 22:24:43 2002

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.