Folks: I don't know why, but if I install Crypto++ into the default "/usr" location on Mac OS 10.4, then I cannot subsequently link to the .a file, while it works normally if I install it into "/usr/local".
Here is the error message from attempting to link to it when it is in /usr: ------- begin included error message gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fu sed-madd -fno-common -dynamic -DNDEBUG -g -O3 -I/usr/include -I/ Library/Frameworks/Python.framework/Versions/2.5/include/python2 .5 -c pycryptopp/publickey/rsamodule.cpp -o build/temp.macosx-10.3- fat-2.5/pycryptopp/publickey/rsamodule.o g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-f at-2.5/pycryptopp/publickey/rsamodule.o -L/usr/lib -lcryptopp -o build/lib.macosx-10.3-fat-2.5/pycryptopp/publickey/rsa.so /usr/bin/ld: for architecture ppc /usr/bin/ld: can't locate file for: -lcryptopp collect2: ld returned 1 exit status /usr/bin/ld: for architecture i386 /usr/bin/ld: can't locate file for: -lcryptopp collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccR5Hoqs.out (No such file or directory) error: command 'g++' failed with exit status 1 ------- end included error message Quite aside from the issue of understanding and fixing this, I also wonder if the default install target in the GNUmakefile oughtn't be / usr/local anyway. (I wonder if it has something to do with mixing "gcc" and "g++" executions...) Here is the message to users of pycryptopp about how to work-around this for now: http://allmydata.org/pipermail/tahoe-dev/2007-December/000294.html Regards, Zooko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
