Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86D5210BBF for ; Sat, 1 Feb 2014 13:56:18 +0000 (UTC) Received: (qmail 54341 invoked by uid 500); 1 Feb 2014 13:56:14 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 53924 invoked by uid 500); 1 Feb 2014 13:56:00 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 53911 invoked by uid 99); 1 Feb 2014 13:55:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 13:55:58 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=HTML_MESSAGE,MISSING_HEADERS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of trawick@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 13:55:54 +0000 Received: by mail-lb0-f174.google.com with SMTP id l4so4236978lbv.33 for ; Sat, 01 Feb 2014 05:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=4fzxE/JRSRM2zOj9nees2yeAJ1/wmPpwnIj4caOY4Rg=; b=SIrxuRA8upfKS7do8seGNKlxwhaCKprAoszKFb6JFFF5uxq0Q8iHKYd+tnN9+rDVYj vT6zdXC9iuwAKEhqmWIghstJgqZHoJuC2vCOp/8aofFUmMnltMxj8vaTgCj9IqSFhiiP fKQTQCJjgmSg1H9wYmOqJ+kGNR/Afh16QLnFMXOcEc4nWcUKl8pxqwgdp/RORBFdu9O4 uDFXXbBKfG6w6IUuMZDSZBMFr8Ac3tLyFEKorPeLz/B4hnTlsZU5V5c/KUScQv7bo8Us wu4x4EvfUdWSn+VeHOau9vovnMkVY3ouVghLfnEIlQ9AvxB0V6X7x5XKBQTQeO9+0UIL rQbQ== MIME-Version: 1.0 X-Received: by 10.152.28.200 with SMTP id d8mr18960lah.59.1391262932532; Sat, 01 Feb 2014 05:55:32 -0800 (PST) Received: by 10.114.3.144 with HTTP; Sat, 1 Feb 2014 05:55:32 -0800 (PST) In-Reply-To: <3bbf6dca4ca646a789c3cb3090872097@DM2PR06MB592.namprd06.prod.outlook.com> References: <3fbafedc537f46219c02d0e5084ac1aa@DM2PR06MB592.namprd06.prod.outlook.com> <67dc4b0a35d742529bf0862faed32c05@DM2PR06MB592.namprd06.prod.outlook.com> <3bbf6dca4ca646a789c3cb3090872097@DM2PR06MB592.namprd06.prod.outlook.com> Date: Sat, 1 Feb 2014 08:55:32 -0500 Message-ID: Subject: Re: APR Util Question From: Jeff Trawick Cc: "dev@apr.apache.org" Content-Type: multipart/alternative; boundary=089e0158c7c8e200c304f158a400 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c7c8e200c304f158a400 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jan 31, 2014 at 5:11 PM, Lamb, Joel wrote: > Thanks Jeff > > > > I found the correct version in /usr/lib64, so I removed the symbolic links > in /opt/vulture/httpd/lib and it worked. > Great! APR folks, shouldn't users normally override the prefix when building the RPMs in order to leave the system-provided libraries and anything depending on them untouched? > > > Thanks again. > > > > *Joel A. Lamb * > > Senior Translations Engineer > Frontier Communications > 8001 West Jefferson Blvd > Fort Wayne, Indiana 46804 > (260) 461-2168 (o) > (260) 403-3095 (c) > (260) 461-2124 (f) > > joel.lamb@ftr.com > > > > *From:* Jeff Trawick [mailto:trawick@gmail.com] > *Sent:* Friday, January 31, 2014 5:00 PM > > *Cc:* dev@apr.apache.org > *Subject:* Re: APR Util Question > > > > On Fri, Jan 31, 2014 at 4:54 PM, Lamb, Joel wrote: > > Jeff > > > > I'm not sure I specified where apr was to be installed, so I'm not sure. > Is there some way I can tell? > > > > IIUC, it defaults to installation under /usr (i.e., same place as system > apr). So I guess that apr under /opt/vulture is not what you just > installed. > > > > I guess you could find the location(s) on your system of the versioned > library file libapr-1.so.0.5.0 to see where your APR rpm went. > > > > > > I get the same error when I run ./testall > > > > ./testall > > teststrmatch : SUCCESS > > testuri : SUCCESS > > testuuid : -./testall: symbol lookup error: > /root/rpmbuild/BUILD/apr-util-1.5.3/.libs/libaprutil-1.so.0: undefined > symbol: apr_os_uuid_get > > > > Thank you again.. > > > > *Joel A. Lamb * > > Senior Translations Engineer > Frontier Communications > 8001 West Jefferson Blvd > Fort Wayne, Indiana 46804 > (260) 461-2168 (o) > (260) 403-3095 (c) > (260) 461-2124 (f) > > joel.lamb@ftr.com > > > > *From:* Jeff Trawick [mailto:trawick@gmail.com] > *Sent:* Friday, January 31, 2014 4:49 PM > > > *Cc:* dev@apr.apache.org > *Subject:* Re: APR Util Question > > > > On Fri, Jan 31, 2014 at 4:40 PM, Lamb, Joel wrote: > > Hi Jeff > > > > Thank you for the quick response. > > > > Yes APR has been installed. > > > > I did an rpmbuild -tb on apr-1.5.0.tar.bz2 and it created the two rpms and > I installed them. > > > > Here is the ldd of testall > > > > ldd testall > > linux-vdso.so.1 => (0x00007ffff41ff000) > > libaprutil-1.so.0 => > /root/rpmbuild/BUILD/apr-util-1.5.3/.libs/libaprutil-1.so.0 > (0x00007fbe92186000) > > libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003e9de00000) > > libapr-1.so.0 => /opt/vulture/httpd/lib/libapr-1.so.0 > (0x00007fbe91f49000) > > > > That's where the apr RPM you created is installed, right? > (/opt/vulture/httpd) > > > > Does testall run correctly when run outside of the rpmbuild? (cd to the > directory, run ./testall) > > > > > > > > libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003e9ca00000) > > librt.so.1 => /lib64/librt.so.1 (0x0000003763800000) > > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003de2e00000) > > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003330c00000) > > libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 > (0x0000003765800000) > > liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 > (0x0000003765c00000) > > libc.so.6 => /lib64/libc.so.6 (0x0000003e9ae00000) > > /lib64/ld-linux-x86-64.so.2 (0x0000003e9a600000) > > libfreebl3.so => /usr/lib64/libfreebl3.so (0x0000003de2200000) > > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbe91d2c000) > > libssl3.so => /usr/lib64/libssl3.so (0x0000003763c00000) > > libsmime3.so => /usr/lib64/libsmime3.so (0x0000003764000000) > > libnss3.so => /usr/lib64/libnss3.so (0x0000003764c00000) > > libnssutil3.so => /usr/lib64/libnssutil3.so (0x0000003764400000) > > libplds4.so => /usr/lib64/libplds4.so (0x0000003765000000) > > libplc4.so => /usr/lib64/libplc4.so (0x0000003765400000) > > libnspr4.so => /usr/lib64/libnspr4.so (0x0000003764800000) > > libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00000039c6a00000) > > libdl.so.2 => /lib64/libdl.so.2 (0x0000003de2a00000) > > libz.so.1 => /lib64/libz.so.1 (0x0000003e9c600000) > > > > Thank you again for your help > > > > *Joel A. Lamb * > > Senior Translations Engineer > Frontier Communications > 8001 West Jefferson Blvd > Fort Wayne, Indiana 46804 > (260) 461-2168 (o) > (260) 403-3095 (c) > (260) 461-2124 (f) > > joel.lamb@ftr.com > > > > *From:* Jeff Trawick [mailto:trawick@gmail.com] > *Sent:* Friday, January 31, 2014 4:25 PM > *Cc:* dev@apr.apache.org > *Subject:* Re: APR Util Question > > > > On Fri, Jan 31, 2014 at 3:32 PM, Lamb, Joel wrote: > > Dev Team > > > > I couldn't find a list for support or questions, so I hope this is the > correct list to sent to. > > > > I'm trying to build apr-util-1.5.3.tar.bz2 which I downloaded from your > site. I'm getting an error with testing and I can't seem to figure out > what to do next. Any help you can provide will be greatly appreciated. > > > > OS: Red Hat Enterprise Linux Server release 6.2 (Santiago) > > > > I was able to build apr-1.5.0.tar.bz2 with no issues. > > > > Command I'm running: rpmbuild -tb apr-util-1.5.3.tar.bz2 > > > > Error I'm getting: > > Loaded freetds driver OK. > > Failed to open freetds[] > > Loaded odbc driver OK. > > [Fri Jan 31 15:22:57 2014] [dbd_odbc] SQLConnect returned SQL_ERROR (-1) > at dbd/apr_dbd_odbc.c:1131 [unixODBC][Driver Manager]Data source name not > found, and no default driver specified IM002 > > Failed to open odbc[] > > teststrmatch : SUCCESS > > testuri : SUCCESS > > testuuid : -./testall: symbol lookup error: > /root/rpmbuild/BUILD/apr-util-1.5.3/.libs/libaprutil-1.so.0: undefined > symbol: apr_os_uuid_get > > Programs failed: testall > > make: *** [check] Error 127 > > + exit 1 > > error: Bad exit status from /var/tmp/rpm-tmp.aVaF6n (%check) > > > > I guess the apr-util test suite is not running against the expected apr, > resulting in this failure. > > > > Has apr-1.5.0 been installed? > > > > Does testall still exist after the failure (/root/rpmbuild/BUILD/...)? > Can you use ldd on testall to see which libapr-1.so gets picked up? > > > > > > > > Thank You > > > > *Joel A. Lamb * > > Senior Translations Engineer > Frontier Communications > 8001 West Jefferson Blvd > Fort Wayne, Indiana 46804 > (260) 461-2168 (o) > (260) 403-3095 (c) > (260) 461-2124 (f) > > joel.lamb@ftr.com > > > > > > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > > > > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > > > > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > -- Born in Roswell... married an alien... http://emptyhammock.com/ --089e0158c7c8e200c304f158a400 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On F= ri, Jan 31, 2014 at 5:11 PM, Lamb, Joel <Joel.Lamb@ftr.com> = wrote:

