[ubuntu-uk] cannot open shared object file: No such file or directory

Colin Watson cjwatson at ubuntu.com
Thu Apr 5 17:04:45 UTC 2012

On Thu, Apr 05, 2012 at 06:35:44PM +0200, James Morrissey wrote:
> On 5 April 2012 18:04, James Morrissey <morrissey.james1 at gmail.com> wrote:
> >> No, if kbide is a 32-bit application, then you need to install 32-bit
> >> libraries for it.  Try installing "libqt4-svg:i386".
> >
> > Brilliant, that got it.
> Well i have still come up with problems on this. I am assuming that
> all the packages that Jim mentioned have to be for from i386, so:
> libqwt5-qt4:i386
> libqwt5-qt4-dev:i386
> qt4-dev-tools:i386
> qt4-qtconfig:i386
> The problem is that these are dependent on other features which are
> needed for other programmes (things like bluefish and banshee have
> come up for uninstallation).

Try just the library, i.e. libqwt5-qt4:i386.

(I don't see why you should need libqwt5-qt4-dev at run-time?  If you
do, that may need work on our end to make the library Multi-Arch: same;
although swapping out libqwt5-qt4-dev in favour of libqwt5-qt4-dev:i386
may be less intrusive than qt4-dev-tools and qt4-qtconfig as well.)

> Is there not an easier way to get 32bit applications working on a 64
> bit system? I thought that a lot of this had been taken care of so
> that getlibs was no longer necessary.

A few things:

 * Multiarch, i.e. what you're seeing when you use :i386, is the road to
   that easier way.  However, it's still being worked on quite
   substantially, and in 11.10 we still provide ia32-libs because
   multiarch wasn't complete enough there to supersede it.

 * This would probably be easier if the KBasic developers provided an
   i386-only apt repository.  You could then use 'apt-get install' and
   apt would automatically follow :i386 dependencies.  It might still
   need additional multiarch metadata in the Ubuntu archive, though;
   there's a lot to do here.

 * There's always the option of using a 32-bit chroot if need be,
   although it's obviously not ideal.  schroot can help with the
   mechanics of using one.

Colin Watson                                       [cjwatson at ubuntu.com]

More information about the ubuntu-uk mailing list