Siddhartha Jain wrote:
> 
> Hi,
> 
> I have been trying to compile mod-perl (various 1.21 to 1.24_01 ) on Solaris
> 2.6 with apache (various 1.3.11 to 1.3.14) with perl-5.005003 and also
> perl-5.6. If i compile it statically, i get a core dump on running apache
> and if i compile it via apxs, i get a "Symbol not found main, in libperl.so"
> error. I had compiled perl-5.6 using Solaris's malloc and later i compiled
> perl-5.005 with perl's malloc but nothing helped. I am mostly at my wits
> ends having tried all sorts of combinations. Could someone help me?
> 
> Siddhartha Jain

I just did this myself(migrating our cluster from linux to solaris(not by choice)).
I am using perl-5.6,apache_1.3.14, and mod_perl-1.24_01 on Solaris2.7  though.

One thing to check is to make sure the same compiler is being used to
compile all the various parts. (e.g. I installed gcc in /usr/local
so I put /usr/local/bin first in my path, also made a symlink cc -> gcc)

What commands did you use to configure?
vanilla mod_perl, like this?:
cd ../mod_perl-x.xx
perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/usr/local/apache 
APACHE_SRC=../apache_1.3.14/src
make
-- 
struct Programmer/Analyst 'Danny Rathjens' {this.place = "MyCity.com";}
I know you believe you understood what you think I said, but I
am not sure you realize that what you heard is not what I meant.

Reply via email to