From owner-freebsd-python@FreeBSD.ORG Fri Aug 20 08:02:22 2010 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3BDE106567A for ; Fri, 20 Aug 2010 08:02:21 +0000 (UTC) (envelope-from zhoushuqun@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id AAA1C8FC1A for ; Fri, 20 Aug 2010 08:02:21 +0000 (UTC) Received: by vws7 with SMTP id 7so3172708vws.13 for ; Fri, 20 Aug 2010 01:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=dVgMJHzvC5nzuHblhnJV35n6/5FRwi7VzNvMiVwUmgU=; b=HFa+5wLn5hiD0iy4YL9ypCrvc7XCmOgZ8mkE3AU0L9UmC+mzEbBHYQU3kRH8hl6Cok o6tqWMw6Q9aSqZ9kLzveYe/OIQ3IO+eOCOI/s899SCfy8heHMey6TgCALnej2H85BvQ2 KfsymWJRep2/tRWkIGHmP6FQE5awXy2E23pJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Q24sPdbj5OLB/OqcK9LtGt1N/GKuAfnlF5GEpagzqNA78Lssud0A13gBVicxLD0S6o wKV/r8zQVWe5KVsahklnLmMfg2vIYerJt4mJN3NB9clW5jPBhSp0ZoMPvMDazRHeLh/P gTgzh2MwRxnE3EqW3fg5uRdKXt4cz1eECh1M0= Received: by 10.220.128.138 with SMTP id k10mr600684vcs.116.1282289991213; Fri, 20 Aug 2010 00:39:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.162.72 with HTTP; Fri, 20 Aug 2010 00:39:31 -0700 (PDT) In-Reply-To: References: From: Sutra Zhou Date: Fri, 20 Aug 2010 15:39:31 +0800 Message-ID: To: wen heping Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Li-Wen Hsu , python@freebsd.org, Martin Wilke Subject: Re: python-2.7 released ! X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 08:02:22 -0000 On Mon, Jul 5, 2010 at 3:48 PM, wen heping wrote: > Hi, > > =C2=A0 =C2=A0Python-2.7.0 released, I attached the diff file of bsd.pytho= n.mk > and the shar file of lang/python27 here. > > =C2=A0 =C2=A0Some days ago I filed a PR to require repocopy lang/python26= --> > lang/python27, > I changed its responsible to portmgr and its State to repocopy just now. > > > Regards, > wen > After I installed python27, import sqlite3 failed: root@www:~%pkg_info -Ix py ap22-mod_python-3.3.1_3 Apache module that embeds the Python interpreter within the clearsilver-python-0.10.5 A fast, powerful, and language-neutral template s= ystem py27-Genshi-0.6 Python toolkit for stream-based generation of output fo= r th py27-docutils-0.7 Python Documentation Utilities py27-pygments-1.3.1 A syntax highlighter written in Python py27-pytz-2010k World Timezone Definitions for Python py27-setuptools-0.6c11 Download, build, install, upgrade, and uninstall Python pac py27-sqlite3-2.7_1 Standard Python binding to the SQLite3 library py27-subversion-1.6.12_1 Python bindings for version control system py27-xlrd-0.7.1_1 Reading data and formatting information from Excel file= s python27-2.7.0 An interpreted object-oriented programming language root@www:~%python Python 2.7 (r27:82500, Aug 20 2010, 03:40:41) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd8 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in from dbapi2 import * File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in from _sqlite3 import * ImportError: /usr/local/lib/python2.7/site-packages/_sqlite3.so: Undefined symbol "sqlite3_load_extension" Would you please tell me how to diagnose this problem?