I have used openssl 9.8h version There is mistake in previous mail "I have recompiled the shared object file SSLeay.so to link to the version of libssl.a provided by openssl.base(openssl 9.8h). Previously, this shared object linked to the libssl.a provided by the RPM on the Linux Toolbox for AIX.Now that the shared object is linked against the newer library",
Rest are same . Please help Thanks Joshi On Wed, Oct 22, 2008 at 4:29 PM, joshi chandra <[EMAIL PROTECTED]>wrote: > > Hi All, > > I have recompiled the shared object file SSLeay.so to link to the version > of > libssl.a provided by openssl.base. Previously, this > shared object linked to the libssl.a (openssl 9.8h) provided by the RPM on > the Linux Toolbox for AIX.Now that the shared object is linked against the > newer library, > it seg faults in a call to the function SSL_CTX_ctrl(). > > > Code Dump > > Segmentation fault in SSL_CTX_ctrl at 0xd1f6bb80 ($t1) > 0xd1f6bb80 (SSL_CTX_ctrl+0xfc) 900300a4 stw r0,0xa4(r3) > (dbx) where > SSL_CTX_ctrl() at 0xd1f6bb80 > XS_Crypt__SSLeay__CTX_new() at 0xd1f64318 > Perl_pp_entersub() at 0xd31100d8 > Perl_runops_standard() at 0xd3163ad4 > S_call_body() at 0xd3075950 > Perl_call_sv() at 0xd3079dac > S_call_list_body() at 0xd30758bc > Perl_call_list() at 0xd307c4f0 > Perl_newATTRSUB() at 0xd30d3318 > Perl_utilize() at 0xd30d3af8 > Perl_yyparse() at 0xd310a494 > S_parse_body() at 0xd30765e0 > perl_parse() at 0xd307ccc0 > main() at 0x10000460 > > Here is the full ld command, > ld -bhalt:4 -bM:SRE > -bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:SSLeay.exp > -bnoentry -lpthreads -lc_r SSLeay.o -o > blib/arch/auto/Crypt/SSLeay/SSLeay.so -L/usr/lib -lssl -lcrypto > > Also, here is the output of 'dump -Tv SSLeay.so' for the symbol in the > stack > trace: > ***Loader Symbol Table Information*** > [Index] Value Scn IMEX Sclass Type IMPid Name > [71] 0x00000000 undef IMP DS EXTref > libssl.a(libssl.so.0.9.8) > SSL_CTX_ctrl > > Is this beacuse i have to specify the header file also when i am doing > linking. > > Can u please help me > > Thanks > > Joshi Chandran > > > -- > View this message in context: > http://www.nabble.com/What-would-cause-a-seg-fault--tp20108404p20108404.html > Sent from the OpenSSL - User mailing list archive at Nabble.com. > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > -- Regards Joshi Chandran