I try to install DS-5 for Linux(64 bit) on my Ubuntu 12.04.5(64 bit), and it warns me that a bunch of libraries are missing:
One or more of the DS-5 system dependencies are not installed, see below for a list of the missing libraries. libc.so.6 (32-bit) libfontconfig.so.1 (32-bit) libfreetype.so.6 (32-bit) libGL.so.1 (32-bit) libICE.so.6 (32-bit) libncurses.so.5 (32-bit) libSM.so.6 (32-bit) libstdc++.so.6 (32-bit) libusb-0.1.so.4 (32-bit) libX11.so.6 (32-bit) libXcursor.so.1 (32-bit) libXext.so.6 (32-bit) libXft.so.2 (32-bit) libXmu.so.6 (32-bit) libXrandr.so.2 (32-bit) libXrender.so.1 (32-bit) libz.so.1 (32-bit) One of: libwebkitgtk-1.0.so.0 (64-bit) libwebkit-1.0.so.2 (64-bit) libxpcom.so (64-bit)
How should I find these .so libs? I tried to use apt-get but no package was found, and found nothing in http://www.rpmfind.net/
Anyone knows how to solve this problem?
Thanks a lot.
The command
sudo apt-cache depends libstdc++
seems to be able to find packages that depend on libstdc++, but I'm not sure whether it will solve my problem.
Hi,
Note that you shouldn't actually need all of those to get DS-5 working. But anyway, from the looks of it, you're missing multiarch / i386 packages. If you enter this command, what do you see?
$ dpkg --print-foreign-architectures i386
$ dpkg --print-foreign-architectures
i386
If you don't see the "i386", enter these commands:
$ sudo dpkg --add-architecture i386 $ sudo apt-get update
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
Then you can install the necessary i386 (32-bit) packages by appending ":i386" to the package names, like this:
$ sudo apt-get install libc6:i386 libstdc++6:i386 libfontconfig1:i386 libfreetype6:i386 libice6:i386 lib32ncurses5 zlib1g:i386 libusb-0.1-4:i386
You can copy-paste that command into your terminal to automatically get all of the required packages. You probably won't want to install the 32-bit X packages, so I've left those ones off the list.
I hope that helps,
Ash.
Solves part of my problem, thanks.
By the way, how do you find the package name, for example, where does the '6' in libfreetype6 come from?
And why the package of libz.so.1 is zlibg1:i386 instead of libz1?
libz.so.1
zlibg1:i386
libz1
Another problem is that I try to sudo apt-get install libxpcom but no package named libxpcom can be found.
sudo apt-get install libxpcom
When the shared library has a version, that will usually be in the package name too. So for example "libfreetype.so.6", the ".6" means version 6.
With regards to finding package names, you can use apt-cache like this:
$ apt-cache search libfreetype libfreetype6 - FreeType 2 font engine, shared library files libfreetype6-dev - FreeType 2 font engine, development files libgd-gd2-perl - Perl module wrapper for libgd - gd2 variant libcoin80 - high-level 3D graphics kit implementing the Open Inventor API libgd-gd2-noxpm-perl - Perl module wrapper for libgd - gd2 variant without XPM support libgd-perl - Perl module wrapper for libgd - gd2 variant
$ apt-cache search libfreetype
libfreetype6 - FreeType 2 font engine, shared library files
libfreetype6-dev - FreeType 2 font engine, development files
libgd-gd2-perl - Perl module wrapper for libgd - gd2 variant
libcoin80 - high-level 3D graphics kit implementing the Open Inventor API
libgd-gd2-noxpm-perl - Perl module wrapper for libgd - gd2 variant without XPM support
libgd-perl - Perl module wrapper for libgd - gd2 variant
Some are a bit awkward, like the zlib one.
Is DS-5 working for you now? As I mentioned earlier, you shouldn't actually need all of those packages.
Thank you for your help.
It is installed now, but these two pakages
libgl1-mesa-glx:i386 libgl1-mesa-dev.
have messed up the grub so I am not able to boot now(stuck at boot splash screen)
I'm Googling for solutions.
I have solved all the problems now.
Fixed the grub by resintalling the grub using the command:
sudo apt-get install --reinstall ubuntu-desktop
Then I started DS-5 and no error occured.
Thanks a lot!
Yeah you probably don't want to install 32-bit versions of the display related (X, GL, etc) packages, as your system will be using the 64-bit ones.
Glad that it's working for you now