[gnutls-devel] GnuTLS | Build error when enable fips under cross compile (#1373)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon May 23 10:08:16 CEST 2022
leimaohui created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1373
## Description of problem:
When enable fips, the following build error happens:
./fipshmac > .libs/.gnutls.hmac-t && mv .libs/.gnutls.hmac-t .libs/.gnutls.hmac
libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so.30" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so.30")
libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so")
/ubinux-dev/ubinux002/build-poky/tmp/work/core2-32-poky-linux/gnutls/3.7.5-r0/build/lib/.libs/lt-fipshmac: error while loading shared libraries: libgnutls.so.30: cannot open shared object file: No such file or directory
I think fipshmac command should not be executed on cross compile environment, and it should be executed on target, isn't it?
## Version of gnutls used:
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Isn't related to Distributor.
## How reproducible:
In a cross compile environment.
Steps to Reproduce:
## Actual results:
## Expected results:
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1373
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel