NetBSD Problem Report #5422

Received: (qmail 28358 invoked from network); 8 May 1998 11:58:13 -0000
Message-Id: <199805081158.NAA10893@saruman.ics.muni.cz>
Date: Fri, 8 May 1998 13:58:58 +0200 (MEST)
From: Jaromir Dolecek <dolecek@ics.muni.cz>
Reply-To: dolecek@ics.muni.cz
To: gnats-bugs@gnats.netbsd.org
Subject: python pkg: cryptmodule doesn't work
X-Send-Pr-Version: 3.95

>Number:         5422
>Category:       pkg
>Synopsis:       python pkg: cryptmodule doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 08 05:05:01 +0000 1998
>Closed-Date:    Fri May 08 16:36:54 +0000 1998
>Last-Modified:  Fri May 08 16:37:30 +0000 1998
>Originator:     Jaromir Dolecek
>Release:        1.3.1
>Organization:
	ICS MU, Brno, Czech Republic
>Environment:

System: NetBSD saruman.ics.muni.cz 1.3.1 NetBSD 1.3.1 (SARUMAN) #0: Sun Apr 19 16:15:24 MEST 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N131/usr/src/sys/arch/i386/compile/SARUMAN i386


>Description:
	Python (or cryptmodule.so when dynamic loading is used)
	needs to be linked with libcrypt (in order for module crypt
	to work), but it isn't due to a bug in configuration file
	files/Setup.

>How-To-Repeat:
	> python
	Python 1.5.1 (#2, May  8 1998, 13:00:55)  [GCC 2.7.2.2+myc1] on netbsd1
	>>> import test.test_crypt
	/usr/libexec/ld.so: Undefined symbol "_crypt" called from python:./Modules/cryptmodule.so at 0x400e007c

>Fix:
--- files/Setup.orig	Fri May  8 12:50:58 1998
+++ files/Setup	Fri May  8 12:51:08 1998
@@ -146,7 +146,7 @@

 # The crypt module is now disabled by default because it breaks builds
 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
-crypt cryptmodule.c # -lcrypt	# crypt(3); needs -lcrypt on some systems
+crypt cryptmodule.c -lcrypt	# crypt(3); needs -lcrypt on some systems


 # Some more UNIX dependent modules -- off by default, since these
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: frueauf 
State-Changed-When: Fri May 8 09:36:54 PDT 1998 
State-Changed-Why:  
I applyed the suggested change, thanx! 

Greets 
Thorsten 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.