From: robert a. <rd...@pa...> - 2003-08-12 05:53:06
|
in setup.py, i set custom include and lib to: include_dirs = ["/Library/PostgreSQL/include"] library_dirs = ["/Library/PostgreSQL/lib"] do i need other dirs? i get errors: % python setup.py build /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) running build running build_py running build_ext building 'pyPgSQL.libpq.libpqmodule' extension gcc -Wl,-x -Wl,-F. -bundle -framework Python build/temp.darwin-6.6-Power_Macintosh-2.3/libpqmodule.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgboolean.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgint2object.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgint8object.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgversion.o build/temp.darwin-6.6-Power_Macintosh-2.3/pglargeobject.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgnotify.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgconnection.o build/temp.darwin-6.6-Power_Macintosh-2.3/pgresult.o build/temp.darwin-6.6-Power_Macintosh-2.3/pymemstrdup.o build/temp.darwin-6.6-Power_Macintosh-2.3/port/strtoll.o build/temp.darwin-6.6-Power_Macintosh-2.3/port/strtoull.o build/temp.darwin-6.6-Power_Macintosh-2.3/port/strtok.o -L/Library/PostgreSQL/lib -lpq -o build/lib.darwin-6.6-Power_Macintosh-2.3/pyPgSQL/libpq/libpqmodule.so ld: Undefined symbols: _ERR_get_error _ERR_reason_error_string _SSL_CTX_new _SSL_connect _SSL_free _SSL_library_init _SSL_load_error_strings _SSL_new _SSL_set_fd _SSLv23_method _SSL_read _SSL_write error: command 'gcc' failed with exit status 1 |