cancel
Showing results for 
Search instead for 
Did you mean: 

Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Highlighted
New User

Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

I installed Firefox 18.0.1 on a Sparc 10 Ultra running Solaris 10, bash shell. There were no installation errors, but when I try to run firefox, I get:

XPCOMGlueLoad error for file /opt/sfw/fiewfox/libxpcom.so: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory Couldn't load XPCOM

Any help would be appreciated.

21 REPLIES
Site Moderator

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Make sure that you meet the system requirements for the current Firefox version.

New User

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Thanks for the reply. I checked there but only saw Linux mentioned, not Solaris. Does that mean that Firefox 18 won't run in Solaris? I'll be honest - I have no clue as to how to check whether the listed files are on my machine or not. Is there an earlier version of Firefox that will run?

I already do have some version of Firefox on the machine - it comes up as "Mozilla 1.7" and from the looks of the interface, it is very old.

Sorry to sound like a noob, but doing Unix s/w installs is in fact new to me.

Site Moderator

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Site Moderator

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Have a look at this /questions/931813

Mozilla doesn't build Firefox for Solaris, but does host builds contributed by a third party, namely the Oracle Solaris Desktop Beijing Team.

See: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/contrib/

Some or all of those are 32bit builds. I just mention that because I am rather a newbie on Linux but I know if I try to download mozilla versions I get 32 bit versions by default if I use the standard downloads and have to use ftp downloads instead to get the 64bit versions I want.

New User

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Thanks, guys. Unfortunately, this is a case of one step forward and two steps back. Now I'm now out of space. Actually, I have two drives - a 9 GB and a 40 GB. The 9 is full. The 40 is 80% empty. I'm trying to install in /opt/sfw, on the small disk. I want to move that directory to the big disk with an ln, but I guess I'm doing it wrong. This must be easy to do but I don't want to monkey with it for fear of screwing up my filesystem. Arrrgh. How do I do this?

# df -kh
> Filesystem             size   used  avail capacity  Mounted on
> /dev/dsk/c0t0d0s0      7.9G   7.7G    42M   100%    /
> /devices                 0K     0K     0K     0%    /devices
> ctfs                     0K     0K     0K     0%    /system/contract
> proc                     0K     0K     0K     0%    /proc
> mnttab                   0K     0K     0K     0%    /etc/mnttab
> swap                   1.9G   1.0M   1.9G     1%    /etc/svc/volatile
> objfs                    0K     0K     0K     0%    /system/object
> fd                       0K     0K     0K     0%    /dev/fd
> swap                   1.9G   208K   1.9G     1%    /tmp
> swap                   1.9G    64K   1.9G     1%    /var/run
> /dev/dsk/c0t1d0s0       35G   7.4G    28G    22%    /data
> # pwd
> /data
> # ln -s /opt /dev/dsk/c0t1d0s0/data/opt
> ln: cannot create /dev/dsk/c0t1d0s0/data/opt: Not a directory

(Sorry if the formatting's off. It lines up when I type it in, but somehow the CR's all vanish when I send it).

Site Moderator

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Sorry I am a newbie with regard to Linux. The installs I have done so far have been easy ones and starting off with multiple, clean disks or partitions. (And I usually have the options to run CD or USB live systems if I make mistakes)

IIRC the ln command may not be used outside a particular partition, so that would explain the error message not a directory

Hazarding a guess I would say you may need to edit the fstab or in your case apparently vfstab, but there is probably an easier method. Sorry other work to do at the moment and I would need to research this to try to find an answer.

New User

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

OK, well thanks anyway. The machine was like this when I bought it, and I'm reluctant to start mucking around without knowing what I'm doing for fear of trashing what is currently a nice stable system.

Basically, if this was a Windows machine and opt/ was on drive C and all my free space was on drive D, I'd simply pick up the "opt" icon in a file browser window for C and drop it in a window for D. Seems simple enough - why is all this stuff so hard in Unix?

Case in point - here's my vfstab. I have no idea what needs editing. Perhaps some other kind sould could help me out here?

# more vfstab
> #device         device          mount           FS      fsck    mount   mount
> #to mount       to fsck         point           type    pass    at boot options
> #
> fd      -       /dev/fd fd      -       no      -
> /proc   -       /proc   proc    -       no      -
> /dev/dsk/c0t0d0s1       -       -       swap    -       no      -
> /dev/dsk/c0t1d0s1       -       -       swap    -       no      -
> /dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no   -/dev/dsk/c0t1d0s0       /dev/rdsk/c0t1d0s0      /data   ufs     2       yes  -/devices        -       /devices        devfs   -       no      -
> ctfs    -       /system/contract        ctfs    -       no      -
> objfs   -       /system/object  objfs   -       no      -
> swap    -       /tmp    tmpfs   -       yes     -
New User

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

UPDATE:

IWell I ended up moving some other directories from the small disk to the big disk and freed up enough room to extract Firefox 9.0 to /opt/sfw/. This version did start right up, but the colors are all screwed up. The window looks like some strange psychedelic acid trip from the hippie days (not that I'd know anything about that).

How do I fix that?

Site Moderator

Re: Solaris: ld.so.1: firefox: fatal: libc.so.1: open failed: No such file or directory, Couldn't load XPCOM

Can you attach a screenshot?

Use a compressed image type like PNG or JPG to save the screenshot.

Make sure that you haven't enabled a High Contrast theme in the Accessibility settings and that you allow pages to choose their colors in Firefox.

  • Edit > Preferences > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.