I had this same problem with installing some precompiled packages from
sunfreeware, such as libdb.  My only recommendation is to scrap the
installed packages for anything related to perl, including perl itself.
And note that even though it says that Perl was compiled with GCC, the
options selected may be generally incompatibile with how perl works with
dynamically loaded modules.  This was the conclusion that I same to,
anyways...

Build the stuff yourself.  You'll save yourself a lot of headaches.

BTW, when compiling perl for Solaris 8, you'll need to do this:

/Configure -Dcc='gcc -B/usr/ccs/bin/'

If you don't have the GNU linker/assember installed, then you can skip
the -Dcc option.

Once I built everything myself, I had NO problems.

    -klm.

----- Original Message -----
From: "Ryan Hairyes" <[EMAIL PROTECTED]>
To: "Peter Werner" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 9:45 AM
Subject: RE: mod_perl help


> Thanks for the reply.  Actually ... according to sunfreeware perl5.6.1 was
> compiled with gcc.  Anything else you can think of?
>
> Thanks again.
>
>
> Quoting Peter Werner <[EMAIL PROTECTED]>:
>
> : you will have to compile perl from scratch as the sunfreeware perl is
> : compiled with suns compiler not gcc and this causes problems. poke
around
> : sunfreeware.com for the instructions he used to build perl, it is quite
> : simple.
> :
> : -pete
> :
> : -----Original Message-----
> : From: Ryan Hairyes [mailto:[EMAIL PROTECTED]]
> : Sent: Thursday, July 11, 2002 4:34 PM
> : To: [EMAIL PROTECTED]
> : Subject: mod_perl help
> :
> :
> : Hello all,
> :
> : I just compiled mod_perl 1.27 with apache 1.3 for Solaris 8.  I used
perl
> : 5.6.1 and gcc from www.sunfreeware.com.  After I compiled everything and
> : tried
> : to load the perl module (with LoadModule) I receive the following error:
> :
> :
> : Cannot load /usr/local/apache/libexec/libperl.so into server: ld.so.1:
> : /usr/local/apache/sbin/httpd: fatal: relocation error: file
> : /usr/local/apache/libexec/libperl.so: symbol main: referenced symbol not
> : found
> :
> :
> : Any idea on what I did wrong?  Thanks.
> :
> : Ryan
> :
>
>
> --
> Ryan Hairyes
> Network/System Administration
> Lee County School System
> Phone:919.774.6226 x 1252
> Voicemail:x 2361
>
>
>

Reply via email to