Subject RE: Installing 32 bit version of FB Classic on a 64 bit Ubuntu 12.04 - not possible?
Author

Try with apt and here is my results on 13.10 , i will test in 5 minutes on 12.04 too 


sudo apt-get install firebird2.5-superclassic:i386

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  firebird2.5-classic-common:i386 firebird2.5-server-common:i386 libedit2:i386 libfbclient2:i386 libfbembed2.5:i386 libib-util:i386

Suggested packages:

  firebird2.5-doc:i386

The following packages will be REMOVED:

  firebird-dev firebird2.5-classic-common firebird2.5-server-common firebird2.5-superclassic libfbembed2.5

The following NEW packages will be installed:

  firebird2.5-classic-common:i386 firebird2.5-server-common:i386 firebird2.5-superclassic:i386 libedit2:i386 libfbclient2:i386 libfbembed2.5:i386 libib-util:i386

0 upgraded, 7 newly installed, 5 to remove and 1 not upgraded.

Need to get 3,409 kB of archives.

After this operation, 847 kB of additional disk space will be used.

Do you want to continue [Y/n]? 

Get:1 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main libfbclient2 i386 2.5.2.26540.ds4-8ubuntu2 [272 kB]

Get:2 http://archive.ubuntu.com/ubuntu/ saucy/main libedit2 i386 3.1-20130712-1 [84.9 kB]

Get:3 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main firebird2.5-server-common i386 2.5.2.26540.ds4-8ubuntu2 [532 kB]

Get:4 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main libfbembed2.5 i386 2.5.2.26540.ds4-8ubuntu2 [1,519 kB]

Get:5 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main libib-util i386 2.5.2.26540.ds4-8ubuntu2 [3,800 B]

Get:6 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main firebird2.5-classic-common i386 2.5.2.26540.ds4-8ubuntu2 [820 kB]

Get:7 http://ppa.launchpad.net/mapopa/ppa/ubuntu/ saucy/main firebird2.5-superclassic i386 2.5.2.26540.ds4-8ubuntu2 [177 kB]

Fetched 3,409 kB in 2s (1,418 kB/s)               

Preconfiguring packages ...

(Reading database ... 319071 files and directories currently installed.)

Removing firebird-dev ...

Removing firebird2.5-superclassic ...

 * Stopping Firebird 2.5 superclassic server...                                                                                                                                                             [ OK ] 

Removing firebird2.5-classic-common ...

Removing libfbembed2.5 ...

Removing firebird2.5-server-common ...

Processing triggers for man-db ...

Processing triggers for ureadahead ...

Processing triggers for libc-bin ...

Selecting previously unselected package libedit2:i386.

(Reading database ... 319008 files and directories currently installed.)

Unpacking libedit2:i386 (from .../libedit2_3.1-20130712-1_i386.deb) ...

Selecting previously unselected package libfbclient2:i386.

Unpacking libfbclient2:i386 (from .../libfbclient2_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Selecting previously unselected package firebird2.5-server-common.

Unpacking firebird2.5-server-common (from .../firebird2.5-server-common_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Selecting previously unselected package libfbembed2.5.

Unpacking libfbembed2.5 (from .../libfbembed2.5_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Selecting previously unselected package libib-util:i386.

Unpacking libib-util:i386 (from .../libib-util_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Selecting previously unselected package firebird2.5-classic-common.

Unpacking firebird2.5-classic-common (from .../firebird2.5-classic-common_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Selecting previously unselected package firebird2.5-superclassic.

Unpacking firebird2.5-superclassic (from .../firebird2.5-superclassic_2.5.2.26540.ds4-8ubuntu2_i386.deb) ...

Processing triggers for man-db ...

Processing triggers for ureadahead ...

Setting up libedit2:i386 (3.1-20130712-1) ...

Setting up libfbclient2:i386 (2.5.2.26540.ds4-8ubuntu2) ...

Setting up firebird2.5-server-common (2.5.2.26540.ds4-8ubuntu2) ...

Setting up libfbembed2.5 (2.5.2.26540.ds4-8ubuntu2) ...

Setting up libib-util:i386 (2.5.2.26540.ds4-8ubuntu2) ...

Setting up firebird2.5-classic-common (2.5.2.26540.ds4-8ubuntu2) ...

Setting up firebird2.5-superclassic (2.5.2.26540.ds4-8ubuntu2) ...

 * Starting Firebird 2.5 superclassic server...                                                                                                                                                             [ OK ] 

 * Firebird 2.5 superclassic server already running

Processing triggers for libc-bin ...

ps aux |grep  fb_smp

firebird  9376  0.0  0.1  55664  4596 ?        Sl   15:35   0:00 /usr/sbin/fb_smp_server



file /usr/sbin/fb_smp_server

/usr/sbin/fb_smp_server: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xc51e5bb36e3d6d2f2af90324e2aa5214de484d2b, stripped


---In firebird-support@yahoogroups.com, <bughunter@...> wrote:

Hi,

for an legacy app from last century I have to run a 32 bit version of firebird classic (only 32 bit
UDFs available).

I have tried several approaches and everything is fine in a virtual machine, however I would like to
avoid the overhead and like to run FB directly on the host, which is a Ubuntu 12.04 64 bit.

There are are two possible directions here directly installing 32 bit binaries and a chroot -
usually running 32 bit apps on 64 bit Ubuntu 12.04 (or a Debian system) is not a problem, so I tried
this first.

Unfortunately installing the i386 packages for firebird fails - both the ubuntu repos and the
ppa:mapopa give me dependency conflicts - please see shell output copied below [1].

How can I fix this?

Thanks for your attention!
John

[1] rewrapped shell output:

root@srv01:/etc# aptitude install firebird2.5-classic:i386
The following NEW packages will be installed:
firebird2.5-classic:i386{b} firebird2.5-common{a} firebird2.5-common-doc{a}
firebird2.5-server-common:i386{a} libc6:i386{a} libfbclient2:i386{a} libfbembed2.5:i386{a}
libgcc1:i386{a} libicu48:i386{ab} libstdc++6:i386{a}
The following packages are RECOMMENDED but will NOT be installed:
libib-util:i386
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.6 MB of archives. After unpacking 43.8 MB will be used.
The following packages have unmet dependencies:
libicu48 : Conflicts: libicu48:i386 but 4.8.1.1-3ubuntu0.1 is to be installed.
libicu48:i386 : Conflicts: libicu48 but 4.8.1.1-3ubuntu0.1 is installed.
firebird2.5-classic:i386 : Depends: netbase:i386 which is a virtual package.
Depends: firebird2.5-classic-common:i386 (= 2.5.2.26540.ds4-8ubuntu4)
but it is not going to be installed.
Depends: openbsd-inetd:i386 but it is not going to be installed. or
inet-superserver:i386 which is a virtual package.

The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) firebird2.5-classic:i386 [Not Installed]
2) firebird2.5-server-common:i386 [Not Installed]
3) libfbembed2.5:i386 [Not Installed]
4) libicu48:i386 [Not Installed]


Accept this solution? [Y/n/q/?]