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

libncurses.so #2533

Open
camopants opened this Issue Dec 10, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@camopants
Copy link

camopants commented Dec 10, 2018

Issue Report

Bug

Container Linux Version

NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1911.4.0
VERSION_ID=1911.4.0
BUILD_ID=2018-11-26-1924
PRETTY_NAME="Container Linux by CoreOS 1911.4.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

Environment

ESXi 6.5

Expected Behavior

/lib/libncurses.so should be a soft link to /lib/libncurses.so.6, as per other fundamental libs.

Actual Behavior

/lib/libncurses.so is a Gentoo description file

Reproduction Steps

  1. ls -ld /lib/libncurses.so*
core@[host] /lib $ ls -ld /lib/libncurses.so*
-rwxr-xr-x. 1 root root    530 Nov 26 17:42 /lib/libncurses.so
lrwxrwxrwx. 1 root root     17 Nov 26 19:35 /lib/libncurses.so.6 -> libncurses.so.6.1
-rwxr-xr-x. 1 root root 416392 Nov 26 17:42 /lib/libncurses.so.6.1
  1. core@[host] /lib $ cat /lib/libncurses.so
/* GNU ld script
   Since Gentoo has critical dynamic libraries in /lib, and the static versions
   in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
   run into linking problems.  This "fake" dynamic lib is a linker script that
   redirects the linker to the real lib.  And yes, this works in the cross-
   compiling scenario as the sysroot-ed linker will prepend the real path.

   See bug https://bugs.gentoo.org/4411 for more info.
 */
OUTPUT_FORMAT ( elf64-x86-64 )
GROUP ( /lib64/libncurses.so.6 )

Other Information

Recently updated from various 1800-series releases, where this did not seem to be an issue.

@dm0-

This comment has been minimized.

Copy link
Member

dm0- commented Dec 10, 2018

What is the actual problem arising from this? Binaries should have libncurses.so.6 for their soname value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment