Trouble building m2crypto

"CARNES, MARK E (MARK)" <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <17D8724A2A8D9542B2B8AE546B9E5BBC01628007@AZ4315EXCH001U>
I have been trying to build m2crypto, but it is not linking successfully, and I was hoping someone on the list may have overcome a similiar problem.

I am compiling on Solaris 8 with gcc 3.3.2, python 2.2.3, swig 1.3.21, openssl 0.9.7d

Everything runs ok on the step:

        python setup.py build

It dies while trying to link and produces the following error:

gcc -shared build/temp.solaris-2.8-sun4u-2.2/_m2crypto.o -L/usr/lib -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.2/M2Crypto/__m2crypto.so
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x3cc       /usr/lib/libssl.a(s3_lib.o)
<unknown>                           0x3d0       /usr/lib/libssl.a(s3_lib.o)
<unknown>                           0x3d4       /usr/lib/libssl.a(s3_lib.o)
...
<lots more>
...

Anyone know why I'd get these link errors?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.