Giter Site home page Giter Site logo

Comments (1)

CGick avatar CGick commented on August 30, 2024

In the AWS Lambda Docker image /opt/bin is on the path, so I attempted to set the install prefix to /opt .
This allowed me to install the libraries but when I went to install gnupg I noticed that not all of the tests failed, but the ones that did had a different error:

make[3]: Entering directory `/build/gnupg-2.2.40/common'
./t-stringhelp: /lib64/libgpg-error.so.0: no version information available (required by ./t-stringhelp)
./t-stringhelp: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-stringhelp: relocation error: ./t-stringhelp: symbol gpgrt_getcwd, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-stringhelp
./t-timestuff: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-timestuff
./t-convert: /lib64/libgpg-error.so.0: no version information available (required by ./t-convert)
./t-convert: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-convert
./t-percent: /lib64/libgpg-error.so.0: no version information available (required by ./t-percent)
./t-percent: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-percent: relocation error: ./t-percent: symbol gpgrt_snprintf, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-percent
./t-gettime: /lib64/libgpg-error.so.0: no version information available (required by ./t-gettime)
./t-gettime: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-gettime: relocation error: ./t-gettime: symbol gpgrt_snprintf, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-gettime
./t-sysutils: /lib64/libgpg-error.so.0: no version information available (required by ./t-sysutils)
./t-sysutils: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-sysutils
./t-sexputil: /lib64/libgpg-error.so.0: no version information available (required by ./t-sexputil)
./t-sexputil: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-sexputil: relocation error: ./t-sexputil: symbol gpgrt_snprintf, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-sexputil
./t-session-env: /lib64/libgpg-error.so.0: no version information available (required by ./t-session-env)
./t-session-env: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
    > Known envvars: GPG_TTY(ttyname) TERM(ttytype) DISPLAY(display)
    > XAUTHORITY(xauthority) XMODIFIERS WAYLAND_DISPLAY XDG_SESSION_TYPE
    > QT_QPA_PLATFORM GTK_IM_MODULE DBUS_SESSION_BUS_ADDRESS
    > QT_IM_MODULE INSIDE_EMACS PINENTRY_USER_DATA(pinentry-user-data)
./t-session-env: relocation error: ./t-session-env: symbol gpgrt_snprintf, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-session-env
./t-openpgp-oid: /lib64/libgpg-error.so.0: no version information available (required by ./t-openpgp-oid)
./t-openpgp-oid: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-openpgp-oid: relocation error: /opt/lib/libgcrypt.so.20: symbol gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-openpgp-oid
./t-ssh-utils: /lib64/libgpg-error.so.0: no version information available (required by ./t-ssh-utils)
./t-ssh-utils: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-ssh-utils: relocation error: /opt/lib/libgcrypt.so.20: symbol gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-ssh-utils
./t-mapstrings: /lib64/libgpg-error.so.0: no version information available (required by ./t-mapstrings)
./t-mapstrings: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-mapstrings
./t-zb32: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-zb32
./t-mbox-util: /lib64/libgpg-error.so.0: no version information available (required by ./t-mbox-util)
./t-mbox-util: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-mbox-util
./t-iobuf: /lib64/libgpg-error.so.0: no version information available (required by ./t-iobuf)
./t-iobuf: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-iobuf
./t-strlist: /lib64/libgpg-error.so.0: no version information available (required by ./t-strlist)
./t-strlist: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-strlist
./t-name-value: /lib64/libgpg-error.so.0: no version information available (required by ./t-name-value)
./t-name-value: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-name-value: relocation error: ./t-name-value: symbol gpgrt_mopen, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-name-value
./t-ccparray: /lib64/libgpg-error.so.0: no version information available (required by ./t-ccparray)
./t-ccparray: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-ccparray
./t-recsel: /lib64/libgpg-error.so.0: no version information available (required by ./t-recsel)
./t-recsel: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-recsel: relocation error: /opt/lib/libgcrypt.so.20: symbol gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-recsel
./t-w32-cmdline: /lib64/libgpg-error.so.0: no version information available (required by ./t-w32-cmdline)
./t-w32-cmdline: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-w32-cmdline
./t-exechelp: /lib64/libgpg-error.so.0: no version information available (required by ./t-exechelp)
./t-exechelp: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
PASS: t-exechelp
./t-exectool: /lib64/libgpg-error.so.0: no version information available (required by ./t-exectool)
./t-exectool: /lib64/libgpg-error.so.0: no version information available (required by /opt/lib/libgcrypt.so.20)
./t-exectool: relocation error: ./t-exectool: symbol gpgrt_mopen, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
FAIL: t-exectool
=======================================
10 of 21 tests failed
Please report to https://bugs.gnupg.org
=======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/build/gnupg-2.2.40/common'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/build/gnupg-2.2.40/common'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/build/gnupg-2.2.40/common'

It appears that Gnupg is specifically looking for the libraries in the /lib64 directory. When I set the prefix to /usr and the libdir to /usr/lib64 the installation was completely successful.

The fix for this issue can be found in e270da5

from pgpdecryptionlambda.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.