Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 15:39:31 +0800
From:      Sutra Zhou <zhoushuqun@gmail.com>
To:        wen heping <wenheping@gmail.com>
Cc:        Li-Wen Hsu <lwhsu@freebsd.org>, python@freebsd.org, Martin Wilke <miwi@freebsd.org>
Subject:   Re: python-2.7 released !
Message-ID:  <AANLkTim86Vim7N-S7dGp%2Bbv8d%2BmETKnZ=q2afg5xueDc@mail.gmail.com>
In-Reply-To: <AANLkTimsX59JLF47p3yFuE9nmzQoBqj5uXh0AHNkapbD@mail.gmail.com>
References:  <AANLkTimsX59JLF47p3yFuE9nmzQoBqj5uXh0AHNkapbD@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 5, 2010 at 3:48 PM, wen heping <wenheping@gmail.com> 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 "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim86Vim7N-S7dGp%2Bbv8d%2BmETKnZ=q2afg5xueDc>