LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2007, 09:01 AM   #1
Philosopher
Member
 
Registered: May 2005
Posts: 101

Rep: Reputation: 15
Thunderbird compiled but doesn't start


Hi all,

I just built the latest Thunderbird from source, but when I execute 'thunderbird' it get this error-message
Code:
error while loading shared libraries: libmozjs.so: 
cannot open shared object file: No such file or directory
I did a check with ldd and got the following:
Code:
...
libmozjs.so => not found
libxpcom.so => not found
libxpcom_core.so => not found
...
But those libraries are installed in /usr/lib/firefox-2.0.0.6/ and Firefox/ Epiphany also run with no problem. So how do I get thunderbird linked against them?

Thanks in advance!
 
Old 08-19-2007, 03:22 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"those libraries are installed in /usr/lib/firefox-2.0.0.6/ and Firefox/ Epiphany also run with no problem. So how do I get thunderbird linked against them?"

The problem may be that the libraries exist but are not on the LD_LIBRARY_PATH or the standard link library list. Try running the ldconfig command and see if that puts them on the standard link library list.

See:
man ldconfig

----------------
Steve Stites
 
Old 08-19-2007, 05:00 PM   #3
Philosopher
Member
 
Registered: May 2005
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks for your answer. After defining the LD_LIBRARY_PATH
Code:
# export LD_LIBRARY_PATH=/usr/lib/firefox-2.0.0.6/
ldd found the libraries, but invoking thunderbird gave me now
Code:
error while loading shared libraries: libmozjs.so: 
cannot open shared object file: No such file or directory
So I created symbolic links in the thunderbird directory to the mentioned libraries and also to run-mozilla.sh, because thunderbird was also complaining about missing mozilla-runtime. Now I finally don't get any error messages anymore but nevertheless still no thunderbird. Any ideas?
 
Old 09-08-2007, 03:30 AM   #4
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
Can you use a package of thunderbird for your distro? I am using Archlinux and ldd thunderbird gives:
Code:
[jim@speedy ~]$ ldd /opt/mozilla/lib/thunderbird/thunderbird-bin 
	libmozjs.so => not found
	libxpcom.so => not found
	libxpcom_core.so => not found
	libplds4.so => /usr/lib/libplds4.so (0x00002ab8ae394000)
	libplc4.so => /usr/lib/libplc4.so (0x00002ab8ae582000)
	libnspr4.so => /usr/lib/libnspr4.so (0x00002ab8ae687000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00002ab8ae7c0000)
	libdl.so.2 => /lib/libdl.so.2 (0x00002ab8ae9dc000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002ab8aebe0000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002ab8af166000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002ab8af3fc000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002ab8af51c000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002ab8af734000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00002ab8af858000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002ab8afa62000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00002ab8afca5000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002ab8afe22000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002ab8b0064000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002ab8b0267000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ab8b0515000)
	libm.so.6 => /lib/libm.so.6 (0x00002ab8b071d000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002ab8b099c000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00002ab8b0ca5000)
	libc.so.6 => /lib/libc.so.6 (0x00002ab8b0eb3000)
	/lib/ld-linux-x86-64.so.2 (0x00002ab8ae366000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002ab8b11f3000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002ab8b12f9000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ab8b142d000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002ab8b153e000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002ab8b1748000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00002ab8b184a000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002ab8b1953000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002ab8b1a5b000)
	libz.so.1 => /lib/libz.so.1 (0x00002ab8b1c65000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00002ab8b1d7a000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002ab8b1fac000)
	libpcre.so.0 => /lib/libpcre.so.0 (0x00002ab8b2138000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ab8b225e000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ab8b2360000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002ab8b2466000)
The three with (no found) are actually in /opt/mozilla/lib/thunderbird. I start thunderbird with a shell script in
/opt/mozilla/bin/thunderbird.

Hope this helps a bit.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 won't start (I think I compiled it the wrong way.) Travis86 Linux - Desktop 4 12-06-2006 03:53 PM
Thunderbird will not start neilcpp Linux - Software 2 08-29-2005 11:02 AM
Is it possible to start Slackware installation using own compiled kernel? kornerr Slackware 8 01-22-2005 09:30 AM
Thunderbird - will not start Alan Lakin Linux - Software 1 09-04-2004 04:22 AM
GMplayer - will not start, compiled correctly AFAIK XavierP Linux - Software 6 10-26-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration