Operating System - HP-UX
1822080 Members
3357 Online
109640 Solutions
New Discussion юеВ

Re: ADOBE 7 Reader Problems

 
SOLVED
Go to solution
Donald Thaler
Super Advisor

ADOBE 7 Reader Problems

Installed adober reader 7 on HP-UX 11.23 Itanium and i and getting this error:

/usr/lib/dld.sl: Can't find path for shared library: libgdk_pixbuf_xlib-2.0.sl

the gtk libaries have been installed


31 REPLIES 31
V. Nyga
Honored Contributor

Re: ADOBE 7 Reader Problems

Hi,

you've to find the path where these libraries are.
Then you have to create/expand the environment variable 'SHLIB_PATH'.
Either you'll set these pathes during login or at the beginning of a script that starts your executable.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
TTr
Honored Contributor
Solution

Re: ADOBE 7 Reader Problems

You need to install the GDK (not gtk) and all its dependencies. Take a look at

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=&threadId=1040872
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

installed gdk, still getting same error...gdk installed to /usr/local/lib/hpux32...the file libgdk_pixbuf_xlib-2.0.sl still can't be found ???
Pete Randall
Outstanding Contributor

Re: ADOBE 7 Reader Problems

What does "echo $SHLIB_PATH" return?


Pete

Pete
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

$SHLIB_PATH=
/u01/app/oracle/product/10.2.0/lib:/usr/dt/lib:/usr/lib:/usr/local/bin:/usr/local/lib/hpux32



Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

Do you have a PA shlib libgdk_pixbuf_xlib-2.0.sl on your system?

>installed gdk, gdk installed to /usr/local/lib/hpux32

This is the wrong directory. This is the directory for IPF native 32 bit shlibs, not PA shlibs.

>/u01/app/oracle/product/10.2.0/lib:/usr/dt/lib:/usr/lib:/usr/local/bin:/usr/local/lib/hpux32

Do you have libgdk_pixbuf_xlib-2.0.sl in one of these and what does file(1) show?

(Once you get this working, maybe I should also fix my system. This was where I was blocked too.)
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

Dennis....
Do you have a PA shlib libgdk_pixbuf_xlib-2.0.sl on your system? no

>installed gdk, gdk installed to /usr/local/lib/hpux32

This is the wrong directory. This is the directory for IPF native 32 bit shlibs, not PA shlibs. this is where it was installed when i ran swinstall ??
(pardon my ingnorance but does IPF refer to itanium and PA refer to PARISC ?) My system is an hp rx6600(itanium)


Do you have libgdk_pixbuf_xlib-2.0.sl in one of these and what does file(1) show? no


TTr
Honored Contributor

Re: ADOBE 7 Reader Problems

Donald, I installed the 11.11hppa version of adobe and installed the gdk package. The libraries are under /usr/local/lib. The file in question is called libgdk_pixbuf.sl (note it does not have the -2.0 in the name). So the /usr/local/lib needs to be added to the SHLIB_PATH file/variable and a soft link /usr/local/lib/libgdk_pixbuf_xlib-2.0.sl needs to be created pointing to the libgdk_pixbuf_xlib-2.0.sl file. I got adobe to go past the libgdk error but of course there are other dependencies after that.

I also checked the gdk 11.23ia depot. Yes it does not have the sl file anywhre. Instead it has a libgdk_pixbuf_xlib file without any extension. This is a "so" or ".so" type of file which is typical for ia platforms. It also has a libtool script ".la" file. I am not sure what has happened.
Either a library option was missed during the compiling of the gdk package,
or the adobe binaries were not build with the correct library options.
Check that you have the correct adobe binaries just in case.
I don't have access to an ia64 server today. I might try it tomorrow.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

how does the gdk package get compiled ?
i just ran swinstall to install the gdk depot.
TTr
Honored Contributor

Re: ADOBE 7 Reader Problems

You did the right thing using swinstall. The compiling was done when the package was created at the porting site. Verify that you have the correct adobe binary for 11.23ia. Although that may have been compiled incorrectly as well. As I said I will give it a try tomorrow on an 11.23ia server.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

how do i Verify that I have the correct adobe binary for 11.23 ??
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>does IPF refer to Integrity and PA refer to PA-RISC?

Yes, it means Integrity.

>how do I verify that I have the correct adobe binary for 11.23?

If it doesn't work, you have the latest version. :-)

