[issue3264] Use -lcrypto instead of -lcrypt on Solaris 2.6 when available
Martin Mokrejs
report at bugs.python.org
Thu Jul 3 01:12:02 CEST 2008
New submission from Martin Mokrejs <mmokrejs at users.sourceforge.net>:
Hi,
although the issues libraries to be created with -fpic are known I
still do believe ./config could do something here:
building 'crypt' extension
gcc -shared -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
build/temp.solaris-2.6-sun4u-2.5/usr/scratch/Python-2.5.2/Modules/cryptmodule.o
-L/usr/local/lib -lcrypt -o build/lib.solaris-2.6-sun4u-2.5/crypt.so
Text relocation remains referenced
against symbol offset in file
_des_setkey 0x4 /usr/lib/libcrypt.a(crypt.o)
_des_encrypt 0x10 /usr/lib/libcrypt.a(crypt.o)
_des_crypt 0x1c /usr/lib/libcrypt.a(crypt.o)
<unknown> 0x4
/usr/lib/libcrypt.a(des_crypt.o)
<unknown> 0x8
/usr/lib/libcrypt.a(des_crypt.o)
...
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
# gcc -shared -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
build/temp.solaris-2.6-sun4u-2.5/usr/scratch/Python-2.5.2/Modules/cryptmodule.o
-L/usr/local/lib -lcrypto -o build/lib.solaris-2.6-sun4u-2.5/crypt.so
#
----------
components: Build
messages: 69144
nosy: mmokrejs
severity: normal
status: open
title: Use -lcrypto instead of -lcrypt on Solaris 2.6 when available
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3264>
_______________________________________
More information about the Python-bugs-list
mailing list