LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2011, 03:50 AM   #1
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Rep: Reputation: 15
firefox: error while loading shared libraries: libpangocairo-1.0.so.0


I tried to install firefox-4 in my local home because the default browser is mozilla2.0 which is pretty old. I do not have admin/root access

Got error message as below:
error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file

Can I install firefox4 without problem and without root access?
 
Old 04-08-2011, 03:59 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
How can you not have root access to your own machine? If anything you could run it in single user mode to recovery your password. And what distro are you using?

As far as your problem, yes, you should be able to, but if your system is asking for dependencies, you most likely need to install them as root. Thus, why I asked what distro you are using.

Josh
 
Old 04-08-2011, 05:48 AM   #3
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
distro redhat EL 2.6.9-89.ELsmp

I dont have root access because i just an ordinary user.

I try to have firefox works. The one i have is pretty old.
is there a way to install libpangocairo-1.0.so.0 into my local and i export the PATH to that folder. Could I??
 
Old 04-08-2011, 08:31 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I try to have firefox works. The one i have is pretty old.
Old : So is your Fedora 3 based OS = RHEL 4.x.

All the dependencies are available in the evolution28* packages.
To make things easier, I once packed up all required evolution28 files +
libdbus-glib files into one package = x48-evolution28-libs-1-2.i386.rpm
https://docs.google.com/uc?id=0B7S25...CJ6BvckN&hl=en

http://www.linuxquestions.org/questi...ux-es4-737680/

http://www.linuxquestions.org/questi...lation-752608/

Firefox 3.0.19 should be the most stable for EL 4. Example :
http://olex.openlogic.com/packages/f...ge_detail_tabs

3.6.16: http://ftp.jaist.ac.jp/pub/mozilla.o...3.6.16.tar.bz2

Firefox can be started with :
export LD_LIBRARY_PATH=/usr/evolution28/lib && firefox
(Or add export LD_LIBRARY_PATH=/usr/evolution28/lib
to the firefox start script, line 52.)

..

Last edited by knudfl; 01-10-2012 at 09:42 AM.
 
Old 04-09-2011, 01:50 AM   #5
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
thank you.. I will try it up
 
Old 04-11-2011, 12:47 AM   #6
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
i have download the x48-evolution28-libs-1-2.i386.rpm from the given link
BUT i cannot rpm -ivh it bcos i do not have permission to access to /usr/ though

i have notice there is libpangocairo-1.0.so.0 in the /usr/evolution28/lib64/

i execute this:
export LD_LIBRARY_PATH=/usr/evolution28/lib64 && firefox
export: Command not found

i use tcsh shell

Last edited by casualzone; 04-11-2011 at 12:48 AM.
 
Old 04-11-2011, 01:48 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'export' is a bash "function". For tcsh probably : setenv
https://www.ccs.uky.edu/docs/cluster/env.html

Another thing : If you have an only 64bits OS, none of the libraries
or any standard firefox I pointed to, can be used.


Installing firefox (( ? missing libraries?)), no root access is required:
It can all have location in /home/<user>/<folder>/
You can as well setenv to /home/name/<...>/ as to /usr/evolution28/lib64.

The 64bits firefox for EL4
http://mirror.centos.org/centos/4.9/...tos.x86_64.rpm
Pack it out and : 'setenv LD_LIBRARY_PATH /usr/evolution28/lib64 && ./firefox'

..

Last edited by knudfl; 04-14-2011 at 01:58 AM.
 
Old 04-12-2011, 08:24 AM   #8
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
it is rpm file, which needs root access..
i will google to download 64bit firefox
 
Old 04-12-2011, 08:58 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
It is rpm file, which needs root access..
No "root" is required to unpack to /home/<name>.

This will do : 'rpm2cpio <package.rpm> | cpio -idmv'

Or use 'sh unPack_rpm.sh <package.rpm>'
http://www.linuxquestions.org/questi...4&d=1296126229

Then you can copy the libraries to e.g. /home/<name>/lib/ and point to that path.

..
 
1 members found this post helpful.
Old 04-13-2011, 03:25 AM   #10
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
#usr/lib64/firefox-3.6/firefox (type this in the terminal since it install into /home/myname/.usr

/usr/lib64/libssl3.so: version `NSS_3.12.6' not found (required by usr/lib64/firefox-3.6/libxul.so)
/usr/lib64/libnss3.so: version `NSS_3.12.3' not found (required by usr/lib64/firefox-3.6/libxul.so)

it appears another problem.
 
Old 04-13-2011, 04:08 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
nss-3.12.<?>.el4_8.x86_64 : Both versions cannot be installed,
as they both provide : /usr/lib64/libnss3.so , etc. lib<name>3.so.


nss-3.12.6-2.el4_8.x86_64.rpm is here
http://mirror.centos.org/centos/4.9/...4_8.x86_64.rpm
 
1 members found this post helpful.
Old 04-13-2011, 11:31 PM   #12
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
@home/username/

rpm2cpio nss-3.12.6-2.el4_8.x86_64.rpm | cpio -idmv
./etc/pki/nssdb
./etc/pki/nssdb/cert8.db
./etc/pki/nssdb/key3.db
./etc/pki/nssdb/secmod.db
./usr/lib64/libfreebl3.so
./usr/lib64/libnss3.so
./usr/lib64/libnssckbi.so
./usr/lib64/libnssutil3.so
./usr/lib64/libsmime3.so
./usr/lib64/libsoftokn3.so
./usr/lib64/libssl3.so
./usr/lib64/nss/unsupported-tools
./usr/lib64/nss/unsupported-tools/shlibsign
6109 blocks
 
Old 04-13-2011, 11:38 PM   #13
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
setenv LD_LIBRARY_PATH=/home/my_username/usr/lib64/* && firefox/firefox
setenv: Syntax Error.

echo $SHELL
/bin/tcsh
 
Old 04-13-2011, 11:42 PM   #14
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
setenv LD_LIBRARY_PATH=/home/username/usr/lib64/* && /home/username/usr/lib64/firefox-3.6/firefox
setenv: Syntax Error
 
Old 04-14-2011, 02:17 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
OK, it should be csh syntax :

setenv LD_LIBRARY_PATH /home/username/usr/lib64

( No `=` like for bash )

You can use Google to read about it : Keyword = setenv ld_library_path linux
 
1 members found this post helpful.
  


Reply

Tags
x48-evolution28



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
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-22-2013 11:06 PM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Server 1 07-29-2010 12:52 PM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
Error while loading shared libraries (libpangocairo) jrdioko Linux - Software 1 01-19-2006 09:59 AM
xmule-bin: error while loading shared libraries: libpangocairo-1.0.so.0: cannot... exit3219 Debian 2 11-09-2005 08:33 AM

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

All times are GMT -5. The time now is 11:16 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