top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Issues in compiling apache server on one machine and transfer to second

+2 votes
441 views

I have 2 linux machine. I have compiled apache 2.4.6 on one of the linux machine with following commands:

./configure --prefix=/usr/apache--with-ssl=/usr/local/ssl --enable-ssl --enable-modules="all" --enable-mods-shared="most" 
make
make install

This has installed apache on this machine and it works fine. However when i copy this apache (where it got installed) folder on other linux machine. I am getting following error while starting httpd with following commad:

httpd -k start

error:
/httpd: symbol lookup error: /usr/papache/lib/libapr-1.so.0: undefined symbol: dlopen

Can you please help me to understand what is going wrong.

posted Nov 12, 2013 by Ahmed Patel

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Programs are linked together with libraries. Different versions of OSes will likely have different library versions. If you compile a dynamically linked binary on one machine, it is only guaranteed to work on the exact same OS/version.

answer Nov 12, 2013 by Deepankar Dubey
Similar Questions
+1 vote

Is it possible to configure Apache 2.4 to accept only one connection at time on port 443? is this something I can configure for my Virtual Hosts?

0 votes

I am newbie in Apache concepts and only know Apache Tomcat. Following is my requirement, would anybody please help me how to setup.

I have a clustered JBOSS EAP 6.3 instances running on two different Windows 8 machines. Now I am planning to put a load balancer to dispatch the requests to these JBOSS clustered servers.

I am thinking of Apache httpds as a load balancer. What I got to know is these Apache web server will be available in source code and source code needs to be compiled as per the environment.

I am not finding any Windows 8 (64bit) Apache http installed in the Apache site. Would someone help me from where to download the Windows 8 (64bit) version of Apache httpd service.

And also any guide to setup the load balancer on Windows machine.

+1 vote

I am working on a Ubuntu 10.04 server, on which I installed PHP 5.3, Apache 2 2.2.9. I followed the below steps to do the installation :

  1. I installed apache2 using SUDO APT-GET INSTALL APACHE2

  2. I also installed libapache2 and php using the below commands
    sudo apt-get install php5 libapache2-mod-php5
    sudo apt-get install php5-core

  3. I did redirection to port by configuring the DEFAULT file in /ETC/APACHE2/SITES-AVAILABLE. Redirection happened successfully.

  4. PHP5-curl was installed using
    SUDO APT-GET INSTALL PHP5-CURL

  5. Rewrite mod was enabled in apache2 using
    SUDO A2ENMOD REWRITE and apache2 was restarted.

Now, after following this if I try to access the URL, I get the following message -

 THE REQUESTED URL /.../..../ WAS NOT FOUND ON THIS SERVER.  

But, the same URL is accessed from another system with the same configuration , it works fine.

+1 vote

Any suggestions on how I should install/configure Ubuntu server on the following hardware that I'm acquiring tomorrow?

Dual Xeon 2.0 GHz processors
5 x 146 GB SCSI Hot Swap Drives (10 Bays available and maybe filled in the near future)
16 GB RAM
1 Gb NIC

This machine will be used for various game servers (minecraft and the like) for my Son and his group of friends. It will also handle email/chat/ssh/file sharing as well.

I was thinking that maybe something like Proxmox first and then multiple virtual machines under that? I have zero experience with that but it will be fun to experiment.

0 votes

I have the following modules installed on my linux computer:

openldap-2.2.13-12.el4_8.2 
nss_ldap-253-7.el4 

According to the documentation Apache can work with more than one LDAP module:
https://httpd.apache.org/docs/current/mod/mod_authnz_ldap.html [1]

How can I ensure Apache HTTPD server works with OpenLDap installed on my computer? Where I configure it?

...