Caleb Cushing ( xenoterracide ) wrote:
> 
>> Did you check (using nm) that your Crypto++ library actually provides
>> the symbols the linker is complaining about?
> 
> I've never used nm before (not heard of it before) so... here's just
> part of it's output for missing StringSinkTemplate

Your setup on Arch Linux is more sensitive than Ubuntu and RHEL when it 
comes to command line library order.

I installed Arch Linux in a Virtual Machine and these two commands work 
for me.

g++ -c -o sha1.o sha1.cpp
g++ -o sha1 sha1.o -lcryptopp -lboost_filesystem


Since sha1.o requires symbols from libcryptopp.a it should appear first 
on the command line. For some reason not all systems are that strict 
when it comes to library order.

Hope that helps.

Regards, Peter.

--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to