httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41308] New: - Build error on Fedora Core 6 64-bit (FC6) with workaround
Date Sat, 06 Jan 2007 11:42:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41308

           Summary: Build error on Fedora Core 6 64-bit (FC6) with
                    workaround
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vangli@online.no


When I tried to build httpd 2.2.3 on a freshly installed Fedora Core 6 64-bit
plattform it didn't compile. I got the following error from the linker:

/usr/lib/libexpat.so: could not read symbols: File in wrong format

My environment has the following settings:

CFLAGS="-march=opteron"
CXXFLAGS="-march=opteron"
LDFLAGS="-L/usr/lib64 -L/lib64"
export CFLAGS CXXFLAGS LDFLAGS

./configure  --prefix=/usr             \
             --enable-mods-shared=all  \
             --libdir=/usr/lib64       \
             --enable-proxy            \
             --enable-proxy-connect    \
             --enable-proxy-ftp        \
             --enable-proxy-http       \
             --enable-rewrite          \
             --disable-dbd

A search for the expat libraries shows that the correct ones exist, though in
/usr/lib64 (not /usr/lib).

The manual workaround is to edit the generated Makefile in ./srclib/apr-util
from the above configuration. Just search for the definition of the constant
APRUTIL_LIBS and change "/usr/lib/libexpat.la" to "/usr/lib64/libexpat.la".

Then you may run make as normally form your surce code root.

It seems plausible that this error is not a bug in the source code. It almost
certainly is a configuration bug on at least 64-bit FC6, which, imho, should be
handled in the configuration script, either as a fix or a new configuration
variable.

With very best regards

Bent Vangli, Oslo, Norway

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message