You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vadym Chepkov <ch...@yahoo.com> on 2009/07/28 00:45:11 UTC
[users@httpd] How to exclude /usr/local/lib during compilation
Hi,
How does one exclude /usr/local/lib from lib path when compiling httpd-2.2.11?
I have an old openssl libcrypto, which I can't remove, installed in /usr/local/lib. I want httpd to be compiled with openssl installed in /usr/local/ssl/ instead.
I specifically set
CPPFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib
I run configure:
./configure --prefix=/app/apache --with-included-apr --enable-ssl --enable-mods-shared=all --enable-proxy --enable-proxy-ajp --with-ssl=/usr/local/ssl
But, configure set -L/usr/local/lib in the path before -L/usr/local/ssl/lib no matter what.
Thank you.
Sincerely yours,
Vadym Chepkov
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to exclude /usr/local/lib during compilation
Posted by André Warnier <aw...@ice-sa.com>.
Vadym Chepkov wrote:
> Hi,
>
> How does one exclude /usr/local/lib from lib path when compiling httpd-2.2.11?
> I have an old openssl libcrypto, which I can't remove, installed in /usr/local/lib. I want httpd to be compiled with openssl installed in /usr/local/ssl/ instead.
>
> I specifically set
>
> CPPFLAGS=-I/usr/local/ssl/include
> LDFLAGS=-L/usr/local/ssl/lib
>
> I run configure:
> ./configure --prefix=/app/apache --with-included-apr --enable-ssl --enable-mods-shared=all --enable-proxy --enable-proxy-ajp --with-ssl=/usr/local/ssl
>
> But, configure set -L/usr/local/lib in the path before -L/usr/local/ssl/lib no matter what.
>
./configure is a script, isn't it ?
If yes, you can modify it, no ?
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org