[erlang-questions] Erlang crypto_drv in R13B02/03 fails to load on amd64-Solaris2.10

Per Hedeland <>
Fri Nov 20 22:00:51 CET 2009


Peter-Henry Mander <> wrote:
>"ld.so.1: beam.smp: fatal: relocation error: R_AMD64_PC32: file
>/Software/R13B02/lib/erlang/lib/crypto-1.6.1/priv/lib/crypto_drv.so:
>symbol main: value 0x28002cb378c does not fit"

>From my limited experience of deciphering completely incomprehensible
linker error messages (which seems to be a universal feature across
*nixes), I would guess that you have a 32-bit beam and a 64-bit
crypto_drv.so. What does 'file' say?

>Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:8:8] [rq:8]

Of course this is just what the build thought that it built.:-)

--Per Hedeland


More information about the erlang-questions mailing list