On Sep 18, 2:14 pm, Peter Klotz <[email protected]> wrote:
> 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.
>
Thanks... I'm not sure why that is I never would have figured it out
if it weren't for you help. I've compiled other ones without issue...
just boost or boost and pqcxx I'm not sure why it was different in
this matter...
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---