
artg at cs
Jun 19, 2009, 7:32 AM
Views: 427
Permalink
|
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[at]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[at]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[at]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[at]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[at]arthur-desktop:~/Downloads/mod_perl-2.0.4$ > The ld man page doesn't say that ld will link *.so.<number> files, yet appears that they're widely used. E.g., > artg[at]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[at]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[at]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[at]cs.nyu.edu New York University 212 995-4918 100 Washington Sq East 8th Floor Silver Building
|