Closed ailin-nemui closed 2 years ago
Frankly, I have no idea how to avoid this kind of name collision.
thanks for your response, I found this horrible workaround: https://github.com/AKSW/git_lfs_server_sshauth/#trouble-shooting
If Apache httpd crashes, there may be a symbol conflict between libasn1 and CryptX. You can re-install CryptX but this time like this, as a workaround:
export CFLAGS="-imacros $PWD/rename_symbols.inc" cpan -c CryptX cpan CryptX
This conflict is biting us, too, in a different way, with der_length_integer
. But it’s the same phenomenon.
https://github.com/DCIT/perl-CryptX/pull/79 is an attempted mitigation.
It looks like CryptX.so exports a whole bunch of symbols it doesn’t need to. (libasn1 seems to as well.) Renaming the functions seems like more a band-aid than a proper fix; the better course is to alter the build so that those functions aren’t exported.
@ailin-nemui: Try the latest upstream … is your problem addressed?
I believe that this is also now fixed as we merged #79 @ailin-nemui any chance you could confirm that this is fixed when using the last version from 574f1b589d008f59da0480021eb2eae45db55062
should be fixed in CryptX-0.075_001
thanks, I tried 0.075_003 and it doesn't seem to crash Apache any more :+1:
sadly it seems the library uses the wrong der_length_octet_string function, thus crashing the web server.