Thanks Jeff=

 

I found the correct versi= on in /usr/lib64, so I removed the symbolic links in /opt/vulture/httpd/lib= and it worked.


Great!

APR folks, shouldn't users normally override the prefix when building= the RPMs in order to leave the system-provided libraries and anything depe= nding on them untouched?

 

 

Thanks again.

 

Joel A. Lamb 

Senior Translations Engineer
Frontier Communications 
8001 West Jefferson Blvd 
Fort Wayne, Indiana 46804 
(260) 461-2168 (o) 
(260) 403-3095 (c) 
(260) 461-2124 (f) 

joel.lamb@ftr.com 

 

From: = Jeff Trawick [mailto:trawick@gmail.com]
Sent: Friday, January 31, 2014 5:00 PM


Cc: dev@apr.= apache.org
Subject: Re: APR Util Question

=

 

On Fri, Jan 31, 2014 at 4:54 PM, Lamb, Joel <Joel.Lamb@ftr.com>= ; wrote:

Jeff=

 

I’m not sure I spec= ified where apr was to be installed, so I’m not sure.  Is there = some way I can tell?

 

IIUC, it defaults to installation under /usr (i.e., = same place as system apr).  So I guess that apr under /opt/vulture is = not what you just installed.

 

I guess you could find the location(s) on your syste= m of the versioned library file libapr-1.so.0.5.0 to see where your APR rpm= went.

 

 

