Comments (5)
What environment are you using for compiling? Codecrypt itself doesn't use pthreads, this dependency should get pulled in by -lcryptopp.
Check out if ldd /usr/lib/libcryptopp.so
outputs pthread (please paste the output here as well for documentation). If not, putting -lpthread manually to LIBS for your ./configure
is a good workaround.
from codecrypt.
Relating to the other issue, what output do you get from pkg-config libcrypto++ --libs
?
from codecrypt.
I'm compiling on Arch Linux x86_64. ldd /usr/lib/libcryptopp.so
did not output pthread. I compiled the most recent version of crypto++ and ldd did return pthread when in this case, so i suppose this is either a bug of crypto++ or the arch package.
pkg-config libcrypto++ --libs
returns -lcryptopp
EDIT: I just compiled version 5.6.2 of crypto++ (the version, which is used for the arch package currently) and it seems it is missing the pthread linkage. 5.6.3 has this issue, too, but it seems to be fixed in the git version of crypto++, so I guess it will be fixed with the next release of crypto++. In the mean time I will ask the package maintainer of the arch package to fix this.
from codecrypt.
Anyway, from debian source package:
~/libcrypto++-5.6.1/debian $ grep pthread changelog
* Link with pthread to avoid warning from dpkg-shlibdeps.
* Use LDFLAGS=-pthread to fix linking errors.
Debian is explicitly fixing this for the package to avoid dependency breakage. Asking either Crypto++ or Arch packaging folks about the reason for this behavior will probably be the best option to solve this.
PS. crypto++ likes the workaround solution better https://www.cryptopp.com/wiki/Linux#Undefined_Reference_to_pthread 😞
from codecrypt.
Shall be resolved by upstream, closing.
If there's some quick&portable fix/workaround for detection whether cryptopp needs -pthread added, please submit a patch.
from codecrypt.
Related Issues (20)
- Mac OSX install instructions HOT 1
- how to import key HOT 1
- Annealmail Thunderbird Add-on HOT 9
- Avoid parameters that allow timing/statistical attacks when used as decryption oracle HOT 16
- error: ambiguous local user specified HOT 9
- [REJECTED] Windows binary HOT 1
- Secret key protection HOT 6
- Entropy ? HOT 3
- A Question regarding HWRNG HOT 3
- AES HOT 2
- Ubuntu Install Problem HOT 2
- Use LGPL v2.1 instead of v3 for better license compatibility HOT 5
- Rewrite in Rust HOT 4
- Compile issue on macOS HOT 6
- How about add seed support for FMTSeq ? HOT 1
- It takes more than 10 minutes to generate keypair... HOT 2
- signed git tags / signed git commits HOT 1
- Does codecrypt also provides security regarding classical computer attacks? HOT 6
- YAY: "Package 'libcrypto++', required by 'virtual:world', not found" HOT 4
- Long List Of Errors When Running `make` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecrypt.