1832973 Members
2580 Online
110048 Solutions
New Discussion

Re: firefox problem

 
SOLVED
Go to solution
Asya
Regular Advisor

firefox problem

Hello,

I'm trying to install firefox 1.5.0 on 11.11.

I've also installed gtk per HP website:
http://www.hp.com/products1/unix/java/firefox/index.html

Both of them are in PA format.

Whenever i start firefox, it crashes without any problems.

I did sh -x firefox and see that it crashes on firefox-bin.

When i run firefox-bin separately i get the following:
# ./firefox-bin
/usr/lib/dld.sl: Can't open shared library: ../../dist/bin/libnspr4.sl
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)

I can't figure out what's causing this problem...

Has any of you seen this or successfully installed firefox on 11i?

Thanks!
16 REPLIES 16
Pete Randall
Outstanding Contributor

Re: firefox problem

Did you install all the dependencies?

* HP-UX 11i v. 1.0 with the latest recommended patches

* GTK libraries v. 2.6.8 for HP-UX 11i for workstations and servers, product number GTK

* PHSS_33033 is a required patch to run Firefox/Thunderbird.


Pete

Pete
Steve Steel
Honored Contributor

Re: firefox problem

Hi


You miss something like ldap

see
http://www.docs.hp.com/en/J4258-90032/ch01s07.html

for NDS


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steven E. Protter
Exalted Contributor

Re: firefox problem

Shalom,

I think its dependencies.

Problem is firefox should not have installed if they were not there.

Do check the dependencies and make sure the SHLIB_PATH is correct.

There is a command called chatr which you can run on the binary. It will tell you what libraries it needs. If any of those are missing, you have your answer as to why firefox is crashing.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Asya
Regular Advisor

Re: firefox problem

Thank you all for your responses.

1. I installed PHSS_33033 patch and it didn't fix the problem.

2. ldap? why would it look for ldap? mozilla works fine on this server...

3. how do i find correct SHLIB_PATH? I looked into chatr.. chatr_pa: chatr - change program's internal attributes. Is this what you meant..?

Thanks again all!
Pete Randall
Outstanding Contributor
Solution

Re: firefox problem

The sl it is looking for, libnspr4.sl, is actually part of the distribution - at least on my machine:

# find /opt -name libnspr4.sl
/opt/mozilla/libnspr4.sl
/opt/Netscape/libnspr4.sl
/opt/hpws/apache/lib/libnspr4.sl
/opt/apache/lib/libnspr4.sl
/opt/firefox/libnspr4.sl

Check and make sure you have /opt/firefox/libnspr4.sl.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: firefox problem

I have the same problem if I run firefox-bin:

# ./firefox-bin
/usr/lib/dld.sl: Can't find path for shared library: libnspr4.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

Try running firefox instead:

# ./firefox


Pete

Pete
Asya
Regular Advisor

Re: firefox problem

I have..here it is in the verbose mode.

When i run firefox by itself, nothing happens and i just get a prompt back.

# /opt/software/firefox-1.5.0.00/firefox
+ moz_libdir=/opt/gtk2.6/lib/firefox-1.5.0.1
+ MRE_HOME=/opt/gtk2.6/lib/mre/mre-1.5.0.1
+ XDG_DATA_DIRS=/opt/gtk2.6/share
+ found=0
+ progname=/opt/software/firefox-1.5.0.00/firefox
+ + dirname /opt/software/firefox-1.5.0.00/firefox
curdir=/opt/software/firefox-1.5.0.00
+ + basename /opt/software/firefox-1.5.0.00/firefox
progbase=firefox
+ run_moz=/opt/software/firefox-1.5.0.00/run-mozilla.sh
+ test -x /opt/software/firefox-1.5.0.00/run-mozilla.sh
+ dist_bin=/opt/software/firefox-1.5.0.00
+ found=1
+ [ 1 = 0 ]
+ script_args=
+ debugging=0
+ MOZILLA_BIN=firefox-bin
+ [ = beos ]
+ pass_arg_count=0
+ [ 0 -gt 0 ]
+ license_dotfile=/.firefox-license
+ license_text=/opt/software/firefox-1.5.0.00/LICENSE
+ license_script=/opt/software/firefox-1.5.0.00/license.sh
+ license_version=1.5.0.00
+ show_license=1
+ show_text_license=1
+ test -f /.firefox-license
+ grep 1.5.0.00 /.firefox-license
+ 1> /dev/null
+ versionflag=0
+ [ 0 = 0 ]
+ show_license=0
+ show_text_license=0
+ [ 0 = 1 ]
+ [ 0 = 1 ]
+ export MRE_HOME
+ export XDG_DATA_DIRS
+ moz_pis_startstop_scripts start
+ [ 0 = 1 ]
+ /opt/software/firefox-1.5.0.00/run-mozilla.sh /opt/software/firefox-1.5.0.00/firefox-bin
+ exitcode=1
+ moz_pis_startstop_scripts stop
+ exit 1

Asya
Regular Advisor

Re: firefox problem

and i do have the file:

# pwd
/opt/software/firefox-1.5.0.00
# ls libnspr4.sl
libnspr4.sl
Pete Randall
Outstanding Contributor

Re: firefox problem

I just ran /opt/firefox/firefox. It took several minutes to come up, but it did. Try again.


Pete

Pete
Asya
Regular Advisor

Re: firefox problem

nothing..i've tried before.

# ps -eadf |grep fire
root 26442 4796 0 14:28:56 pts/6 0:00 grep fire

shows nothing.

Do you get a prompt back when you run firefox?
Pete Randall
Outstanding Contributor

Re: firefox problem

Not unless I run it in the background.

Try it again and wait - then wait some more.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: firefox problem

root# /opt/firefox/firefox &
[2] 23054
root# ps -eadf |grep fire
root 23058 23054 0 14:43:31 ttyp5 0:00 /bin/sh /opt/firefox/run-mozilla
.sh /opt/firefox/firefox-bin
root 23064 23058 137 14:43:31 ttyp5 0:13 /opt/firefox/firefox-bin
root 23054 15136 0 14:43:31 ttyp5 0:00 /bin/sh /opt/firefox/firefox

Pete
Asya
Regular Advisor

Re: firefox problem

nope..nothing.....

how can i check if all firefox requirements got installed? Maybe i did something wrong with gdk....

Paranoia is a powerful thing:)
Asya
Regular Advisor

Re: firefox problem

Pete,

What is your SHLIB_PATH parameter?

Thanks
Asya
Regular Advisor

Re: firefox problem

Hi,

i got it to work as a regular user. For some reason it doesn't work as root, but as a regular user firefox started properly. Thank you all for your help!
Asya
Regular Advisor

Re: firefox problem

got it to work as a user.