Ged Haywood wrote:
>
> Hi there,
>
> On Thu, 12 Jul 2001, Javier Chicharro wrote:
>
> > I've compiled mod_perl-1.26 (and I tried with 1.25 too) for Apache
> > 1.3.20 in a Solaris 8. When I start apache I get this error :
> >
> > Syntax error on line 222 of /opt/apache/conf/httpd.conf:
> > Cannot load /opt/apache/libexec/libperl.so into server: ld.so.1:
> > /opt/apache/bin/httpd: fatal: relocation error: file
> > /opt/apache/libexec/libperl.so:
> > symbol PL_markstack_ptr: referenced symbol not found
> > /etc/init.d/apache start: httpd could not be started
>
> Have a look in mod_perl-1.26/SUPPORT and post the information it suggests.
>
> Did you compile your Perl? What compiler are you using?
>
> 73,
> Ged.
Yes, I compiled my Perl using Solaris cc.
This is the output of perl -V :
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=i86pc-solaris
uname='sunos srvnoc2 5.8 generic_108529-08 i86pc i386 i86pc '
config_args='-Dprefix=/opt/perl-5.6.1 -Duseshrplib -Doptimize=-O
-des
-Dlocincpth=/usr/local/BerkeleyDB.3.2/include
-Dloclibpth=/usr/local/BerkeleyDB.3.2/lib
-Dccdlflags=-R/usr/local/BerkeleyDB.3.2/lib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-I/usr/local/BerkeleyDB.3.2/include
-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/BerkeleyDB.3.2/include'
ccversion='Sun WorkShop 6 update 1 C 5.2 Patch 109514-03
2001/03/12',
gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/BerkeleyDB.3.2/lib
-L/opt/SUNWspro/WS6U1/lib '
libpth=/usr/local/BerkeleyDB.3.2/lib /opt/SUNWspro/WS6U1/lib
/usr/lib
/usr/ccs/lib /usr/local/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-R/usr/local/BerkeleyDB.3.2/lib -R
/opt/perl-5.6.1/lib/5.6.1/i86pc-solaris/CORE'
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/BerkeleyDB.3.2/lib
-L/opt/SUNWspro/WS6U1/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Jul 11 2001 16:39:06
@INC:
/opt/perl-5.6.1/lib/5.6.1/i86pc-solaris
/opt/perl-5.6.1/lib/5.6.1
/opt/perl-5.6.1/lib/site_perl/5.6.1/i86pc-solaris
/opt/perl-5.6.1/lib/site_perl/5.6.1
/opt/perl-5.6.1/lib/site_perl
.
And the configure options of mod_perl (v1.26) are :
perl Makefile.PL APACHE_SRC=../apache_1.3.20/src DO_HTTPD=1 USE_APACI=1
The configure of apache is :
./configure --prefix=/opt/apache --enable-rule=SHARED_CORE
--enable-shared=max
--
____________________________________________________________
SERTRAM NETWORKS, S.L.
Edificio Sertram, Acer 30-32 Tlf: 93 289 63 00
08038 - BARCELONA Fax: 93 223 12 66
mailto:[EMAIL PROTECTED] http://www.datagrama.net
____________________________________________________________