From 942411c114aa843c5e47dd641666f27463c77566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Thu, 26 May 2011 15:47:21 +0800 Subject: [PATCH] emphasized that you need to add the path of your "ldconfig" utility to your PATH env if you want to enable luajit. --- README | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README b/README index c87c53d..21cc03d 100644 --- a/README +++ b/README @@ -15,6 +15,18 @@ A quick note to Debian and Ubuntu users: apt-get install libreadline-dev libpcre3-dev libssl-dev perl + If you want to enable LuaJIT, ensure that your system's "ldconfig" + utility is in your PATH environment. You can check out + the path of your "ldconfig" by using the "whereis" command: + + whereis ldconfig + + On Debian systems, it's usually /sbin, and you just need to add + it to your PATH this way: + + PATH=/sbin:$PATH + export PATH + A quick note to Fedora/RedHat users: You're recommended to install the following packages using yum before installing this bundle: @@ -58,9 +70,6 @@ in your PATH environment, and then follow the following steps: so when it complaints about OpenSSL and you have indeed already installed it, specify the --with-ld-opt='-L/lib' option. - At least on some Debian systems, when --with-luajit is specified, - it is required to specify the option --with-ld-opt="-ldl" as well. - Errors in running the ./configure script can be found in this file: build/nginx-0.8.54/objs/autoconf.err