Operating System - HP-UX
1825795 Members
2789 Online
109687 Solutions
New Discussion

Re: Installing Netscape in non-default location

 
Purusa
Frequent Advisor

Installing Netscape in non-default location

Hi all,

I got the Netscape 7.0 software from net in .depot format( 2 depots).
When I installed these depots in default location i.e. root dir Netscape works fine. However, in case I install it in non-default location lets say /opt/abc/pankaj then I cant invoke Netscape and it fails giving error like not able to find this file.
During investigation I found out that the software assumes it is installed in default location only. Hence I created soft links from default location to non-default for libraries and it worked fine. But I dont know what other softlinks might be required? Is there any workaround for this at the time of installation only so that software takes care of itself.

Thanx in advance,
Pankaj
A deep chasm can't be crossed in two steps
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: Installing Netscape in non-default location

Hi Pankaj,

You can change the PATH variable in the /etc/profile, add the /opt/abc/pankaj/netscape path.

Hope this helps,
Robert-Jan
Purusa
Frequent Advisor

Re: Installing Netscape in non-default location

Hi Robert-Jan,

I did that but it did not help. I manually exported the PATH variable including the path which I wanted but netscape will still give the same errors i.e.
/usr/lib/dld.sl: Can't find path for shared library: libintl.sl
/usr/lib/dld.sl: No such file or directory
./run-mozilla.sh[38]: 10153 Abort(coredump)

Any clues...
Pankaj
A deep chasm can't be crossed in two steps
Rick Beldin
HPE Pro

Re: Installing Netscape in non-default location

You'll probably have to examine the files netscape, mozilla, and run-mozilla.sh which are likely to be scripts. Do a file to verify that they are scripts. You'll have to edit them to change the location of where you have Netscape installed... The run-mozilla.sh script sets up SHLIB_PATH to the shared libraries used by Netscape.

After saying this - are you aware that Netscape is not the supported browser on HP-UX? Mozilla 1.4 is the supported browser and can be obtained here:

http://www.hp.com/go/mozilla

You will probably face similar problems with Mozilla since Netscape 7 is based on Mozilla 1.00.
Necessary questions: Why? What? How? When?
Alex Glennie
Honored Contributor

Re: Installing Netscape in non-default location

I'm wondering if this is a known issue :

Netscape 7.0 does not included dependencies for the *-PRG filesets
contained within B6848BA (GTK+). Without the B6848BA.*.*-PRG filesets,
Netscape will abort with dld errors on missing shared libraries
beginning with:

$ /opt/Netscape/netscape
/usr/lib/dld.sl: Can't find path for shared library: libintl.sl
/usr/lib/dld.sl: No such file or directory
/opt/Netscape/run-mozilla.sh[38]: 13197 Abort(coredump)

While the libraries themselves are there, the symbolic links to them are
only installed with the *-PRG filesets:

B6848BA.Libiconv.LICONV-PRG
B6848BA.GTK+.GTK+-PRG
B6848BA.GLib.GLIB-PRG
B6848BA.Gettext.GETTEXT-PRG

The following links can be created manually as a workaround as an
alternative to loading the *-PRG filesets:

libcharset.sl -> libcharset.sl.1
libgdk.sl -> libgdk-1.2.sl.0
libglib.sl -> libglib-1.2.sl.0
libgmodule.sl -> libgmodule-1.2.sl.0
libgthread.sl -> libgthread-1.2.sl.0
libgtk.sl -> libgtk-1.2.sl.0
libiconv.sl -> libiconv.sl.2
libintl.sl -> libintl.sl.1



Also ensure the SHLIB_PATH reflects : /opt/gnome/lib
Rick Beldin
HPE Pro

Re: Installing Netscape in non-default location

Alex is probably correct. I didn't look closely enough at the failure.

I've also been able to run mozilla and netscape from non-default locations after thinking about it and forgot about the GTK dependencies that Netscape and Mozilla have.
Necessary questions: Why? What? How? When?
Purusa
Frequent Advisor

Re: Installing Netscape in non-default location

Hi all,

Thanx for the replies. Here is what I did:
1) I have 2 depots. So first I installed
B6848BA-r2-PA_11.X
and then
b6835aa_b.11.00.06.01_hp-ux_b.11.00_32+64.depot both in the default dir i.e root.
Result: /opt/Netscape/netscape was invoked properly.

2)I installed B6848BA-r2-PA_11.X
and then
b6835aa_b.11.00.06.01_hp-ux_b.11.00_32+64.depot both in the non-default dir i.e /opt/abc/Pankaj
Result: /opt/abc/Pankaj/opt/Netscape/netscape when invoked gave the following errors:
/usr/lib/dld.sl: Can't find path for shared library: libintl.sl
/usr/lib/dld.sl: No such file or directory
./run-mozilla.sh[38]: 12224 Abort(coredump)

If I create a link /opt/gnome to /opt/abc/Pankaj/opt/gnome then it works fine. Also I noticed one more thing. When I install first patch, it adds an entry to the PATH variable /opt/gnome/bin. Can this be cause of failure? I tried removing this and adding /opt/abc/Pankaj/opt/gnome/bin but it did not help much. May be I did something wrong.

I hope all this helps to crack this issue...

Regards,
Pankaj
A deep chasm can't be crossed in two steps
Steven E. Protter
Exalted Contributor

Re: Installing Netscape in non-default location

http://archive.mozilla.org/pub/mozilla/releases/m18/mozilla-hppa2.0w-hp-hpux11.00-M18.tar.gz

You may need a newer java

Available at http://www.hp.com/go/java

Newer versions of java will leave your current ones in tact.

Don't forget to patch the os for java.

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
Purusa
Frequent Advisor

Re: Installing Netscape in non-default location

Hi Steven,

I had one doubt about newer java. Had that been the case, Netscape would not have worked in default location as well.
Any comments...

Regds,
Pankaj
A deep chasm can't be crossed in two steps