This project is archived and is in readonly mode.
Library not loaded: libssl.1.0.0.dylib
Submitted by: chad@zetaweb.com
I can build psycopg2 but when I import it I get:
Traceback (most recent call last):
File "", line 1, in File "/Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...init.py",
line 67, in
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...psycopg.so,
2): Library not loaded: libssl.1.0.0.dylib
Referenced from: /Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...psycopg.so
Reason: image not found
Mac OS 10.6.8
Postgres 9.1.3 (EnterpriseDB Mac installer)
Python 2.7.1 (source compile)
$ tar zxf psycopg2-2.4.5.tar.gz $ cd psycopg2-2.4.5 $ virtualenv
env New python executable in env/bin/python
Installing setuptools............................done.
Installing pip.....................done.
$ . env/bin/activate (env)$ python setup.py install running
install
running build
running build_py
creating build
creating build/lib.macosx-10.4-x86_64-2.7
creating build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/init.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/errorcodes.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/extensions.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/extras.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/pool.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/psycopg1.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
copying lib/tz.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2
creating build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/init.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/dbapi20.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/dbapi20_tpc.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_async.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_bug_gc.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_bugX000.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_cancel.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_connection.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_copy.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_cursor.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_dates.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_extras_dictcursor.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_green.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_lobject.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_module.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_notify.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_quote.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_transaction.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_types_basic.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/test_types_extras.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/testconfig.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
copying tests/testutils.py ->
build/lib.macosx-10.4-x86_64-2.7/psycopg2/tests
running build_ext
building 'psycopg2.psycopg' extension
creating build/temp.macosx-10.4-x86_64-2.7
creating build/temp.macosx-10.4-x86_64-2.7/psycopg
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/psycopgmodule.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/psycopgmodule.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/green.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/green.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/pqpath.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/pqpath.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/utils.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/utils.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/bytes_format.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/bytes_format.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but
not used gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/connection_int.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/connection_int.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/connection_type.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/connection_type.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/cursor_int.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/cursor_int.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/cursor_type.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/cursor_type.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/lobject_int.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/lobject_int.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/lobject_type.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/lobject_type.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/notify_type.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/notify_type.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but
not used gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/xid_type.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/xid_type.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_asis.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_asis.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_binary.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_binary.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_datetime.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_datetime.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_list.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_list.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_pboolean.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pboolean.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_pdecimal.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pdecimal.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_pint.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pint.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_pfloat.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pfloat.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/adapter_qstring.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_qstring.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/microprotocols.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/microprotocols.o
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/microprotocols_proto.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/microprotocols_proto.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but
not used gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.4.5 (dt dec pq3 ext)"
-DPG_VERSION_HEX=0x090103 -DPSYCOPG_EXTENSIONS=1
-DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/Users/whit537/include/python2.7 -I.
-I/Library/PostgreSQL/9.1/include
-I/Library/PostgreSQL/9.1/include/postgresql/server -c
psycopg/typecast.c -o
build/temp.macosx-10.4-x86_64-2.7/psycopg/typecast.o
gcc -bundle -undefined dynamic_lookup
build/temp.macosx-10.4-x86_64-2.7/psycopg/psycopgmodule.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/green.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/pqpath.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/utils.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/bytes_format.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/connection_int.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/connection_type.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/cursor_int.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/cursor_type.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/lobject_int.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/lobject_type.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/notify_type.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/xid_type.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_asis.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_binary.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_datetime.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_list.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pboolean.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pdecimal.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pint.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_pfloat.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/adapter_qstring.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/microprotocols.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/microprotocols_proto.o
build/temp.macosx-10.4-x86_64-2.7/psycopg/typecast.o
-L/Library/PostgreSQL/9.1/lib -lpq -lssl -lcrypto -o
build/lib.macosx-10.4-x86_64-2.7/psycopg2/psycopg.so
running install_lib
copying build/lib.macosx-10.4-x86_64-2.7/psycopg2/_psycopg.so ->
/Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...
running install_egg_info
Removing /Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...
Writing /Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...
(env)$ python Python 2.7.1 (r271:86832, Sep 7 2011,
16:27:50)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help",
"copyright", "credits" or "license" for more information.
import psycopg2 Traceback (most recent call last):
File "", line 1, in File "/Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...init.py", line 67, infrom psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWIDImportError: dlopen(/Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...psycopg.so, 2): Library not loaded: libssl.1.0.0.dylib
Referenced from: /Users/whit537/personal/gittip/www.gittip.com/vendor/psycopg2-2.4.5/env/lib/python2.7/site-package...psycopg.so Reason: image not found
Reported by Psycopg website · May 29th, 2012 @ 02:02 AM
-
Daniele Varrazzo
- State changed from new to invalid
Hello Chad,
this is a problem with your build chain. None of us uses OSX for development so we are not able to debug it.
If you cannot debug it yourself, please use a pre-packaged version of psycopg, e.g. from homebrew, fink, or macports.
If you really want to compile it yourself, take a look at some hints of these: http://initd.org/psycopg/articles/2010/11/11/links-about-building-p... or use google with your error message to see what other people does. If you solve the problem please add a comment to the article above.
-
Dan Koch
Adding the following symlinks to /usr/lib fixed this problem for me on Mac OS X 10.6.8 with PostgreSQL 9.0.7 (EnterpriseDB installer) and psycopg2 2.4.5:
libssl.1.0.0.dylib -> /Library/PostgreSQL/9.0/lib/libssl.1.0.0.dylib
libcrypto.1.0.0.dylib -> /Library/PostgreSQL/9.0/lib/libcrypto.1.0.0.dylib