[Pythonmac-SIG] Extending python in C++
Matthew Smith
mps@viewbuild.com
Wed, 11 Dec 2002 14:06:14 +1100
> It's called libcryptopp.a and I have it in the distribution directory, with
> it's header files in crypto42 directory.
>
> Try as I might, I can't get distutils to find the library.
I'm talking to myself :)
Found out why the lib would not be found: I needed to reference to it as
cryptopp , not libcryptopp.a.
Now I just need to find out why I get the following when in python:
Python 2.2 (#1, 07/14/02, 23:25:09)
[GCC Apple cpp-precomp 6.14] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vbsecurity
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: Failure linking new module
Cheers
Matt