Let's start by running dpkg and add i386 as new architecture. Reference here
dpkg --add-architecture i386
change /etc/apt/sources.list
(exemple bellow)
deb [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch main
deb-src [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch main
deb [arch=amd64,i386] http://security.debian.org/debian-security stretch/updates main
deb-src [arch=amd64,i386] http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch-updates main
deb-src [arch=amd64,i386] http://ftp.br.debian.org/debian/ stretch-updates main
---
Install the required packages
apt install lib32ncurses5
apt install libstdc++5:i386
--
Check with ldd if the library are working fine...
ldd /opt/firebird/lib/libfbclient.so
linux-gate.so.1 (0xf7746000)
libstdc++.so.5 => /usr/lib/i386-linux-gnu/libstdc++.so.5 (0xf7606000)
libncurses.so.5 => /lib32/libncurses.so.5 (0xf75e1000)
libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0xf75af000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf755a000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73a2000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf739d000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7380000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7362000)
libtinfo.so.5 => /lib32/libtinfo.so.5 (0xf733f000)
/lib/ld-linux.so.2 (0xf7748000)
Nenhum comentário:
Postar um comentário