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

Re: sqlite link errors

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Thu, 23 Jul 2009 11:41:26 -0700

On Jul 23, 2009, at 10:27 AM, Peter Samuelson wrote:

>
> [Hyrum K. Wright]
>> hwright_at_orac:~/dev/svn-trunk$ ldd subversion/libsvn_subr/.libs/
>> libsvn_subr-1.so
>> linux-vdso.so.1 => (0x00007fff94dfe000)
>> libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0
>> (0x00007ffc8c7d2000)
>> libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0
>> (0x00007ffc8c5a5000)
>> libexpat.so.0 => /usr/local/apr/lib/libexpat.so.0
>> (0x00007ffc8c383000)
>> libz.so.1 => /lib/libz.so.1 (0x00007ffc8c152000)
>> libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0
>> (0x00007ffc8bedb000)
>> libpthread.so.0 => /lib/libpthread.so.0 (0x00007ffc8bcbe000)
>> libc.so.6 => /lib/libc.so.6 (0x00007ffc8b94c000)
>> libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007ffc8b722000)
>> libuuid.so.1 => /lib/libuuid.so.1 (0x00007ffc8b51c000)
>> librt.so.1 => /lib/librt.so.1 (0x00007ffc8b314000)
>> libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007ffc8b0dc000)
>> libdl.so.2 => /lib/libdl.so.2 (0x00007ffc8aed7000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007ffc8cc5e000)
>
> To get a clearer picture of how the dependencies are expressed in the
> library, use 'objdump -p'. Of particular interest are the NEEDED and
> RPATH lines.

Dynamic Section:
   NEEDED libaprutil-1.so.0
   NEEDED libapr-1.so.0
   NEEDED libexpat.so.0
   NEEDED libz.so.1
   NEEDED libsqlite3.so.0
   NEEDED libpthread.so.0
   NEEDED libc.so.6
   SONAME libsvn_subr-1.so.0
   RPATH /usr/local/apr/lib
   ...

Should there by an RPATH entry for /usr/local/lib?

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2374930
Received on 2009-07-23 20:41:52 CEST

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.