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#45842 - [staging/mbedtls] mising libraries
Attached to Project:
Community Packages
Opened by Sergej Pupykin (sergej) - Thursday, 30 July 2015, 12:51 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 22 September 2015, 14:42 GMT
Opened by Sergej Pupykin (sergej) - Thursday, 30 July 2015, 12:51 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 22 September 2015, 14:42 GMT
|
Detailslibmbedcrypto.so.0 and libmbedx509.so.0 are missing in staging/mbedtls-2.0.0-1
Steps to reproduce: try to build mediastreamer you will get such errors: ... /usr/lib/libmbedtls.so.10: undefined reference to `mbedtls_mutex_init' ... |
This task depends upon
build() {
cd "$pkgname-$pkgver"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_PROGRAMS=ON \
-DENABLE_TESTING=ON \
-DENABLE_ZLIB_SUPPORT=ON \
-DINSTALL_MBEDTLS_HEADERS=ON \
-DLINK_WITH_PTHREAD=ON \
-DUSE_PKCS11_HELPER_LIBRARY=OFF \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
-DUSE_STATIC_MBEDTLS_LIBRARY=ON
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
mv $pkgdir/usr/bin/benchmark $pkgdir/usr/bin/$pkgname-benchmark
}
mbedtls_sha1_hmac
mbedtls_sha256_hmac
and I can grep them only in .h files
I think your linking problems are from the library splitting. "-lmbedtls" is not enough. "-lmbedtls -lmbedcrypto -lmbedx509" covers most things.
"The last changes in the 2.0 version removed those functions and replaced them with the generic mbedtls_md_hmac function. Packages depending on them should use the new version instead."
So it sounds like bztrp needs patching. And there has been another bugfix for mbedtls, 2.1.1, uploaded.