I get the same error when= I run ./testall

 

./testall

teststrmatch  &= nbsp;     : SUCCESS

testuri   =           : SUCCESS<= /u>

testuuid   = ;         : -./testall: symbol look= up error: /root/rpmbuild/BUILD/apr-util-1.5.3/.libs/libaprutil-1.so.0: undefined symbol: apr_os_uuid_get

 

Thank you again..<= u>

 

Joel A. Lamb =

Senior Translations Engineer
Frontier Communications 
8001 West Jefferson Blvd 
Fort Wayne, Indiana 46804 
(260) 461-2168 (= o) 
(260) 403-3095 (= c) 
(260) 461-2124 (= f) 

joel.lamb@ftr.com 

 

From: Jeff T= rawick [mailto:trawi= ck@gmail.com]
Sent: Friday, January 31, 2014 4:49 PM


Cc: dev@apr.= apache.org
Subject: Re: APR Util Question

 

On Fri, Jan 31, 2014 at 4:40 PM, Lamb, Joel <Joel.Lamb@ftr.com>= ; wrote:

Hi Jeff<= /u>

 

Thank you for the quick r= esponse.

 

Yes APR has been installe= d.

 

I did an rpmbuild –= tb on apr-1.5.0.tar.bz2 and it created the two rpms and I installed them.

 

