Installing mod_perl
am 19.06.2009 16:32:22 von ArthurG--Apple-Mail-5-826770053
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
Hi
I'm installing mod_perl on Ubuntu 8.04.2 LTS 32-bit. I receive the error
> make[3]: Entering directory `/home/artg/Downloads/mod_perl-2.0.4/xs/
> APR/APR'
> rm -f ../../../blib/arch/auto/APR/APR.so
> LD_RUN_PATH="/usr/lib:/lib" cc -shared -L/usr/local/lib APR.o
> modperl_error.o modperl_bucket.o modperl_common_util.o
> modperl_common_log.o -L/usr/local/lib -o ../../../blib/arch/auto/APR/
> APR.so \
> -L/home/artg/Downloads/httpd-2.2.3/srclib/apr-util -
> laprutil-1 -lexpat -L/home/artg/Downloads/httpd-2.2.3/srclib/apr -
> lapr-1 -lrt -lcrypt -lpthread -ldl \
>
> /usr/bin/ld: cannot find -laprutil-1
I have installed Apache, apr and apr-util:
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /home/artg/
> Downloads/httpd-2.2.3/srclib/apr
> apr-1-config build config.nice file_io
> libtool mmap README.dev threadproc
> apr-config.in buildconf config.status helpers
> LICENSE network_io renames_pending time
> apr.dsp build.conf configure images
> locks NOTICE shmem user
> apr.dsw build-outputs.mk configure.in include
> Makefile NWGNUmakefile strings
> apr.pc CHANGES docs libapr.dsp
> Makefile.in passwd support
> apr.pc.in config.layout dso libaprnw.mcp.zip
> memory poll tables
> atomic config.log emacs-mode libapr.rc
> misc random test
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /home/artg/
> Downloads/httpd-2.2.3/srclib/apr-util
> aprutil.dsp buckets config.layout crypto
> export_vars.sh.in libaprutil.rc NWGNUmakefile xml
> aprutil.dsw build config.log dbd
> hooks LICENSE renames_pending
> apr-util.pc buildconf config.nice dbm
> include Makefile strmatch
> apr-util.pc.in build.conf config.status docs
> INSTALL.MySQL Makefile.in test
> apu-1-config build-outputs.mk configure encoding
> ldap misc uri
> apu-config.in CHANGES configure.in export_vars.sh
> libaprutil.dsp NOTICE xlate
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /lib/*apr* /usr/
> lib/*apr*
> ls: cannot access /lib/*apr*: No such file or directory
> /usr/lib/libapr-1.so.0 /usr/lib/libaprutil-1.so.0 /usr/
> lib/libgstdataprotocol-0.10.so.0
> /usr/lib/libapr-1.so.0.2.11 /usr/lib/libaprutil-1.so.0.2.11 /usr/
> lib/libgstdataprotocol-0.10.so.0.16.0
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /lib/*aprutil* /
> usr/lib/*aprutil*
> ls: cannot access /lib/*aprutil*: No such file or directory
> /usr/lib/libaprutil-1.so.0 /usr/lib/libaprutil-1.so.0.2.11
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$
>
The ld man page doesn't say that ld will link *.so.
appears that they're widely used. E.g.,
> artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /usr/lib/*crypt* /
> lib/*crypt*
> /lib/libcrypt-2.7.so /usr/lib/libbeecrypt.so.6 /usr/lib/
> libcrypt.so /usr/lib/libk5crypto.so.3.1
> /lib/libcrypt.so.1 /usr/lib/libbeecrypt.so.6.4.0 /usr/lib/
> libcryptui.so.0
> /lib/libgcrypt.so.11 /usr/lib/libcrypt.a /usr/lib/
> libcryptui.so.0.0.0
> /lib/libgcrypt.so.11.2.3 /usr/lib/libcrypto.so.0.9.8 /usr/lib/
> libk5crypto.so.3
>
My inclination would be to say
> mv /usr/lib/libaprutil-1.so.0 /usr/lib/libaprutil.so.0
and s/aprutil-1/aprutil/ in /home/artg/Downloads/mod_perl-2.0.4/xs/APR/
APR/Makefile (or /home/artg/Downloads/mod_perl-2.0.4/xs/APR/APR/
Makefile.PL) to match but I'm not confident of that.
Color me confused.
Thanks
A
Arthur P. Goldberg, PhD
Research Scientist in Bioinformatics Group
Plant Systems Biology Laboratory
www.virtualplant.org
Visiting Academic
Computer Science Department
Courant Institute of Mathematical Sciences
www.cs.nyu.edu/artg
artg@cs.nyu.edu
New York University
212 995-4918
100 Washington Sq East
8th Floor Silver Building
Arthur P. Goldberg, PhD
Research Scientist in Bioinformatics Group
Plant Systems Biology Laboratory
www.virtualplant.org
Visiting Academic
Computer Science Department
Courant Institute of Mathematical Sciences
www.cs.nyu.edu/artg
artg@cs.nyu.edu
New York University
212 995-4918
100 Washington Sq East
8th Floor Silver Building
Arthur P. Goldberg, PhD
Research Scientist in Bioinformatics Group
Plant Systems Biology Laboratory
www.virtualplant.org
Visiting Academic
Computer Science Department
Courant Institute of Mathematical Sciences
www.cs.nyu.edu/artg
artg@cs.nyu.edu
New York University
212 995-4918
100 Washington Sq East
8th Floor Silver Building
--Apple-Mail-5-826770053
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
-webkit-line-break: after-white-space; ">
-webkit-line-break: after-white-space; ">Hi
installing mod_perl on Ubuntu 8.04.2 LTS 32-bit. I receive the =
error
class=3D"Apple-style-span" color=3D"#000000">make[3]: Entering directory =
`/home/artg/Downloads/mod_perl-2.0.4/xs/APR/APR'class=3D"Apple-style-span" color=3D"#000000">rm -f =
.../../../blib/arch/auto/APR/APR.soclass=3D"Apple-style-span" color=3D"#000000">LD_RUN_PATH=3D"/usr/lib:/lib"=
cc -shared -L/usr/local/lib APR.o modperl_error.o =
modperl_bucket.o modperl_common_util.o modperl_common_log.o =
-L/usr/local/lib -o ../../../blib/arch/auto/APR/APR.so =
\color=3D"#000000"> =
-L/home/artg/Downloads/httpd-2.2.3/srclib/apr-util -laprutil-1 -lexpat =
-L/home/artg/Downloads/httpd-2.2.3/srclib/apr -lapr-1 -lrt -lcrypt =
-lpthread -ldl \class=3D"Apple-style-span" color=3D"#000000"> =
color=3D"#000000">/usr/bin/ld: cannot find =
-laprutil-1
I have installed Apache, apr =
and apr-util:
class=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier =
New'">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls =
/home/artg/Downloads/httpd-2.2.3/srclib/aprclass=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier New'">apr-1-config =
build config.nice =
file_io libtool =
mmap README.dev =
threadproccolor=3D"#000000"> New'">apr-config.in buildconf =
config.status helpers LICENSE =
network_io renames_pending =
timecolor=3D"#000000"> New'">apr.dsp build.conf =
configure images =
locks NOTICE =
shmem =
usercolor=3D"#000000"> New'">apr.dsw build-outputs.mk =
configure.in include =
Makefile NWGNUmakefile =
stringscolor=3D"#000000"> New'">apr.pc CHANGES =
docs libapr.dsp =
Makefile.in passwd =
supportcolor=3D"#000000"> New'">apr.pc.in config.layout dso =
libaprnw.mcp.zip memory =
poll =
tablescolor=3D"#000000"> New'">atomic config.log =
emacs-mode libapr.rc =
misc random =
testcolor=3D"#000000"> New'">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls =
/home/artg/Downloads/httpd-2.2.3/srclib/apr-util<=
font class=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier New'">aprutil.dsp =
buckets config.layout =
crypto export_vars.sh.in =
libaprutil.rc NWGNUmakefile =
xmlcolor=3D"#000000"> New'">aprutil.dsw build =
config.log dbd =
hooks LICENSE =
renames_pendingclass=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier New'">apr-util.pc =
buildconf config.nice =
dbm include =
Makefile =
strmatchcolor=3D"#000000"> New'">apr-util.pc.in build.conf =
config.status docs =
INSTALL.MySQL Makefile.in =
testcolor=3D"#000000"> New'">apu-1-config build-outputs.mk configure =
encoding ldap =
misc =
uricolor=3D"#000000"> New'">apu-config.in CHANGES =
configure.in export_vars.sh libaprutil.dsp =
NOTICE xlateclass=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier =
New'">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /lib/*apr* =
/usr/lib/*apr*color=3D"#000000"> New'">ls: cannot access /lib/*apr*: No such file or =
directorycolor=3D"#000000"> New'">/usr/lib/libapr-1.so.0 =
/usr/lib/libaprutil-1.so.0 =
/usr/lib/libgstdataprotocol-0.10.so.0class=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier =
New'">/usr/lib/libapr-1.so.0.2.11 /usr/lib/libaprutil-1.so.0.2.11 =
/usr/lib/libgstdataprotocol-0.10.so.0.16.0<=
span class=3D"Apple-style-span" style=3D"-webkit-text-stroke-width: -1; =
">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls /lib/*aprutil* =
/usr/lib/*aprutil*color=3D"#000000"> New'">ls: cannot access /lib/*aprutil*: No such file or =
directorycolor=3D"#000000"> New'">/usr/lib/libaprutil-1.so.0 =
/usr/lib/libaprutil-1.so.0.2.11class=3D"Apple-style-span" color=3D"#000000"> class=3D"Apple-style-span" face=3D"'Courier =<=
New'">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$
div>
doesn't say that ld will link *.so.<number> files, yet appears that =
they're widely used. E.g.,
New'">artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ ls =
/usr/lib/*crypt* /lib/*crypt*
/usr/lib/libbeecrypt.so.6 =
/usr/lib/libcrypt.so =
/usr/lib/libk5crypto.so.3.1
/usr/lib/libbeecrypt.so.6.4.0 =
/usr/lib/libcryptui.so.0
/usr/lib/libcrypt.a =
/usr/lib/libcryptui.so.0.0.0
New'">/lib/libgcrypt.so.11.2.3 /usr/lib/libcrypto.so.0.9.8 =
/usr/lib/libk5crypto.so.3
say
class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 0); font-family: =
'Courier New'; ">mv /usr/lib/libaprutil-1.so.0 class=3D"Apple-style-span" style=3D"color: rgb(20, 79, 174); =
-webkit-text-stroke-width: -1; =
">/usr/lib/libaprutil.so.0
s/aprutil-1/aprutil/ =
in /home/artg/Downloads/mod_perl-2.0.4/xs/APR/APR/Makefile =
(or /home/artg/Downloads/mod_perl-2.0.4/xs/APR/APR/Makefile.PL) =
to match but I'm not confident of that.
me confused.
Institute of Mathematical Sciences
align=3D"">New York University
995-4918
Building
apple-content-edited=3D"true"> -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> align=3D"">Arthur P. Goldberg, PhD
Institute of Mathematical Sciences
align=3D"">New York University
995-4918
Building
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; ">
class=3D"Apple-interchange-newline">Arthur P. Goldberg, PhD
Bioinformatics Group
Laboratory
Institute of Mathematical Sciences
align=3D"">New York University
995-4918
=
--Apple-Mail-5-826770053--