root@instance-1:# apt search lib32readline
Sorting... Done
Full Text Search... Done
lib32readline-dev/stable 7.0-5 amd64
GNU readline and history libraries, development files (32-bit)
lib32readline7/stable,now 7.0-5 amd64 [installed]
GNU readline and history libraries, run-time libraries (32-bit)
root@instance-1:# apt search libreadline
Sorting... Done
Full Text Search... Done
cupt/stable 2.10.3 amd64
flexible package manager -- console interface
libreadline-dev/stable 7.0-5 amd64
GNU readline and history libraries, development files
libreadline-gplv2-dev/stable 5.2+dfsg-3+b13 amd64
GNU readline and history libraries, development files
libreadline-java/stable 0.8.0.1+dfsg-9 amd64
GNU readline and BSD editline wrappers for Java
libreadline-java-doc/stable,stable 0.8.0.1+dfsg-9 all
API docs for readline/editline wrappers for Java
libreadline5/stable 5.2+dfsg-3+b13 amd64
GNU readline and history libraries, run-time libraries
libreadline5-dbg/stable 5.2+dfsg-3+b13 amd64
GNU readline and history libraries, debugging libraries
libreadline7/stable,now 7.0-5 amd64 [installed,automatic]
GNU readline and history libraries, run-time libraries
root@instance-1 /h/h/S/s/c/D/b/l/linux# apt search gcc4
Sorting... Done
Full Text Search... Done
libgcc4-hppa-cross/stable,stable 1:8.3.0-2cross2 all
GCC support library
root@instance-1 # apt search gcc-4
Sorting... Done
Full Text Search... Done
root@instance-1 # gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@instance-1 # apt show gcc
Package: gcc
Version: 4:8.3.0-1
Priority: optional
Build-Essential: yes
Section: devel
Source: gcc-defaults (1.181)
Maintainer: Debian GCC Maintainers <[email protected]>
Installed-Size: 46.1 kB
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:8.3.0-1)
Depends: cpp (= 4:8.3.0-1), gcc-8 (>= 8.3.0-1~)
Recommends: libc6-dev | libc-dev
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Tag: devel::compiler, devel::lang:c, devel::library, implemented-in::c,
interface::commandline, role::devel-lib, role::metapackage,
role::program, suite::gnu, works-with::software:source
Download-Size: 5196 B
APT-Sources: http://deb.debian.org/debian buster/main amd64 Packages
Description: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C compiler.
root@instance-1 # apt show gcc-7-base
Package: gcc-7-base
Version: 7.4.0-6
Priority: optional
Section: libs
Source: gcc-7
Maintainer: Debian GCC Maintainers <[email protected]>
Installed-Size: 254 kB
Breaks: gcc-4.4-base (<< 4.4.7), gcc-4.7-base (<< 4.7.3), gcj-4.4-base (<< 4.4.6-9~), gcj-4.6-base (<< 4.6.1-4~), gnat (<< 7), gnat-4.4-base (<< 4.4.6-3~), gnat-4.6 (<< 4.6.1-5~)
Homepage: http://gcc.gnu.org/
Tag: role::shared-lib
Download-Size: 190 kB
APT-Sources: http://deb.debian.org/debian buster/main amd64 Packages
Description: GCC, the GNU Compiler Collection (base package)
This package contains files common to all languages and libraries
contained in the GNU Compiler Collection (GCC).
root@instance-1 # apt show gcc-8-base
Package: gcc-8-base
Version: 8.3.0-6
Priority: optional
Section: libs
Source: gcc-8
Maintainer: Debian GCC Maintainers <[email protected]>
Installed-Size: 254 kB
Breaks: gnat (<< 7), gnat-6 (<< 6.4)
Homepage: http://gcc.gnu.org/
Tag: role::shared-lib
Download-Size: 191 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian buster/main amd64 Packages
Description: GCC, the GNU Compiler Collection (base package)
This package contains files common to all languages and libraries
contained in the GNU Compiler Collection (GCC).
root@instance-1:# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ ldd liblua51DS.so
linux-gate.so.1 (0xf7fc8000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7e5b000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7e55000)
libreadline.so.6 => not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7c71000)
/lib/ld-linux.so.2 (0xf7fca000)
# LD_PRELOAD=libpreload.so ls
ERROR: ld.so: object 'libpreload.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libfmodevent.so* libfmodex.so* liblua51.so libSDL2-2.0.so.0* libsteamnetworkingsockets.so*
libfmodex-4.44.64.so* liblua51DS.so libpreload.so libsteam_api.so*
# ln -s /lib32/libreadline.so.8 /lib/i386-linux-gnu/libreadline.so.6
# ls -l /lib/i386-linux-gnu/libreadline.so.6
lrwxrwxrwx 1 root root 23 May 20 18:46 /lib/i386-linux-gnu/libreadline.so.6 -> /lib32/libreadline.so.8
$ ldd liblua51DS.so
linux-gate.so.1 (0xf7f2a000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7dbd000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7db7000)
libreadline.so.6 => /lib/i386-linux-gnu/libreadline.so.6 (0xf7d67000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7b83000)
/lib/ld-linux.so.2 (0xf7f2c000)
libtinfo.so.6 => /lib/i386-linux-gnu/libtinfo.so.6 (0xf7b59000)
$ LS_PRELOAD=libpreload.so ls
libfmodevent.so* libfmodex.so* liblua51.so libreadline.so.6@ libsteam_api.so*
libfmodex-4.44.64.so* liblua51DS.so libpreload.so libSDL2-2.0.so.0* libsteamnetworkingsockets.so*
$ LS_PRELOAD=libpreload.so ../dontstarve_steam # this doesn't now complain about missing library
...
> print(_VERSION)
Lua 5.1