>TTr: Verify that you have the correct adobe binary for 11.23ia.

There is none. There is just a once size fits all PA binary.

Looking at the previous thread, there is a link to the Adobe site:
http://kb.adobe.com/selfservice/viewContent.do?externalId=333102&sliceId=1

This says use HP's version of GTK. This works fine except I already have an IPF version of this to run firefox/thunderbird.

Taking the PA version and spending several hours, I have no end of problems trying to run PA and IPF code out of the same distribution tree, /opt/gtk2.6/.

About the only thing left is binary patching if I want to run both at the same time.

Or building everything from source.

TTr
Honored Contributor

Re: ADOBE 7 Reader Problems

I installed the generic acrobat binary on 11.23ia and of course the same error came up. It is a parisc binary as Dennis mentioned, it ran under the ARIES32 environment.
So I copied the libgdk_pixbuf_xlib.sl from the parisc GDK package to /opt/Adobe/Acrobat7.0Reader/hppahpux/lib and renamed it to libgdk_pixbuf_xlib-2.0.sl
Now it goes pass the gdk error and as expected it complains about the next prerequisite which is the XPM package. I don't want to install any more packages on my server at this time but I suspect similar errors may come up and probably puting these parisc libraries in the acrobat lib subdirectory is a good idea so that you don't flood your 11.23ia server with parisc binaries and libraries.
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>TTr: probably putting these pa-risc libraries in the acrobat lib subdirectory is a good idea so that you don't flood your 11.23ia server with pa-risc binaries and libraries.

The problem I found is that there are configuration files that point to other sllibs.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

sounds to me like i should go back to adobe and tell them we need a different install for an itanium system ... thanks to everyone for there assistance
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>tell them we need a different install for an Integrity system

I'm not sure they will be thrilled to hear that one size doesn't fit all.

But you could mention they need to mention where to download that GTK, at least for PA.
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

Or better yet, have them download HP's sources and build in the /opt/Adobe/ directory so it won't conflict and a user doesn't have to download multiple pieces.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

i went to adobe website and in their knowledge base there are a couple of threads about this and it seems the solution is to download the PA RISC binaries for acrobat reader.. will try and see what happens
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>it seems the solution is to download the PA RISC binaries for acrobat reader.

Didn't I say that? It works fine, unless you have the IPF version of firefox/thunderbird.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

so after downloading the pa risc binaries i still get the error on libgdk_pixbuf_xlib-2.0.sl not being found... if i understand your last response, i'm going to continue to have this problem unless i install the parisc version of firefox ??.
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>so after downloading the PA-RISC binaries

Which and where did you get these? Did you get GTK 2.6.8 from:
http://www.hp.com/go/firefox

>i install the PA-RISC version of firefox?

Or if you don't have firefox at all, it will work.
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

I got the gtk2.6.8 from the hp site, but when i went to install it got the message that it was already installed (i'm guessing this was the itanium install), so i'm going to have to uninstall it and reinstall the pa risc version.
What has firefox got to do with adobe reader or do they share some common libraries that wouldn't be there if firefox wasn't installed.

Never having unistalled anything on unix what's the best way to go about removing the current installation of gtk ?



>so after downloading the PA-RISC binaries

Which and where did you get these? Did you get GTK 2.6.8 from:
http://www.hp.com/go/firefox

>i install the PA-RISC version of firefox?

Or if you don't have firefox at all, it will work.
Dennis Handly
Acclaimed Contributor

Re: ADOBE 7 Reader Problems

>I got the gtk2.6.8 from the hp site, but when i went to install it got the message that it was already installed, so i'm going to have to uninstall it and reinstall the PA-RISC version.

Do you know why it was already installed?
To me, firefox is more important than a newer version of acroread.

>What has firefox got to do with adobe reader or do they share some common libraries that wouldn't be there if firefox wasn't installed.

They share GTK 2.6.8.

>Never having uninstalled anything on unix what's the best way to go about removing the current installation of gtk?

You use "swremove GTK".
Donald Thaler
Super Advisor

Re: ADOBE 7 Reader Problems

uninstalled gtk 2.6.8 and reinstalled pa risc version... unistalled adobe and reinstalled adobe... when i run acroread -help get error message that file libdgk_pixbuf_xlib-2.0.sl not found...

should the libgdk install also have been the pa risc version ?

so i don't need to install firefox to get adobe to work ?