What does deactivate do?
skip at pobox.com
skip at pobox.com
Sun Feb 10 14:25:21 PST 2008
I deactivated the sqlite3 port on my Mac today because of some problems with
the Python regression test suite. It deactivated okay. I was still able to
import sqlite3 in /opt/local/bin/python2.5 though:
% /opt/local/bin/python2.5
Python 2.5.1 (r251:54863, Feb 2 2008, 08:44:29)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> sqlite3.version
'2.3.2'
>>> sqlite3.version, sqlite3.sqlite_version
('2.3.2', '3.4.0')
>>> sqlite3.__file__
'/opt/local/lib/python2.5/sqlite3/__init__.pyc'
>>> import _sqlite3
>>> _sqlite3.__file__
'/opt/local/lib/python2.5/site-packages/_sqlite3.so'
>>>
montanaro-dyndns-org:build% otool -L /opt/local/lib/python2.5/site-packages/_sqlite3.so
/opt/local/lib/python2.5/site-packages/_sqlite3.so:
/opt/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
% ls -l /opt/local/lib/libsqlite3*
ls: /opt/local/lib/libsqlite3*: No such file or directory
What's up with that? How can the _sqlite3.so shared library reference it
when it doesn't exist?
--
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/
More information about the macports-users
mailing list