Here is the ldd of testal= l

 

ldd testall=

    &= nbsp;   linux-vdso.so.1 =3D>  (0x00007ffff41ff000)=

    &= nbsp;   libaprutil-1.so.0 =3D> /root/rpmbuild/BUILD/apr-util-1= .5.3/.libs/libaprutil-1.so.0 (0x00007fbe92186000)

    &= nbsp;   libexpat.so.1 =3D> /lib64/libexpat.so.1 (0x0000003e9de= 00000)

    &= nbsp;   libapr-1.so.0 =3D> /opt/vulture/httpd/lib/libapr-1.so.= 0 (0x00007fbe91f49000)

 

That's where the apr RPM you created is installe= d, right?  (/opt/vulture/httpd)

 

Does testall run correctly when run outside of the r= pmbuild?  (cd to the directory, run ./testall)

 

 

 

    &= nbsp;   libuuid.so.1 =3D> /lib64/libuuid.so.1 (0x0000003e9ca00= 000)

    &= nbsp;   librt.so.1 =3D> /lib64/librt.so.1 (0x0000003763800000)=

    &= nbsp;   libcrypt.so.1 =3D> /lib64/libcrypt.so.1 (0x0000003de2e= 00000)

    &= nbsp;   libpthread.so.0 =3D> /lib64/libpthread.so.0 (0x0000003= 330c00000)

    &= nbsp;   libldap-2.4.so.2 =3D> /usr/lib64/libldap-2.4.so.2 (0x0= 000003765800000)

    &= nbsp;   liblber-2.4.so.2 =3D> /usr/lib64/liblber-2.4.so.2 (0x0= 000003765c00000)

    &= nbsp;   libc.so.6 =3D> /lib64/libc.so.6 (0x0000003e9ae00000)

    &= nbsp;   /lib64/ld-linux-x86-64.so.2 (0x0000003e9a600000)

    &= nbsp;   libfreebl3.so =3D> /usr/lib64/libfreebl3.so (0x0000003= de2200000)

    &= nbsp;   libresolv.so.2 =3D> /lib64/libresolv.so.2 (0x00007fbe9= 1d2c000)

    &= nbsp;   libssl3.so =3D> /usr/lib64/libssl3.so (0x0000003763c00= 000)

    &= nbsp;   libsmime3.so =3D> /usr/lib64/libsmime3.so (0x000000376= 4000000)

    &= nbsp;   libnss3.so =3D> /usr/lib64/libnss3.so (0x0000003764c00= 000)

    &= nbsp;   libnssutil3.so =3D> /usr/lib64/libnssutil3.so (0x00000= 03764400000)

    &= nbsp;   libplds4.so =3D> /usr/lib64/libplds4.so (0x00000037650= 00000)

    &= nbsp;   libplc4.so =3D> /usr/lib64/libplc4.so (0x0000003765400= 000)

    &= nbsp;   libnspr4.so =3D> /usr/lib64/libnspr4.so (0x00000037648= 00000)

    &= nbsp;   libsasl2.so.2 =3D> /usr/lib64/libsasl2.so.2 (0x0000003= 9c6a00000)

    &= nbsp;   libdl.so.2 =3D> /lib64/libdl.so.2 (0x0000003de2a00000)=

    &= nbsp;   libz.so.1 =3D> /lib64/libz.so.1 (0x0000003e9c600000)

 

