Skip Menu |

This queue is for tickets about the libapreq2 CPAN distribution.

Report information
The Basics
Id: 53618
Status: rejected
Priority: 0/
Queue: libapreq2

People
Owner: Nobody in particular
Requestors: morten_bjoernsvik [...] yahoo.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: install fails with both 64bit and 32 bit libexpat installed
Date: Tue, 12 Jan 2010 10:55:00 +0000 (GMT)
To: bug-libapreq2 [...] rt.cpan.org
From: morten bjoernsvik <morten_bjoernsvik [...] yahoo.no>
Hi linux: Centos 5.2 x86_64, libapreq2-2-12 gcc -shared  .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o .libs/module.o .libs/module_custom.o .libs/module_cgi.o .libs/error.o  -Wl,--rpath -Wl,/opt/apache/lib -Wl,--rpath -Wl,/opt/apache/lib /opt/apache/lib/libapr-1.so /opt/apache/lib/libaprutil-1.so -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libexpat.so  -Wl,-soname -Wl,libapreq2.so.3 -o .libs/libapreq2.so.3.7.1 /usr/lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[2]: *** [libapreq2.la] Error 1 make[2]: Leaving directory `/var/tmp/cpan_extract/libapreq2-2.12/library' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/cpan_extract/libapreq2-2.12/library' make: *** [all-recursive] Error 1 To fix replace /usr/lib/libexpat.so with -lexpat then the compiler will decide to use 64bit or 32bit based on the order of -L<paths> I was unable to find a generic way to do this. Probably some filtering with $APR_LIBS We have several libraries we need both 46bit and 32bit versions installed, so this is not an uncommon situation. Thanks -- Morten Bjoernsvik Show quoted text
_________________________________________________________ Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og notisblokk. http://no.mail.yahoo.com
Subject: [rt.cpan.org #53618] install fails with both 64bit and 32 bit libexpat installed
Date: Tue, 12 Jan 2010 21:01:33 +0000 (GMT)
To: bug-libapreq2 [...] rt.cpan.org
From: morten bjoernsvik <morten_bjoernsvik [...] yahoo.no>
Hi If I compile with apache 2.0.x instead of apache 2.2.x it works, I believe it to be an issue with the apache utils. -- MortenB Show quoted text
_________________________________________________________ Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og notisblokk. http://no.mail.yahoo.com
Closed. Bug seems to be non-specific to apreq, but rather to apache lib environment with 32/64-bit libs side-by-side.