You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Aaron Schlesinger <mo...@yahoo.com> on 2001/02/08 21:43:42 UTC

BSDI 4.1 libperl.so problem

Hi there. I am having a HELL of a time trying to get
mod_perl compiled into apache 1_3.17.

I built it using APXS and I really have tried
everything I can think of.

It makes, and builds without a problem. When I try to
do a configtest (after installing the new LoadModule
and such into the httpd.conf file) I get this:

% apachectl configtest
Syntax error on line 207 of
/usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into
server: File not found
%


% ls -l /usr/local/apache/libexec/libperl.so
-rwxr-xr-x  1 root  wheel  210522 Feb  8 13:49
/usr/local/apache/libexec/libperl
.so
%


As you can see the file is there.

I am running BSDI 4.1 and Apache 1_3.17 trying to
compile mod_perl 1.25

HELP :)

Aaron Schlesinger

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: BSDI 4.1 libperl.so problem

Posted by "G.W. Haywood" <ge...@www.jubileegroup.co.uk>.
Hi there,

On Thu, 8 Feb 2001, Aaron Schlesinger wrote:

> % apachectl configtest
> Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libperl.so into server: File not found
> 
> % ls -l /usr/local/apache/libexec/libperl.so
> -rwxr-xr-x  1 root  wheel  210522 Feb  8 13:49 /usr/local/apache/libexec/libperl.so
 
> As you can see the file is there.

Well some of it is...

c2h5oh:/usr/local/apache/libexec$ >>> ls -l libperl.so
-rwxr-xr-x   1 root     root      1160538 Sep 14 16:02 libperl.so*
c2h5oh:/usr/local/apache/libexec$ >>>

(I take it you've checked the permissions on all the directories in
the path?:)

73,
Ged.


Re: BSDI 4.1 libperl.so problem

Posted by Vivek Khera <kh...@kcilink.com>.
>>>>> "DM" == Doug MacEachern <do...@covalent.net> writes:

>> % apachectl configtest
>> Syntax error on line 207 of
>> /usr/local/apache/conf/httpd.conf:
>> Cannot load /usr/local/apache/libexec/libperl.so into
>> server: File not found

DM> the problem is likely that the dynamic linker cannot find a shared library
DM> that was linked against modperl's libperl.so.  you can find out by using
DM> bsdi's equivalent of strace or truss (to trace system calls) and look for
DM> failed calls of open() for .so files.

Back when I was using BSDI, I made sure mod_perl built and ran fine
on it (4.0, 4.1).  You can check the source code for BSDI-specific
twiddles, which were put there by me ;-)

Anyhow, I only ever tested it with a standard build as a DSO.  I never
built via apxs.  Currently I use FreeBSD, so I can't help debug this
one for ya.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Re: BSDI 4.1 libperl.so problem

Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 8 Feb 2001, Aaron Schlesinger wrote:

> Hi there. I am having a HELL of a time trying to get
> mod_perl compiled into apache 1_3.17.
> 
> I built it using APXS and I really have tried
> everything I can think of.
> 
> It makes, and builds without a problem. When I try to
> do a configtest (after installing the new LoadModule
> and such into the httpd.conf file) I get this:
> 
> % apachectl configtest
> Syntax error on line 207 of
> /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libperl.so into
> server: File not found

the problem is likely that the dynamic linker cannot find a shared library
that was linked against modperl's libperl.so.  you can find out by using
bsdi's equivalent of strace or truss (to trace system calls) and look for
failed calls of open() for .so files.