LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   firefox: error while loading shared libraries: libpangocairo-1.0.so.0 (https://www.linuxquestions.org/questions/linux-software-2/firefox-error-while-loading-shared-libraries-libpangocairo-1-0-so-0-a-873730/)

casualzone 04-08-2011 03:50 AM

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?

corp769 04-08-2011 03:59 AM

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

casualzone 04-08-2011 05:48 AM

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??

knudfl 04-08-2011 08:31 AM

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.)

..

casualzone 04-09-2011 01:50 AM

thank you.. I will try it up :)

casualzone 04-11-2011 12:47 AM

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

knudfl 04-11-2011 01:48 AM

'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'

..

casualzone 04-12-2011 08:24 AM

it is rpm file, which needs root access..
i will google to download 64bit firefox

knudfl 04-12-2011 08:58 AM

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.

..

casualzone 04-13-2011 03:25 AM

#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.

knudfl 04-13-2011 04:08 AM

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

casualzone 04-13-2011 11:31 PM

@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

casualzone 04-13-2011 11:38 PM

setenv LD_LIBRARY_PATH=/home/my_username/usr/lib64/* && firefox/firefox
setenv: Syntax Error.

echo $SHELL
/bin/tcsh

casualzone 04-13-2011 11:42 PM

setenv LD_LIBRARY_PATH=/home/username/usr/lib64/* && /home/username/usr/lib64/firefox-3.6/firefox
setenv: Syntax Error

knudfl 04-14-2011 02:17 AM

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


All times are GMT -5. The time now is 10:57 PM.