Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#47731 - [crypto++] Should be linked to libpthread
Attached to Project:
Community Packages
Opened by Johannes Loher (Saluu) - Tuesday, 12 January 2016, 21:25 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 21 June 2017, 17:03 GMT
Opened by Johannes Loher (Saluu) - Tuesday, 12 January 2016, 21:25 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 21 June 2017, 17:03 GMT
|
DetailsDescription:
crypto++ actually needs linkage to the pthread library. However, this is missing in the Makefile provided by crypto++ (in version 5.6.2, which this package is currently using, but also in the most recent version, 5.6.3. It is fixed in the git version of crypto++, so we can expect this to be fixed in the next release of crypto++). I suggest to patch the Makefile to add "-lpthread" to the linker flags. Additional info: package version: 5.6.2-4 |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Wednesday, 21 June 2017, 17:03 GMT
Reason for closing: Fixed
Wednesday, 21 June 2017, 17:03 GMT
Reason for closing: Fixed
ifeq ($(IS_LINUX),1)
LDFLAGS += -pthread
...
Also i built the package on my system and the library is indeed linked against libpthread:
johannesloher@saiph:~/Downloads/crypto++> ldd pkg/crypto++/usr/lib/libcryptopp.so
ldd: Warnung: Sie haben kein Ausführungsrecht für `pkg/crypto++/usr/lib/libcryptopp.so'
linux-vdso.so.1 (0x00007ffde67de000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0883af9000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f08837e7000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f08835d0000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f08833b2000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f088300d000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000055bc6070b000)
So this is indeed fixed.