Re: Cannot Compile Psycopg on OSX (Tiger)
"James Henstridge" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 01/05/2008, Stuart Grimshaw <[email protected]> wrote: > I'm trying to compile Psycopg2 2.0.7 on an Intel Macbook running OSC > Tiger (10.4), but the build script seems to think it's got a PPC > architecture. > > Here is the output from "python setup.py install" > [snip] > /usr/bin/ld: for architecture i386 > /usr/bin/ld: warning can't open dynamic library: > /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libssl.0.9.8.dylib > referenced from: /opt/local/lib/postgresql83/libpq.dylib (checking for > undefined symbols may be affected) (No such file or directory, errno = > 2) > /usr/bin/ld: warning can't open dynamic library: > /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libcrypto.0.9.8.dylib > referenced from: /opt/local/lib/postgresql83/libpq.dylib (checking for > undefined symbols may be affected) (No such file or directory, errno = > 2) > /usr/bin/ld: Undefined symbols: > _SSL_pending referenced from libpq expected to be defined in > /opt/local/lib/libssl.0.9.8.dylib [snip] It looks like you're missing libssl.0.9.8.dylib and libcrypto.0.9.8.dylib, which are required by libpq. I don't know where you'd get these for OS X, but knowing what the problem is might help you solve it. James,