This article describes how to make Pagico compatible with 64-bit Ubuntu operating systems. Special thanks to Pete Elsdon for putting this tutorial together.
Disclaimer: This method is not officially supported, therefore it is not guaranteed that this method will work under Ubuntu 9.04 / 9.10 and any future updates. Also this tutorial is intended for intermediate and advanced Ubuntu users as it involves some terminal work.
How To
- Check that you have getlibs installed – it should be available via the Synaptic Package Manager.
- Download the Pagico installer file as you need from here.
- Open a terminal and navigate to the directory in which the installer file was saved.
- Because this installer will be for a 32 bit architecture, we have to ‘force’ install. So type:
sudo -i dpkg -i ––force-architecture pagico…… - Do NOT run Pagico from a menu or by invoking Gnome Do or such like yet. Instead run it from a terminal first in order to figure out what libraries it’s going to need.
- Simply type ‘pagico’ (followed by “enter”) in the terminal.
- You’ll get a series of error messages which will point you to the libraries that are missing. You’ll probably see something like: ‘error while loading shared libraries: libxxx..so.6′
- This is where getlibs does its thing. Using the above as an example we’d type ‘sudo -i getlibs -l libxxx.so.6′, and that should then take care of that library. For each missing library do the same using its name exactly as displayed in the error message.
- Keep doing this until eventually Pagico should run from the terminal. When that happens you can then launch Pagico via the menu command, or however you like.
- When you upgrade to a newer version of Pagico you’ll have to follow this procedure, but there are normally only two or three shared libraries to update.
Some external articles that you might find helpful:
- getlibs: Automatically solves dependencies for 32-bit programs on Ubuntu
- Getlibs — simple 32 bit compatibility on amd64
Related posts:
3 Notes
the syntax is slightly off on the line:
sudo -i dpkg -i –force-architecture
it should be:
sudo dpkg -i –force-architecture
It looks like it might have been typed in correctly, but the page is rendering the dash in front of force as a single dash, wich will throw errors…two dashes will do it.
@endle,
Thanks for the correction! It’s just the blog *thought* it might look better by converting the two dashes into one longer one. Now it’s corrected.
Thanks again for mentioning this!
Ryo
The problem I am finding is that some libraries, like libenchant, need to be in boith 32 and 64 bit versions: 32 for Pagico, 64 for everything else. But Pagico finds the 64 bit ine at /usr/lib and not the 32 bit version at /usr/lib32. How can Pagico be forced to look for libraries in the right place?
Iago
One Trackback
[...] A new tutorial on how to make Pagico compatible with 64-bit Ubuntu has been put together, and it’s hosted in our Online Help website. For those who are interested, please go ahead and read about it here. [...]