the problem is the ordering of the libraries in the generated linker 
commandline. The *crypt* libs have to appear before libar.a because there are 
some functions with identical names in both of the libraries. BMC did it this 
way to build the standard encryption directly into libar.

Attached you'll find a modified Makefile.PL for ARSPerl 1.93 which is working 
for me.

HTH
KR Conny
________________________________
Von: debug ars [mailto:[email protected]]
Gesendet: Dienstag, 8. Mai 2012 08:46
An: [email protected]
Betreff: [Arsperl-users] ARSPerl 1.93 on Linux with 7.6.04 API with encryption

Following are my environment details -

- RHEL 5.6 x64
- 32 bit Perl compiled from source using following options
    ./Configure -des -Dcc="gcc -m32" -Dprefix=$HOME/localperl
- Compiled ARSPerl my making modifications to Makefile.PL (making changes 
related arencrypt linking because now static arencrypt is not available)
- In my 7604 api location, I have both 32 bit and 64 bit api present alongwith 
encryption libraries (both arencrypt and crypto_BMC_FIPS).
- On my server I have performance encryption enabled and its mandatory.

Problem -
- When I try to run my sample script, I get following error -

fips_hmac.c(91): OpenSSL internal error, assertion failed: j <= sizeof ctx->key

When I searched list, I found recent messages about changing compilation flag 
during ARSPerl module compilation may solve the problem. But could not find 
more details.

Can anyone help me to get compilation flag which will solve my problem?

--
Cheers
Amen
-- On seventh day almighty started debugging

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to