From owner-freebsd-ports@FreeBSD.ORG Thu Jun 22 16:51:33 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74F0416A4DF for ; Thu, 22 Jun 2006 16:51:33 +0000 (UTC) (envelope-from vitormazzi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A20943D7C for ; Thu, 22 Jun 2006 16:51:07 +0000 (GMT) (envelope-from vitormazzi@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so514647nzp for ; Thu, 22 Jun 2006 09:51:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ujPqpU1BBjX39A8lf4/89P/gu8hzTJ5nLYEQ4rVkQ7NjL2RW6mJCw2lQSk/LOfrWGvdGneE9DvW3ODlzkUu/y7H6lyAVSjk+XgYT8LaNNpjMzgRSzpAqudQRUUxx91zTAw79GejvNjkEW+rZSgYys/bNpmxkPaQ+IHNLfvzUFiU= Received: by 10.65.115.18 with SMTP id s18mr2842736qbm; Thu, 22 Jun 2006 09:51:07 -0700 (PDT) Received: by 10.65.51.4 with HTTP; Thu, 22 Jun 2006 09:51:06 -0700 (PDT) Message-ID: <95c4f8820606220951sef92395w49d19be2144044d4@mail.gmail.com> Date: Thu, 22 Jun 2006 13:51:06 -0300 From: "Vitor Mazzi" To: "Hye-Shik Chang" In-Reply-To: <20060622152853.GA52819@FreeBSD.org> MIME-Version: 1.0 References: <95c4f8820606220733s7f253813s19aeed73a0bce637@mail.gmail.com> <20060622152853.GA52819@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: FreeBSD Port: py24-ctypes-0.9.9.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:51:33 -0000 It's really weird, since I'm using 6.0-RELEASE on i386, python 2.4.3, and py24-ctypes-0.9.6 (both installed from ports). Is there any other possible cause for this problem? On 6/22/06, Hye-Shik Chang wrote: > > On Thu, Jun 22, 2006 at 11:33:04AM -0300, Vitor Mazzi wrote: > > I've been trying to use the ctype module in a software, but it fails > with > > the following traceback: > > > > from ctypes import SetPointerType, RTLD_GLOBAL > > exceptions.ImportError: cannot import name RTLD_GLOBAL > > > > Based on the info in this mail thread ( > > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=488819+0+/usr/local/www/db/text/1999/freebsd-hackers/19990103.freebsd-hackers > ), > > the flag RTLD_GLOBAL isn't implemented in freebsd yet, so I believe the > port > > should provide a workaround to it. > > The mail you're referring is dated 1999. And FreeBSD began to > support RTLD_GLOBAL since December 1999. What version of FreeBSD > do you use? And platform, python version? > > If you're using FreeBSD 3.x, we don't support FreeBSD 3.x in the > current ports system no more officially. > > > Hye-Shik > > > -- -- Vitor M. A. da Cruz