Install PPStream on 64bit Ubuntu…

PPStream is one of the biggest online TV in China. Now PPStream release a new client software on Linux. The first official release version is packaged as Ubuntu deb package and … only for 32bit system(x86).

As the Ubuntu on my laptop is 64bit release and has be updated to 10.10, install such a 32 bit software is a god damn tough job. 👿

As we know that to install a 32bit software on 64bit OS, the first step is to install 32bit libs :
sudo apt-get install ia32-libs
and force to install without considering the architecture problem:
sudo dpkg -i --force-architecture somename.deb
Then if there is still some missing “lib” problem, use tool “getlibs” to solve:
getlibs -i somelib
And at the most of time, this problem has been solved at this step and we are happy to run the god damn 32bit on our OS.

But thanks to my upgraded Ubuntu 10.10, the tool “getlibs” didn’t work this time. And I tried to copy the missing libs for /usr/lib/ to /usr/lib32/ , only turn out a classical error message:

Library error: wrong ELF class: ELFCLASS64

Familiar? Yup, of course. This message is very common when you do some coding. It tells us that this library is not suitable. The reason is that those file I copied from is 64bit base software and their lib is also not suitable for 32bit software to use.

OK, it’s so suck that I can’t install 32bit lib just by typing apt-get command to fetched. And the stupid time started…

I went to http://packages.ubuntu.com/ to search those packages which contain lib file I needed. Then found the 32bit version to download.
Due to the suck architecture difference, we can’t install those package directly of course. Then how to move the lib file to /usr/lib32?

Use this command:
sudo dpkg -x somepackage.deb

“man” the dpkg command you will found

-x, –extract archive directory
Extract the files contained by package.

This command just extracted to deb file and didn’t do anything after all.
Then you know how to do next:
sudo cp lib*.so.* /usr/lib32
OK, we fixed one lib already. But my nightmare didn’t stop, because the god damn PPStream needs lots of extra libs to run. 😡

Finally, the god damn thing works and I can have a little TV time before went to bed…

Nov 9th, 2010 | Posted in Technique
Tags: ,
  1. Nov 9th, 2010 at 22:41 | #1

    never use ppstream… 😈

  2. Nov 9th, 2010 at 22:50 | #2

    @小明猪
    I never us PPStream on Windows neither … To install PPStream is just to support Chinese Linux software development. And PPStream for Linux works very nice on my 6m Telcom ADSL~

  3. Nov 9th, 2010 at 23:03 | #3

    @calcifer
    6m Telcom ADSL……… 😯 i’m using 1m/5person ADSL… 😥

  4. Eemil
    Dec 12th, 2010 at 21:30 | #4

    Hi, I put the 32-bit dependencies that are not automatically installable on 64-bit systems together with ppstream and a fixed .desktop launcher file in this package:
    http://dl.dropbox.com/u/971117/dev/ppstream_1.0.0-2%2Bxdg%7Eppa1_amd64.tar.gz
    to “install”, do
    cd /
    sudo tar xzvf /path/to/ppstream_1.0.0-2%2Bxdg%7Eppa1_amd64.tar.gz
    After this you should be able to find PPStream in your desktop menu.

  5. Dec 12th, 2010 at 21:33 | #5

    @Eemil
    oh, you should share it on the forum ~~ I can’t find such good gift when I was struggling… But everything is fine now, Thank~ 😉

  6. Dec 10th, 2014 at 02:10 | #6

    {

  7. Mar 3rd, 2015 at 20:31 | #7

    If some one wants to be updated with hottest technologies therefore he must be visit this web page and
    be up to date daily.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).