Thank you again for your = help

 

Joel A. Lamb =

Senior Translations Engineer
Frontier Communications 
8001 West Jefferson Blvd 
Fort Wayne, Indiana 46804 
(260) 461-2168 (= o) 
(260) 403-3095 (= c) 
(260) 461-2124 (= f) 

joel.lamb@ftr.com 

 

From: Jeff T= rawick [mailto:trawi= ck@gmail.com]
Sent: Friday, January 31, 2014 4:25 PM
Cc: dev@apr.= apache.org
Subject: Re: APR Util Question

 

On Fri, Jan 31, 2014 at 3:32 PM, Lamb, Joel <Joel.Lamb@ftr.com>= ; wrote:

Dev Team

 

I couldn’t find a list for support or question= s, so I hope this is the correct list to sent to.

 

I’m trying to build apr-util-1.5.3.tar.bz2 whi= ch I downloaded from your site.  I’m getting an error with testi= ng and I can’t seem to figure out what to do next.  Any help you= can provide will be greatly appreciated.

 

OS: Red Hat Enterprise Linux Server release 6.2 (San= tiago)

 

I was able to build apr-1.5.0.tar.bz2 with no issues= .

 

Command I’m running: rpmbuild -tb apr-util-1.5= .3.tar.bz2

 

Error I’m getting:

Loaded freetds driver OK.

Failed to open freetds[]

Loaded odbc driver OK.

[Fri Jan 31 15:22:57 2014] [dbd_odbc] SQLConnect ret= urned SQL_ERROR (-1) at dbd/apr_dbd_odbc.c:1131 [unixODBC][Driver Manager]D= ata source name not found, and no default driver specified IM002

Failed to open odbc[]

teststrmatch      &nbs= p; : SUCCESS

testuri       &nb= sp;     : SUCCESS

testuuid       &n= bsp;    : -./testall: symbol lookup error: /root/rpmbuild/BU= ILD/apr-util-1.5.3/.libs/libaprutil-1.so.0: undefined symbol: apr_os_uuid_g= et

Programs failed: testall

make: *** [check] Error 127

+ exit 1

error: Bad exit status from /var/tmp/rpm-tmp.aVaF6n = (%check)

 

I guess the apr-util test suite is not running again= st the expected apr, resulting in this failure.

 

Has apr-1.5.0 been installed?

 

Does testall still exist after the failure (/root/rp= mbuild/BUILD/...)?  Can you use ldd on testall to see which libapr-1.s= o gets picked up?

 

 

 

Thank You

 

Joel A. Lamb&nbs= p;

Senior Translations Engineer
Frontier Communications 
8001 West Jefferson Blvd 
Fort Wayne, Indiana 46804 
(260) 461-2168 (= o) 
(260) 403-3095 (= c) 
(260) 461-2124 (= f) 

joel.lamb@ftr.com 

 



 

--
Born in Roswell... married an alien...
http://emptyhammock.= com/



 

--
Born in Roswell... married an alien...
http://emptyhammock.= com/



 

--
Born in Roswell... married an alien...
http://emptyhammock.= com/




--
Born in Rosw= ell... married an alien...
http://emptyhammock.com/
--089e0158c7c8e200c304f158a400--