Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
OMG. Now i tried to install *cryptopp-devel* and it WORKS! Finally. There 
must was be some conflict files, or... whatever. It works, I'm happy. 
Thanks for your help and time. :) 

On Monday, 25 September 2017 20:42:59 UTC+2, Richard Závodný wrote:
>
> 1) sudo dnf install cryptopp
> 2) g++ test.cpp -o test -lcryptopp
>
> BTW. The search image is on the bottom of this post. 
>
> On Monday, 25 September 2017 20:24:12 UTC+2, Jeffrey Walton wrote:
>>
>>
>>
>> On Monday, September 25, 2017 at 2:18:12 PM UTC-4, Richard Závodný wrote:
>>>
>>> So... I uninstalled, delete all files from my previous attempts and then 
>>> installed cryptopp package using dnf.
>>>
>>
>> What is the exact command you used to install the library using dnf?
>>  
>>
>>> Then i tried compile my program and getting error: *fatal error: 
>>> cryptopp/aes.h: No such file or directory #include *,
>>>
>>
>> What is the exact command you used to compile (and maybe link) the 
>> library?
>>  
>>
>>> then make search in my system files and found two files 
>>> (libcryptopp.so.6 and libcryptopp.so.6.0.0 at /usr/lib64).
>>>
>>
>> Crypto++ 6.0 has not been released yet. Something is not right.
>>
>> It looks like Fedora ships with an SONAME that includes 5.6.3. Did you 
>> delete the system's Crypto++ and keep a copy that you tried to build and 
>> install? Also see 
>> http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27
>> .
>>
>> Jeff
>>
>
> 
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný


1) sudo dnf install cryptopp
2) g++ test.cpp -o test -lcryptopp

BTW. The search image is on the bottom of this post. 

On Monday, 25 September 2017 20:24:12 UTC+2, Jeffrey Walton wrote:
>
>
>
> On Monday, September 25, 2017 at 2:18:12 PM UTC-4, Richard Závodný wrote:
>>
>> So... I uninstalled, delete all files from my previous attempts and then 
>> installed cryptopp package using dnf.
>>
>
> What is the exact command you used to install the library using dnf?
>  
>
>> Then i tried compile my program and getting error: *fatal error: 
>> cryptopp/aes.h: No such file or directory #include *,
>>
>
> What is the exact command you used to compile (and maybe link) the library?
>  
>
>> then make search in my system files and found two files (libcryptopp.so.6 
>> and libcryptopp.so.6.0.0 at /usr/lib64).
>>
>
> Crypto++ 6.0 has not been released yet. Something is not right.
>
> It looks like Fedora ships with an SONAME that includes 5.6.3. Did you 
> delete the system's Crypto++ and keep a copy that you tried to build and 
> install? Also see 
> http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27
> .
>
> Jeff
>


-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Jeffrey Walton


On Monday, September 25, 2017 at 2:18:12 PM UTC-4, Richard Závodný wrote:
>
> So... I uninstalled, delete all files from my previous attempts and then 
> installed cryptopp package using dnf.
>

What is the exact command you used to install the library using dnf?
 

> Then i tried compile my program and getting error: *fatal error: 
> cryptopp/aes.h: No such file or directory #include *,
>

What is the exact command you used to compile (and maybe link) the library?
 

> then make search in my system files and found two files (libcryptopp.so.6 
> and libcryptopp.so.6.0.0 at /usr/lib64).
>

Crypto++ 6.0 has not been released yet. Something is not right.

It looks like Fedora ships with an SONAME that includes 5.6.3. Did you 
delete the system's Crypto++ and keep a copy that you tried to build and 
install? Also see 
http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
So... I uninstalled, delete all files from my previous attempts and then 
installed cryptopp package using dnf. Then i tried compile my program and 
getting error: *fatal error: cryptopp/aes.h: No such file or directory 
#include *, then make search in my system files and found 
two files (libcryptopp.so.6 and libcryptopp.so.6.0.0 at /usr/lib64). Really 
don't know what to do. :(

On Monday, 25 September 2017 19:55:19 UTC+2, Jeffrey Walton wrote:
>
>
>
> On Monday, September 25, 2017 at 1:42:47 PM UTC-4, Richard Závodný wrote:
>>
>> /usr/local/lib
>>
>
> Something does not sound right. Here is Fedora's spec file for Crypto++: 
> http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27. 
> Fedora installs into /usr/lib, not /usr/local. Also see 
> https://fedoraproject.org/wiki/Packaging:Guidelines.
>
> How did you install with dnf and end up with files in /usr/local? If you 
> don't provide the necessary information to troubleshot, then there's not 
> much we can do to help.
>
> Jeff
>
>
> On Monday, 25 September 2017 19:00:05 UTC+2, Ingo Naumann wrote:
>>>
>>> In which directory does Cryptopp install the file libcryptopp.so.5.6? In 
>>> /usr/lib or in /usr/local/lib?
>>>
>>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Jeffrey Walton


