Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing symbols on libnss_compat.so.2 #3033

Open
mscastanho opened this issue Aug 15, 2022 · 0 comments
Open

Missing symbols on libnss_compat.so.2 #3033

mscastanho opened this issue Aug 15, 2022 · 0 comments

Comments

@mscastanho
Copy link
Contributor

mscastanho commented Aug 15, 2022

While developing a SLES15 container for at-docker, I hit the following issue:

c555cb923bd3:~ # rpm --import https://debian.neo4j.com/neotechnology.gpg.key
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
error: https://debian.neo4j.com/neotechnology.gpg.key: import read failed(2).

The container basically has AT 15.0 installed, the symlinks /lib64/ld64.so and /sbin/ldconfig changed to point to AT's and AT's bin dir prepended to PATH envvar.

Running the same command as before appended with LD_DEBUG=libs shows some errors:

       126:     find library=libnss_compat.so.2 [0]; searching                                                                                                                                                                                     [341/1926]
       126:      search cache=/opt/at15.0/etc/ld.so.cache                                                                                                                                                                                                    
       126:       trying file=/opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2                                                                                                                                                                      
       126:                                                                                                                                                                                                                                                  
       126:                                                                                                                                                                                                                                                  
       126:     calling init: /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2                                                                                                                                                                      
       126:                                                                                                                                                                                                                                                  
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endaliasent (fatal)                                                                                                     
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endetherent (fatal)                                                                                                     
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endhostent (fatal)                                                                                                      
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endnetent (fatal)                                                                                                       
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endnetgrent (fatal)                                                                                                     
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endprotoent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endrpcent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endservent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_endsgent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getaliasbyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getaliasent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getcanonname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getetherent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyaddr2_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyaddr_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyname2_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyname3_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyname4_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostbyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_gethostton_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getnetbyaddr_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getnetbyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getnetent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getnetgrent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getntohost_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getprotobyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getprotobynumber_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getprotoent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getpublickey (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getrpcbyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getrpcbynumber_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getrpcent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getsecretkey (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getservbyname_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getservbyport_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getservent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getsgent_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_getsgnam_r (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_netname2user (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setaliasent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setetherent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_sethostent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setnetent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setnetgrent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setprotoent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setrpcent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setservent (fatal)
       126:     /opt/at15.0/lib64/glibc-hwcaps/power10/libnss_compat.so.2: error: symbol lookup error: undefined symbol: _nss_compat_setsgent (fatal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant