misc/60243: Problem in calling kpathsea library from Python extension

Kris Kennaway kris at obsecurity.org
Fri Dec 26 08:10:19 PST 2003


The following reply was made to PR misc/60243; it has been noted by GNATS.

From: Kris Kennaway <kris at obsecurity.org>
To: Jin-Hwan Cho <chofchof at kias.re.kr>
Cc: FreeBSD-gnats-submit at FreeBSD.org,
	"Cho, Jin-Hwan" <chofchof at ktug.or.kr>
Subject: Re: misc/60243: Problem in calling kpathsea library from Python extension
Date: Fri, 26 Dec 2003 08:00:35 -0800

 On Mon, Dec 15, 2003 at 09:48:59AM +0900, Jin-Hwan Cho wrote:
 
 >   calling "hash_create()" function (defined in hash.c). However, in FreeBSD,
 >   the "hash_create()" was not called properly. After changing the name
 >   "hash_create()" to another one, for example, "hash_create2()", everything
 >   worked fine. I'd like to know exact reason why this kind of problem
 >   occurs in FreeBSD.
 
 hash_create is a symbol defined in libc.so.4.  You're calling that
 function instead of the one in your library.  I'm not sure whether
 this symbol needs to be exported from libc, because it doesn't appear
 to be in libc.so.5.
 
 Kris


More information about the freebsd-bugs mailing list