On Monday, September 25, 2017 at 1:42:47 PM UTC-4, Richard Závodný wrote:
>
> /usr/local/lib
>

Something does not sound right. Here is Fedora's spec file for Crypto++: 
http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27. 
Fedora installs into /usr/lib, not /usr/local. Also see 
https://fedoraproject.org/wiki/Packaging:Guidelines.

How did you install with dnf and end up with files in /usr/local? If you 
don't provide the necessary information to troubleshot, then there's not 
much we can do to help.

Jeff


On Monday, 25 September 2017 19:00:05 UTC+2, Ingo Naumann wrote:
>>
>> In which directory does Cryptopp install the file libcryptopp.so.5.6? In 
>> /usr/lib or in /usr/local/lib?
>>
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
/usr/local/lib

On Monday, 25 September 2017 19:00:05 UTC+2, Ingo Naumann wrote:
>
> In which directory does Cryptopp install the file libcryptopp.so.5.6? In 
> /usr/lib or in /usr/local/lib?
>
> On 09/25/2017 06:40 PM, Richard Závodný wrote:
>
> I installed CPP using dnf (*cryptopp* package), that's all. Now i tried 
> to build the library using guide on wiki page you posted, but still it 
> don't work. :(
>
> On  Monday, 25 September 2017 18:03:10 UTC+2, Jeffrey Walton wrote: 
>>
>>
>>
>> On Monday, September 25, 2017 at 11:54:44 AM UTC-4, Richard Závodný 
>> wrote: 
>>>
>>> Right now i'm getting *error while loading shared libraries: 
>>> libcryptopp.so.5.6: cannot open shared object file: No such file or 
>>> directory* error. Why? How to fix it. BTW. I also use *-lcryptopp* as a 
>>> param using g++ command. Is this param right? When I change it to 
>>> -lcrypto++ I get the */usr/bin/ld: cannot find -lcrypto++*, so i think 
>>> that -lcryptopp is ok, but not sure about it.
>>>
>>
>> No ideas. You have not told us what you have done, so there's not much 
>> for us to suggest. The Linux page on the wiki will probably be helpful for 
>> you if you have not compiled and linked before. Also see 
>> https://www.cryptopp.com/wiki/Linux.
>>
>> If you want to work the shared object issue, then you might try 
>> https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s
>>  
>> and 
>> https://lonesysadmin.net/2013/02/22/error-while-loading-shared-libraries-cannot-open-shared-object-file/
>>
>> Jeff
>>
> -- 
> -- 
> You received this message because you are subscribed to the "Crypto++ 
> Users" Google Group.
> To unsubscribe, send an email to cryptopp-user...@googlegroups.com 
> .
> More information about Crypto++ and this group is available at 
> http://www.cryptopp.com.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to cryptopp-user...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Ingo Naumann
In which directory does Cryptopp install the file libcryptopp.so.5.6? In
/usr/lib or in /usr/local/lib?


On 09/25/2017 06:40 PM, Richard Závodný wrote:
> I installed CPP using dnf (*cryptopp* package), that's all. Now i
> tried to build the library using guide on wiki page you posted, but
> still it don't work. :(
>
> On  Monday, 25 September 2017 18:03:10 UTC+2, Jeffrey Walton wrote:
>
>
>
> On Monday, September 25, 2017 at 11:54:44 AM UTC-4, Richard
> Závodný wrote:
>
> Right now i'm getting *error while loading shared libraries:
> libcryptopp.so.5.6: cannot open shared object file: No such
> file or directory* error. Why? How to fix it. BTW. I also use
> *-lcryptopp* as a param using g++ command. Is this param
> right? When I change it to -lcrypto++ I get the */usr/bin/ld:
> cannot find -lcrypto++*, so i think that -lcryptopp is ok, but
> not sure about it.
>
>
> No ideas. You have not told us what you have done, so there's not
> much for us to suggest. The Linux page on the wiki will probably
> be helpful for you if you have not compiled and linked before.
> Also see https://www.cryptopp.com/wiki/Linux
> .
>
> If you want to work the shared object issue, then you might try
> 
> https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s
> 
> 
> and
> 
> https://lonesysadmin.net/2013/02/22/error-while-loading-shared-libraries-cannot-open-shared-object-file/
> 
> 
>
> Jeff
>
> -- 
> -- 
> You received this message because you are subscribed to the "Crypto++
> Users" Google Group.
> To unsubscribe, send an email to
> cryptopp-users-unsubscr...@googlegroups.com.
> More information about Crypto++ and this group is available at
> http://www.cryptopp.com.
> ---
> You received this message because you are subscribed to the Google
> Groups "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cryptopp-users+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Jeffrey Walton
On Mon, Sep 25, 2017 at 12:40 PM, Richard Závodný
 wrote:
