[erlang-bugs] erlang on NetBSD 64bits
Fabrice Colliot
f.colliot@REDACTED
Wed Feb 13 09:15:18 CET 2008
Hi,
I'm trying to install erlang on a 64bits NetBSD machine but I'm not very
successful.
The version in the pkgsrc of NetBSD is otp12B-0 which compiles without
complaining too much but than cannnot find crypto_drv.so when
installing. I've found that:
http://www.erlang.org/pipermail/erlang-patches/2007-November/000196.html
Which solves the problem but is not quite convenient.
Today I've tried to compile the latest version of otp and I've got the
following error:
ld -shared -o ../priv/lib/x86_64-unknown-netbsd4.0/crypto_drv.so
../priv/obj/x86_64-unknown-netbsd4.0/crypto_drv.o /usr/lib/libcrypto.a
ld: /usr/lib/libcrypto.a(sha1_one.o): relocation R_X86_64_32 against `a
local symbol' can not be used when making a shared object; recompile
with -fPIC
/usr/lib/libcrypto.a: could not read symbols: Bad value
As far as I understood the configure script, it checks that libcrypto.a
doesn't exist to decide that the crypto_drv.so must be dynamically
linked. But this fails on my system because both files exist.
Do you have any hints on the right way to solve this?
Regards,
Fabrice
More information about the erlang-bugs
mailing list