The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Sunday, November 29, 2009

How to run Firefix 3.5 under CentOS 4.4

I finally received a Google Wave Invite (via Smirk) and decided to give it a try. I go to the link, sign in with my Google email address, and get the following:

[Sorry, your browser is not supported, but hey, do you feel lucky?]

I'm using Firefox 2.0.0.20. Yes, it's an older version, but hey, it works—why fix it?

So I download the latest Firefox (3.5) and try the website again:

[spc]lucy:~/bin/firefox>./firefox
./firefox-bin: error while loading shared libraries: 
libpangocairo-1.0.so.0: cannot open shared object file: 
No such file or directory
[spc]lucy:~/bin/firefox>

Ah yes, that's what happend the last time I tried running Firefox 3.

I'm using CentOS 4.4 as my desktop, and yes, I'm using an older distribution of a distribution geared towards servers as a desktop. As for the older distribution part, hey, it works, and I dislike upgrading if I don't have to (I used RedHat 5.2 (not to be confused for their latest 5.2 offering) for about ten years prior to my upgrade to CentOS 4.4). As for the server bit, well … I do a lot of server development, and we run CentOS at The Office™ so it makes my life easier.

And I'm used to RedHat/CentOS.

So anyway, back to the current issue—Firefox 3.5.

The default repositories for CentOS 4.4 don't carry libpangocairo and after some searching, I found that installing frysk (ah, so that's what frysk does) I get libpangocairo as part of the package, under /usr/lib/frysk. So, all I need to do is tell Firefox 3.5 where to load that library and I'm good to go.

[spc]lucy:~/bin/firefox>LD_LIBRARY_PATH=/usr/lib/frysk/ ./firefox
./firefox-bin: error while loading shared libraries: 
libdbus-glib-1.so.2: cannot open shared object file: 
No such file or directory
[spc]lucy:~/bin/firefox>

Okay … hmm … I do have a libdbus-glib-1.so.0.0.0—what happens if I symbolically link libdbus-glib-1.so.2 to it?

[spc]lucy:~/bin/firefox>LD_LIBRARY_PATH=/usr/lib/frysk/ ./firefox
./firefox-bin: error while loading shared libraries: 
libdbus-1.so.3: cannot open shared object file: 
No such file or directory
[spc]lucy:~/bin/firefox>

Okay, let's symbolically link libdbus-1.so.3 to libdbus-1.so.0.0.0 and see what happens—woot! Success! I'm running Firefox 3.5!

And now I can try out that Google Wave Thang everybody is so hyped about.

Obligatory Picture

[The future's so bright, I gotta wear shades]

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: https://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

https://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2024 by Sean Conner. All Rights Reserved.