> I installed CPP using dnf (cryptopp package), that's all. Now i tried to
> build the library using guide on wiki page you posted, but still it don't
> work. :(

If you installed it using dnf then you don't need to build the library.

Move onto the test program.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
I installed CPP using dnf (*cryptopp* package), that's all. Now i tried to 
build the library using guide on wiki page you posted, but still it don't 
work. :(

On  Monday, 25 September 2017 18:03:10 UTC+2, Jeffrey Walton wrote:
>
>
>
> On Monday, September 25, 2017 at 11:54:44 AM UTC-4, Richard Závodný wrote:
>>
>> Right now i'm getting *error while loading shared libraries: 
>> libcryptopp.so.5.6: cannot open shared object file: No such file or 
>> directory* error. Why? How to fix it. BTW. I also use *-lcryptopp* as a 
>> param using g++ command. Is this param right? When I change it to 
>> -lcrypto++ I get the */usr/bin/ld: cannot find -lcrypto++*, so i think 
>> that -lcryptopp is ok, but not sure about it.
>>
>
> No ideas. You have not told us what you have done, so there's not much for 
> us to suggest. The Linux page on the wiki will probably be helpful for you 
> if you have not compiled and linked before. Also see 
> https://www.cryptopp.com/wiki/Linux.
>
> If you want to work the shared object issue, then you might try 
> https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s
>  
> and 
> https://lonesysadmin.net/2013/02/22/error-while-loading-shared-libraries-cannot-open-shared-object-file/
>
> Jeff
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Jeffrey Walton


On Monday, September 25, 2017 at 11:54:44 AM UTC-4, Richard Závodný wrote:
>
> Right now i'm getting *error while loading shared libraries: 
> libcryptopp.so.5.6: cannot open shared object file: No such file or 
> directory* error. Why? How to fix it. BTW. I also use *-lcryptopp* as a 
> param using g++ command. Is this param right? When I change it to 
> -lcrypto++ I get the */usr/bin/ld: cannot find -lcrypto++*, so i think 
> that -lcryptopp is ok, but not sure about it.
>

No ideas. You have not told us what you have done, so there's not much for 
us to suggest. The Linux page on the wiki will probably be helpful for you 
if you have not compiled and linked before. Also see 
https://www.cryptopp.com/wiki/Linux.

If you want to work the shared object issue, then you might try 
https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s
 
and 
https://lonesysadmin.net/2013/02/22/error-while-loading-shared-libraries-cannot-open-shared-object-file/

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
Right now i'm getting *error while loading shared libraries: 
libcryptopp.so.5.6: cannot open shared object file: No such file or 
directory* error. Why? How to fix it. BTW. I also use *-lcryptopp* as a 
param using g++ command. Is this param right? When I change it to 
-lcrypto++ I get the */usr/bin/ld: cannot find -lcrypto++*, so i think that 
-lcryptopp is ok, but not sure about it.

On Monday, 25 September 2017 17:33:43 UTC+2, Jeffrey Walton wrote:
>
>
>
> On Monday, September 25, 2017 at 10:58:17 AM UTC-4, Richard Závodný wrote:
>>
>> Hi, how can I install/build CPP on Fedora 26? I tried to install 
>> cryptopp-devel using dnf, but I can't compile my code. At Ubuntu this code 
>> worked normally. 
>>
>
> I believe Fedora place Crypto++ headers in , not  (or 
> maybe vice versa).
>
> Also see https://www.cryptopp.com/wiki/Linux#Linux_Distributions.
>
> Jeff
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CryptoPP build/install on Fedora 26

2017-09-25 Thread Jeffrey Walton


On Monday, September 25, 2017 at 10:58:17 AM UTC-4, Richard Závodný wrote:
>
> Hi, how can I install/build CPP on Fedora 26? I tried to install 
> cryptopp-devel using dnf, but I can't compile my code. At Ubuntu this code 
> worked normally. 
>

I believe Fedora place Crypto++ headers in , not  (or 
maybe vice versa).

Also see https://www.cryptopp.com/wiki/Linux#Linux_Distributions.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CryptoPP build/install on Fedora 26

2017-09-25 Thread Richard Závodný
Hi, how can I install/build CPP on Fedora 26? I tried to install 
cryptopp-devel using dnf, but I can't compile my code. At Ubuntu this code 
worked normally. 

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.