*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hello, I'm trying to compile mod_perl-1.21 as DSO module for apache 
version 1.3.9 on Solaris 2.6 using gcc version 2.8.1 and perl version 
5.00562. Right now I'am using out the box vanilla configuration of apache.

Everything compiles ok, but then I try to start apache, I get the 
following error:
Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libperl.so: symbol perl_eval_pv: referenced 
symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started. 

Here is the output of make test:
<SNIP>
/usr/bin/perl t/TEST 0
Syntax error on line 1 of 
/local/packages/apache/mod_perl-1.21/t/conf/httpd.conf:
Cannot load 
/local/packages/apache/mod_perl-1.21/t/../../apache_1.3.9/src/modules
/perl/libperl.so into server: ld.so.1: ../apache_1.3.9/src/httpd: 
fatal: relocation error: file 
/local/packages/apache/mod_perl-1.21/t/../../apache_1.3.9/src/modules
/perl/libperl.so: symbol perl_eval_pv: referenced symbol not found
still waiting for server to warm up............not ok
server failed to start! at t/TEST line 95.
make: *** [run_tests] Error 146
</SNIP>

# perl -V                               
Summary of my perl5 (revision 5.0 version 5 subversion 62) 
configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos arkadiy 5.6 generic_105181-05 sun4u sparc 
sunw,ultra-5_10 '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=define usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DUSE_LONG_LONG -DSOCKS -I/usr/local/include -DUSE_LONG_LONG'
    ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DUSE_LONG_LONG -DSOCKS -I/usr/local/include -DUSE_LONG_LONG'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='  -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt \lsec
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Oct 29 1999 13:01:49
  @INC:
    /usr/local/lib/perl5/5.00562/sun4-solaris
    /usr/local/lib/perl5/5.00562
    /usr/local/lib/site_perl/5.00562/sun4-solaris
    /usr/local/lib/site_perl
    .
                  
Have anybody seen this before, or better yet, found a solution for 
this problem?
                  
Thanks in advance.

PS> I apologize if this message was sent more then once.


Reply via email to