RE: [users@httpd] Installing Apache 2.2.0 on AMD Opteron running SuSE 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Garry,
Setting libdir to /usr/lib64 during configuration step didn't fixed the problem. I'm ready to try your second suggestion; edit /etc/ld.so.conf.
But before I do that I have few questions regarding this file.

Here is the original content of /etc/ld.so.conf. It does include /usr/lib64 in it. Would I need to remove all the reference of /usr/lib in the file?
And, would it make other programs that require 32 bits libraries to fail?

/usr/X11R6/lib64/Xaw95
/usr/X11R6/lib64/Xaw3d
/usr/X11R6/lib64
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/x86_64-suse-linux/lib64
/usr/x86_64-suse-linux/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/kde2/lib
/opt/kde3/lib
/opt/gnome/lib
/opt/gnome2/lib
/lib64
/lib
/usr/lib64
/usr/lib
/usr/local/lib64
/usr/openwin/lib64
/opt/kde/lib64
/opt/kde2/lib64
/opt/kde3/lib64
/opt/gnome/lib64
/opt/gnome2/lib64
include /etc/ld.so.conf.d/*.conf

Thank you in advance for your help!

Regards,
Jennifer


Hi Jen,
You can add a flag to the compile option to say what lid dir you want to
include. See the link below for more

http://httpd.apache.org/docs/2.2/programs/configure.html

If that does not work you can edit the /etc/ld.so.conf file and rerun
ldconfig as root.

Giz

-----Original Message-----
From: Jennifer [mailto:lai@xxxxxxxxxxxxxxx] Sent: 14 April 2006 17:15
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] Installing Apache 2.2.0 on AMD Opteron running
SuSE 10

Hi, Compiling Apache 2.2.0 on an AMD Opteron running SuSE 10 failed with the following error message:
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/home/lai/httpd-2.2.0/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lai/httpd-2.2.0/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lai/httpd-2.2.0/srclib'
make: *** [all-recursive] Error 1


It looks like it's picking up the wrong library. It should pick up /usr/lib64/libexpat.so instead of /usr/lib.
Is there a file that I can change so that configure script pick up the
right lib directory?
Any help is greatly appreciated! Thanks!

P.S.  Just for an experiment, I compiled Apache 2.0.55 on the same
machine with same OS, and I was able to compile and install Apache 2.0.55 successfully without any problem. I would like to keep up-to-date on Apache server, but if staying with older version fixes the problem, maybe that's the way to go for now.


Regards,
Jennifer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux