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

Re: Compiling Subversion with SSL Support - not happening

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 8 Dec 2008 22:30:52 +0000

On Mon, Dec 08, 2008 at 01:46:42PM -0800, Sankaran, Nambi wrote:
> qa-release173:/ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/bin
> >
> $ldd svn
> libsvn_client-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_client
> -1.so.0 (0x00ed8000)
> libsvn_wc-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_wc-1.s
> o.0 (0x003fc000)
> libsvn_ra-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_ra-1.s
> o.0 (0x00ceb000)
> libsvn_diff-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_diff-1
> .so.0 (0x006f6000)
> libsvn_ra_local-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_ra_loc
> al-1.so.0 (0x00a31000)
> libsvn_repos-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_repos-
> 1.so.0 (0x00179000)
> libsvn_fs-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_fs-1.s
> o.0 (0x00111000)
> libsvn_fs_fs-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_fs_fs-
> 1.so.0 (0x00bf3000)
> libsvn_fs_util-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_fs_uti
> l-1.so.0 (0x00586000)
> libsvn_ra_svn-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_ra_svn
> -1.so.0 (0x00750000)
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00bce000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x00bb0000)
> libsvn_ra_neon-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_ra_neo
> n-1.so.0 (0x007a5000)
> libsvn_ra_serf-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_ra_ser
> f-1.so.0 (0x0092f000)
> libserf-0.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libserf-0.so.
> 0 (0x00671000)
> libsvn_delta-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_delta-
> 1.so.0 (0x00d30000)
> libsvn_subr-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libsvn_subr-1
> .so.0 (0x00f92000)
> libaprutil-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libaprutil-1.
> so.0 (0x00e76000)
> libexpat.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/apr-util/1.2.12/lib/libexpat.so.0
> (0x00116000)
> libapr-1.so.0 =>
> /ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/lib/libapr-1.so.0
> (0x00628000)
> librt.so.1 => /lib/tls/librt.so.1 (0x00131000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x00b5c000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00d69000)
> libdl.so.2 => /lib/libdl.so.2 (0x00e6e000)
> libssl.so.0.9.8 => not found
> libcrypto.so.0.9.8 => not found
> libz.so.1 => /usr/lib/libz.so.1 (0x004f0000)
> libc.so.6 => /lib/tls/libc.so.6 (0x0019a000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00a04000)
> libssl.so.0.9.8 => not found
> libcrypto.so.0.9.8 => not found
>
>
> Now I have already built and installed openssl under
>
> /ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i
>
> "svn" works if I set the LD_LIBRARY_PATH
> export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ebay/software/pkgs/linux/2.4.21/i686/o
> penssl/0.9.8i/lib

Great. I'm not sure how this should normally work on Linux,
but if that works, then great.
Maybe you can also add that directory to /etc/ld.so.conf to avoid
having to set the environment variable?
 
> The "configure" command I used for svn build is
>
> $./configure
> --prefix=/ebay/software/pkgs/linux/2.4.21/i686/subversion/1.5.4/
> --without-apxs --with-ssl
> --with-libs=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i/lib/
> --includedir=/ebay/software/pkgs/linux/2.4.21/i686/openssl/0.9.8i/includ
> e
>
> Is this good?

It does not look wrong to me at all.

Note that, since you're building without apache anyway, you might
as well link everything statically (--disable-shared).
Then you won't have any problems with binaries not finding
shared libs.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981344

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 23:35:58 CET

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

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