segunda-feira, junho 01, 2020

Install Firebird 1.5 on Debian stretch 9.8 architecture amd64

The most tricky paristo make your amd64 system install i386 packages in order to have Firebird running.

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] stretch main
deb-src [arch=amd64,i386] stretch main

deb [arch=amd64,i386] stretch/updates main
deb-src [arch=amd64,i386] stretch/updates main

# stretch-updates, previously known as 'volatile'
deb [arch=amd64,i386] stretch-updates main
deb-src [arch=amd64,i386] 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/ (0xf7746000) => /usr/lib/i386-linux-gnu/ (0xf7606000) => /lib32/ (0xf75e1000) => /lib/i386-linux-gnu/ (0xf75af000) => /lib/i386-linux-gnu/ (0xf755a000) => /lib/i386-linux-gnu/ (0xf73a2000) => /lib/i386-linux-gnu/ (0xf739d000) => /lib/i386-linux-gnu/ (0xf7380000) => /lib/i386-linux-gnu/ (0xf7362000) => /lib32/ (0xf733f000)
        /lib/ (0xf7748000)

Nenhum comentário: