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

Re: Apache Error after upgrading from 1.4.3 to 1.5.7

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Thu, 3 Sep 2009 08:28:19 -0500

On Sep 3, 2009, at 08:18, Matt wrote:
> Chris wrote:
>> On Wed, Sep 2, 2009 at 2:15 PM, Matt wrote:
>>> Is there a way to see what version of apr apache is running?
>>
>> I would suggest something along the lines of this:
>>
>> cshelton_at_batboy ~ $ ldd /usr/sbin/apache2
>> linux-gate.so.1 => (0xffffe000)
>> libm.so.6 => /lib/tls/libm.so.6 (0xb7f0c000)
>> libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb7edc000)
>> libz.so.1 => /lib/libz.so.1 (0xb7eca000)
>> libbz2.so.1 => /lib/libbz2.so.1 (0xb7eb9000)
>> libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7e9a000)
>> libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7d88000)
>> libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7d82000)
>> libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7d64000)
>> libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7d3e000)
>> libuuid.so.1 => /lib/libuuid.so.1 (0xb7d39000)
>> librt.so.1 => /lib/tls/librt.so.1 (0xb7d2f000)
>> libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d01000)
>> libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7ceb000)
>> libdl.so.2 => /lib/libdl.so.2 (0xb7ce7000)
>> libc.so.6 => /lib/tls/libc.so.6 (0xb7bc6000)
>> /lib/ld-linux.so.2 (0xb7f3d000)
>>
>> Then:
>>
>> cshelton_at_batboy ~ $ file /usr/lib/libaprutil-1.so.0
>> /usr/lib/libaprutil-1.so.0: symbolic link to `libaprutil-1.so.0.3.9'
>>
>> cshelton_at_batboy ~ $ file /usr/lib/libapr-1.so.0
>> /usr/lib/libapr-1.so.0: symbolic link to `libapr-1.so.0.3.8'
>>
>> My system is running apr-util version 1.3.9 and apr version 1.3.8.
>> The apache httpd is a recent 2.2 version.
>
> Huh? I'm not sure I'm following you. Is this just a way to trick
> my system into using the latest version? I'm running apache 2.0
> though.

You asked "Is there a way to see what version of apr apache is
running?" The answer is to use the "ldd" program, giving it the path
to your Apache program. Chris was showing you the output from his
system, which shows his apache2 linking with libapr-1.so.0 and
libaprutil-1.so.0. He then further revealed, using the "file" command
on those libraries, that they are actually symbolic links, and that
the names of the files they point to contain the version numbers of
apr and apr-util. He was suggesting you run similar commands on your
system to find out what versions of apr and apr-util your Apache is
using.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 15:29:46 CEST

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.