You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by J S <ve...@hotmail.com> on 2002/03/07 18:19:07 UTC

where is libperl.so.1?


Hi there,

I've installed an apache build I did onto a Solaris
2.6 box, and when I try to start it I get the following error message:

ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
No such file or directory
Killed

I can't find libperl.so on either the original box, or the box I'm
installing to. Can anyone help me out please?

Thanks for any help,

JS.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Re: where is libperl.so.1?

Posted by Michael Peppler <mp...@peppler.org>.
darren chamberlain writes:
 > Quoting J S <ve...@hotmail.com> [Mar 07, 2002 12:18]:
 > > I've installed an apache build I did onto a Solaris
 > > 2.6 box, and when I try to start it I get the following error message:
 > > 
 > > ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
 > > No such file or directory
 > > Killed
 > > 
 > > I can't find libperl.so on either the original box, or the box
 > > I'm installing to. Can anyone help me out please?
 > 
 > You shouldn't need to find libperl.so if you've built it
 > statically.

He does need libperl.so if he built *perl* to use a shared libperl
instead of a static libperl.a

I guess setting LD_LIBRARY_PATH correctly (to include
/usr/lib/perl5/5.6.x/i386-linux/CORE or wherever the main perl library
is located on that box) should fix the problem.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org           *or*          mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com

Re: where is libperl.so.1?

Posted by darren chamberlain <dl...@users.sourceforge.net>.
Quoting J S <ve...@hotmail.com> [Mar 07, 2002 12:18]:
> I've installed an apache build I did onto a Solaris
> 2.6 box, and when I try to start it I get the following error message:
> 
> ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
> No such file or directory
> Killed
> 
> I can't find libperl.so on either the original box, or the box
> I'm installing to. Can anyone help me out please?

You shouldn't need to find libperl.so if you've built it
statically.  For example:

Here is my httpd:
$ /usr/local/apache/1.3.22/bin/httpd-modperl1.25-perl5.00503  -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_actions.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_proxy.c
  mod_so.c
  mod_setenvif.c
  mod_perl.c

Here is what it's using:
$ ldd /usr/local/apache/1.3.22/bin/httpd-modperl1.25-perl5.00503 
        libm.so.6 => /lib/libm.so.6 (0x40019000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40037000)
        libdb.so.3 => /lib/libdb.so.3 (0x40064000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4009f000)
        libdl.so.2 => /lib/libdl.so.2 (0x400b5000)
        libc.so.6 => /lib/libc.so.6 (0x400b9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

No libperl.so.  Are you sure you're trying to start the correct
httpd?

(darren)

-- 
I must say I find television very educational. The minute somebody
turns it on, I go to the library and read a good book.
    -- Grouchy Marx

Re: where is libperl.so.1?

Posted by Issac Goldstand <ma...@beamartyr.net>.
so if it's statically compiled, why are you using LoadModule?

  Issac

J S wrote:

>
>
> Hi there,
>
> I've installed an apache build I did onto a Solaris
> 2.6 box, and when I try to start it I get the following error message:
>
> ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed:
> No such file or directory
> Killed
>
> I can't find libperl.so on either the original box, or the box I'm
> installing to. Can anyone help me out please?
>
> Thanks for any help,
>
> JS.
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com