How do I tell Apache where to find the APR and APR-utils?

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

 



Hi, 
   I am not sure this is the right forum for my question, but here it
is:

    		How do I tell Apache where to find the APR and APR-utils
libraries if the
    		libraries are in a different directory than that used in
the 'configure' step ?

   I am compiling Apache with the options 
       --prefix=/home/user/opt/myapp/apache
       --with-apr=/home/user/opt/myapp/apr
       --with-apr-util=/home/user/opt/myapp/apr-util
   
   I am creating a tar file with all my application (Apache, Tomcat and
couple of webapps) and deploying into a different machine, possibly in a
different path, usually /opt/myapp. The layout of my app ends up being
something like:

        /opt/myapp
		  |-- apache/
              |-- tomcat/
		  |-- apr/
		  \-- apr-util/

    When I try to start Apache, I get the error:
		 
httpd: Syntax error on line 70 of /opt/myapp/apache/conf/httpd.conf:
Cannot load /opt/myapp/apache/modules/mod_authn_dbd.so into server:
/opt/myapp/apache/modules/mod_authn_dbd.so: undefined symbol:
apr_dbd_get_name

    Before starting Apache, I already defined and exported the
environment variable:
	
LD_LIBRARY_PATH=/opt/myapp/apr/lib:/opt/myapp/apr-util/lib 
    But I keep getting the same error.

    I noticed that the APR and APR-util have a directory /lib/pkgconfig
with some files with the extension .pc
    I also modified those files to point to the right deployment
directory, but same error.

    How do I tell Apache where to find the APR and APR-utils libraries
if the
    libraries are in a different directory than that used in the
'configure' step ? 

    If this is not the right forum, could anybody suggest where could I
get an answer?
    Thanks.
	

-Jorge


---------------------------------------------------------------------
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