title: How do I install XULRunner 1.8.x/libxul0d on Ubuntu Lucid Lynx (10.x)? Required for Eclipse SWT Browser
body: <p>The internal browser in Eclipse SWT 3.3.0 on Ubuntu 10.04.1 64 bit does not run. I believe this is because libxpcom.so cannot be found and I believe this is because the libxul0d package is not installed. However, it appears to be deleted in Ubuntu 10 and I don't know how to find out why, what it's been replaced with and whether I can safely use libxul0d from karmic anyway.</p>
  
  <p>This is mostly a system administration question so I'm crossing posting from <a href="https://superuser.com/questions/222586/how-do-i-install-xulrunner-1-8-x-libxul0d-on-ubuntu-lucid-lynx-10-x-required-f">superuser.com</a> but a programmer may know the answer and I'm pretty sure a lot of people will want to know the answer once it's found.</p>
  
  <p>Error message:</p>
  
  <pre><code>org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3346 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
  </code></pre>
  
  <p>This is an Eclipse RCP application running Eclipse SWT 3.3.0. If I find that library and run <code>ldd libswt-mozilla-gtk-3346.so</code> I get:</p>
  
  <pre><code>linux-vdso.so.1 =&gt;  (0x00007fff269ff000)
  libxpcom.so =&gt; not found
  libnspr4.so =&gt; /usr/lib/libnspr4.so (0x00007fbd6470b000)
  libplds4.so =&gt; /usr/lib/libplds4.so (0x00007fbd64506000)
  libplc4.so =&gt; /usr/lib/libplc4.so (0x00007fbd64301000)
  libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0x00007fbd63fed000)
  libm.so.6 =&gt; /lib/libm.so.6 (0x00007fbd63d69000)
  libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00007fbd63b52000)
  libc.so.6 =&gt; /lib/libc.so.6 (0x00007fbd637cf000)
  libpthread.so.0 =&gt; /lib/libpthread.so.0 (0x00007fbd635b1000)
  libdl.so.2 =&gt; /lib/libdl.so.2 (0x00007fbd633ad000)
  /lib64/ld-linux-x86-64.so.2 (0x00007fbd64a73000)
  </code></pre>
  
  <p>I can see that <a href="http://packages.ubuntu.com/karmic/amd64/libxul0d/filelist" rel="nofollow noreferrer">libxul0d in karmic</a> has the shared library but that library is not in Lucid.</p>
  
  <p>It seems that, according to the Eclipse SWT FAQ, that I need 1.8.x of XULRunner so the XULRunner 1.9.x in Lucid won't help.</p>
  
  <p>So, how do I find out what happened to that package and what do I choose to install? Note that upgrade Eclipse SWT isn't an option.</p>