- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I build apache for 64-bit server, Please su...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 10:30 PM
тАО05-16-2006 10:30 PM
I have downloaded the apache 2058 source.
I need to build apache for a HP Itanium server.
How do I build apache for 64-bit server, Please suggest.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 10:38 PM
тАО05-16-2006 10:38 PM
Re: How do I build apache for 64-bit server, Please suggest.
You need to use "-mlp64" in case if you use GCC to build. If you are using "aCC", you can specify "+DD64". Just export CFLAGS and CPPFLAGS before start configuring,
# export CFLAGS="-mlp64" or "+DD64"
# export CPPFLAGS="-mlp64" or "+DD64"
-Arun
P.S Remember to assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 11:12 PM
тАО05-16-2006 11:12 PM
Re: How do I build apache for 64-bit server, Please suggest.
Thanks.
I could build apache using the following steps:
export CC="gcc"
export CFLAGS="-mlp64"
./configure --prefix=/disk1/apache2058
make
make install
However when I run apache I am getting the following error:
asaha@banpchp5:/disk1/apache2058/bin>./apachectl start
/usr/lib/hpux64/dld.so: Unable to find library 'libgcc_s.so.0'.
./apachectl[80]: 2379 Killed
I have created a symbolic link in /usr/lib/hpux64 for libgcc_s.so.0, even then I am getting this error. Please suggest.
asaha@banpchp5:/usr/lib/hpux64>ls -l libgcc_s.so.0
lrwxr-xr-x 1 root sys 35 May 17 16:05 libgcc_s.so.0 -> /opt/hp-gcc-4.0.3/lib/libgcc_s.so.0
asaha@banpchp5:/usr/lib/hpux64>
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 01:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 12:49 PM
тАО05-17-2006 12:49 PM
Re: How do I build apache for 64-bit server, Please suggest.
What _specifically_ makes you want a 64-bit Apache binary? For that matter, is there something specific you need that is not provided by the HP-supplied Apache binary?
Is the gcc you have installed capable of building a 64-bit binary?
Keep in mind that one cannot mix 32-bit and 64-bit objects/libraries in the same executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2006 04:05 PM
тАО05-17-2006 04:05 PM
Re: How do I build apache for 64-bit server, Please suggest.
You are right.
I had created a symbolic link for libgcc_s.so.0 in /usr/lib/hpux64, but the source was a 32-bit library in /opt/hp-gcc-4.0.3/lib.
I changed it to point to 64-bit one at /opt/hp-gcc-4.0.3/lib/hpux64 and could start apache.
Thanks a lot.
By the way we are testing apache-weblogic plugin module on hp unix itanium and so we had build apache 64-bit binary.
Thanks again.