Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Installing mod_perl

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


artg at cs

Jun 19, 2009, 7:32 AM

Post #1 of 3 (789 views)
Permalink
Installing mod_perl

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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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
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
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
New York University
212 995-4918
100 Washington Sq East
8th Floor Silver Building


sean.thorne at gmail

Jun 19, 2009, 8:37 AM

Post #2 of 3 (710 views)
Permalink
Re: Installing mod_perl [In reply to]

I've encountered that before and resolved it by creating a sym link.

On Jun 19, 2009, at 10:32 AM, ARTHUR GOLDBERG <artg [at] cs> wrote:

>
>
> 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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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
> 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
> 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
> New York University
> 212 995-4918
> 100 Washington Sq East
> 8th Floor Silver Building
>


artg at cs

Jun 19, 2009, 12:13 PM

Post #3 of 3 (710 views)
Permalink
Re: Installing mod_perl [In reply to]

Thanks. Worked. Needed with libapr-1 too:
> sudo ln -s /usr/lib/libaprutil-1.so.0.2.11 /usr/lib/libaprutil-1.so
> sudo ln -s /usr/lib/libapr-1.so.0.2.11 /usr/lib/libapr-1.so
>

BR
A

On Jun 19, 2009, at 11:37 AM, Sean Thorne wrote:

> I've encountered that before and resolved it by creating a sym link.
>
> On Jun 19, 2009, at 10:32 AM, ARTHUR GOLDBERG <artg [at] cs> wrote:
>
>>
>>
>> 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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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-deskto:~/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
>> 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
>> 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
>> New York University
>> 212 995-4918
>> 100 Washington Sq East
>> 8th Floor Silver Building
>>

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.