- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Installing ghostscript 8.62 with all its depen...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 10:05 PM
01-26-2009 10:05 PM
Re: Installing ghostscript 8.62 with all its dependencies.
ld: (Warning) Unsatisfied symbol "_Unwind_SetIP"
The ones with _Unwind are all in libunwind, ignore these.
ld: Unsatisfied symbol "libiconv_open" in file ./obj/gdevopvp.o
ld: Unsatisfied symbol "libiconv_close" in file ./obj/gdevopvp.o
ld: Unsatisfied symbol "libiconv" in file ./obj/gdevopvp.o
These are your errors. You need to make sure your buildtime dependency on libiconv exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 10:35 PM
01-26-2009 10:35 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks again,
Yes, i have libiconv installed on my machine.
# swlist libiconv
# Initializing...
# Contacting target "qa2"...
#
# Target: qa2:/
#
# libiconv 1.12 libiconv
libiconv.libiconv-RUN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 02:33 AM
01-27-2009 02:33 AM
Re: Installing ghostscript 8.62 with all its dependencies.
Could anybody help me out on this.
I have tried many things i could do but no result.
I appreciate your kind support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 03:29 AM
01-27-2009 03:29 AM
Re: Installing ghostscript 8.62 with all its dependencies.
Do you have -liconv on your link line?
Also add -v so you can see what's happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 03:40 AM
01-27-2009 03:40 AM
Re: Installing ghostscript 8.62 with all its dependencies.
Hi
i do not know how to find whether i have this in my link line.
qa2# swlist -v libiconv
# Initializing...
# Contacting target "qa2"...
#
# swlist Installed Software Table of Contents
#
# For host: qa2:/
#
# Date: Tue Jan 27 14:31:51 2009
#
# libiconv
product
tag libiconv
software_spec libiconv,l=/usr/local,r=1.12,a=HP-UX_B.11.31_64
data_model_revision 2.40
instance_id 1
control_directory libiconv
size 3014098
revision 1.12
title libiconv
description
mod_date Tue Jan 27 09:16:25 WAT 2009
mod_time 1233036985
create_date Tue Jan 27 07:49:17 WAT 2009
create_time 1233031757
install_date 200901270916.25
architecture HP-UX_B.11.31_64
machine_type *
os_name HP-UX
os_release ?.11.??
os_version *
install_source qa2.aecl.com:/ghost/libiconv-1.12-ia64-11.31.depot
install_type physical
is_patch false
supersedes
category_tag
vendor_tag
directory /usr/local
qualifier
postkernel
layout_version 1.0
all_filesets libiconv-RUN
is_locatable false
location /usr/local
copyright
share_link
readme
job_file
number
libiconv.libiconv-RUN
fileset
tag libiconv-RUN
software_spec libiconv.libiconv-RUN,l=/usr/local,r=1.12,a=HP-UX_B.1
_64
data_model_revision 2.40
instance_id 1
control_directory libiconv-RUN
size 3014098
revision
title
description
mod_date Tue Jan 27 09:16:25 WAT 2009
mod_time 1233036985
create_date Tue Jan 27 07:49:17 WAT 2009
create_time 1233031757
install_date 200901270916.25
architecture
machine_type
os_name
os_release
os_version
install_source qa2.aecl.com:/ghost/libiconv-1.12-ia64-11.31.depot
is_patch false
supersedes
category_tag
state configured
is_kernel false
is_reboot false
is_secure false
ancestor
media_sequence_number
partial_file
partial_pipe_size
partial_state_path
is_sparse false
applied_patches
is_locatable
location /usr/local
dynamic_module
is_drd_safe
Kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 04:02 AM
01-27-2009 04:02 AM
Re: Installing ghostscript 8.62 with all its dependencies.
This is your swlist line, not your link line in your makefile.
You could do: export LDOPTS="-v"
Then remake.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 04:36 AM
01-27-2009 04:36 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I have remake it as you suggest and taken the output in the gmake.log file.
I have attached it for your kind review.
Kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 07:37 PM
01-27-2009 07:37 PM
Re: Installing ghostscript 8.62 with all its dependencies.
(You can remove that export LDOPTS, just unset LDOPTS.)
The problem with those warnings is that you are linking with gcc instead of g++.
The link line seems to be in ./obj/ldt.tr and has:
/usr/ccs/bin/ld -v -z +Accept TypeMismatch -u main -o ./bin/gs /usr/lib/hpux32/unix98.o -L/usr/local/lib/gcc/ia64-hp-hpux11.31/4.2.3 -L/usr/ccs/lib -L/usr/local/lib/gcc/ia64-hp-hpux11.31/4.2.3/../../..
...
-ldl -lm -lstdc++ -lm -lgcc -lc -lgcc
I don't see -lunwind. Nor do I see -liconv.
You may need more build time dependencies, that libiconv needs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 08:25 PM
01-27-2009 08:25 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks for your kind continuous support.
>The link line seems to be in ./obj/ldt.tr and has:
Do you suggest me to add any line in this file?
>I don't see -lunwind. Nor do I see -liconv.
You may need more build time dependencies, that libiconv needs?
I installed same zip package of libiconv on my previos server it did work, there was no issue.
What do you kindly suggest to make sure i installed needed libraries.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:02 PM
01-27-2009 09:02 PM
Solution>Do you suggest me to add any line in this file?
Since the file gets created each time, that won't help. You are going to have to look at the makefile and edit that.
>What do you kindly suggest to make sure i installed needed libraries.
The ghostscript URL above says you need:
expat fontconfig freetype gettext jpeg libiconv libpng zlib
Since libiconv only needs gettext and you don't seem to have more unsats on your link line, I'm not sure whether those other shlibs are needed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:13 PM
01-27-2009 09:13 PM
Re: Installing ghostscript 8.62 with all its dependencies.
>Any reason you are building ghostscript instead of just downloading the binary and the dependencies?
Actually i wanted to install binaries but i could not find one for hp-ux 11v3. Could kindly forward me any link where i can download so.
>The ghostscript URL above says you need:
expat fontconfig freetype gettext jpeg libiconv libpng zlib.
I have installed everything mention on ghostscriptURL. but gettext was already there on my machine.( same as old server where i have installed ghostscript successfully)
Any suggestions are really appreciated I need to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:44 PM
01-27-2009 09:44 PM
Re: Installing ghostscript 8.62 with all its dependencies.
It is right there on the URL you provided.
So install the binary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:48 PM
01-27-2009 09:48 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Actually i downloaded binary ghostscript and installed it but after install.
# gs
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libexpat.sl
/usr/lib/dld.sl: No such file or directory
[HP ARIES32]: Core file for 32 bit PA-RISC application
[HP ARIES32]: /usr/local/bin/gs saved to /usr/local/lib/core.gs.
Abort(coredump)
kindly help me out for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:59 PM
01-27-2009 09:59 PM
Re: Installing ghostscript 8.62 with all its dependencies.
You downloaded a PA one. You need to download the Itanium 2 one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 11:38 PM
01-27-2009 11:38 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I really appreciate your continous efforts to help on this forum.
I have installed binary, it is working now.
Thanks once again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2009 10:56 PM
02-02-2009 10:56 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I am once again here to trouble you.
I apologize if it is irritating to you.
I once again face the issue with troublesome ghostscript. The gs is working fine but..
$ gs
GNU Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GNU Ghostscript 8.62: Cannot open X display `(null)'.
**** Unable to open the initial device, quitting.
$
BUT..........
$su - user2
Password:
You have mail.
$ gs
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'jpeg_resync_to_restart' in load
module '/usr/local/bin/gs'.
Killed
$
Kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 12:28 AM
02-03-2009 12:28 AM
Re: Installing ghostscript 8.62 with all its dependencies.
What's the difference between these two users?
The first doesn't have DISPLAY exported?
>dld.so: Unsatisfied code symbol 'jpeg_resync_to_restart' in load
module '/usr/local/bin/gs'.
My old 7.05 (2002-04-22) version has jpeg_resync_to_restart defined in gs. You need to search your sources to see where it is defined, declared and used. And see if there is a mismatch in #if.
You can look at object files and load modules with: nm -xAN *.o *.so | grep jpeg_resync_to_restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 10:30 PM
02-03-2009 10:30 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I am not sure the use of the command and how to find jpeg_resync_to_restart.
However i tried it in these directories.
$ pwd
/usr/lib/hpux32
$ nm -xAN *.o *.so | grep jpeg_resync_to_restart
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
no symbols
$
I installed gs binary version.
But i installed its prerequisite expat from source so i checked it here as well
$ pwd
/ghost/expat-2.0.1/lib
$ nm -xAN *.o *.so | grep jpeg_resync_to_restart
nm: *.so: cannot open
$ nm -xAN *.o | grep jpeg_resync_to_restart
$
Kinly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 11:55 PM
02-03-2009 11:55 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I did something like this and I found
# find / -name *.o | xargs nm -xAN | grep jpeg_resync_to_restart
[20] |0x00000000|0x00000000|FUNC |GLOB |0| UNDEF|/ghost/ghostscript-8.62/g
hostscript-8.62/obj/sdctd.o:jpeg_resync_to_restart
[17] |0x00003460|0x000003f0|FUNC |GLOB |0| .text|/ghost/ghostscript-8.62/g
hostscript-8.62/obj/jdmarker.o:jpeg_resync_to_restart
[20] |0x00000000|0x00000000|FUNC |GLOB
|0| UNDEF|/ghost/ghostscript-8.62/o
bj/sdctd.o:jpeg_resync_to_restart
[17] |0x00003460|0x000003f0|FUNC |GLOB |0| .text|/ghost/ghostscript-8.62/o
bj/jdmarker.o:jpeg_resync_to_restart
#find / -name *.so | xargs nm -xAN | grep jpeg_resync_to_restart
[987] |0x0404fb60|0x000004c0|FUNC |GLOB |0| .text|/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/Tk/JPEG/JPEG.so:jpeg_resync_to_restart
[502] |0x4000000000014040|0x00000050|FUNC |GLOB |0| .text|/opt/perl_64/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Tk/JPEG/JPEG.so:Imgjpeg_resync_to_restart
[550] |0x4000000000040870|0x00000480|FUNC |GLOB |0| .text|/opt/perl_64/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi-LP64/auto/Tk/JPEG/JPEG.so:jpeg_resync_to_restart
no symbols
no symbols
[643] |0x040737c0|0x000004c0|FUNC |LOCAL|0| .text|/opt/firefox/components/libimglib2.so:jpeg_resync_to_restart
[628] |0x04072e00|0x000004c0|FUNC |LOCAL|0| .text|/opt/thunderbird/components/libimglib2.so:jpeg_resync_to_restart
Kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 12:05 AM
02-04-2009 12:05 AM
Re: Installing ghostscript 8.62 with all its dependencies.
>no symbols
If you get "no symbols" someone stipped the shlib. You'll have to use elfdump:
elfdump -t lib* | grep jpeg_resync_to_restart
I don't see that in my /usr/lib/hpux32/.
You now need to scan your sources.
>I installed gs binary version.
Did you check gs itself for jpeg_resync_to_restart?
>I did something like this and I found
[17] |0x00003460|0x000003f0|FUNC |GLOB| .text|/ghost/ghostscript-8.62/ghostscript-8.62/obj/jdmarker.o:jpeg_resync_to_restart
[17] |0x00003460|0x000003f0|FUNC |GLOB| .text|/ghost/ghostscript-8.62/obj/jdmarker.o:jpeg_resync_to_restart
It's defined in this file. Why isn't that linked in?
I'm not sure you want to get it out of perl_32:
/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/Tk/JPEG/JPEG
.so:jpeg_resync_to_restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 03:02 AM
02-04-2009 03:02 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I have no idea about linking this stuff.
As i inform you that i am oracle dba.
I do not have much knowledge about HP-UX.
Could you kindly let me know exactly what shall i do. I need to fix this issue.
I appreciate your kind response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 10:07 PM
02-04-2009 10:07 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Have you downloaded and installed the 8 runtime dependencies of gs? In particular jpeg-6b?
libjpeg.so does contain jpeg_resync_to_restart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 09:36 PM
02-07-2009 09:36 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I was working with another server where ghostscript working fine.
Yes, I have installed jpeg-6b.
#swlist jpeg
# Initializing...
# Contacting target "stand2"...
#
# Target: stand2:/
#
# jpeg 6b jpeg
jpeg.jpeg-RUN
#
Kinldy help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 10:41 PM
02-07-2009 10:41 PM
Re: Installing ghostscript 8.62 with all its dependencies.
An IPF box? What does the following show?
ldd gs
Does do both point to the same shlibs?
In particular the jpeg lib?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 11:33 PM
02-07-2009 11:33 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Working server output:
# ldd /usr/local/bin/gs
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
#
Non-working server ouput:
# ldd /usr/local/bin/gs
libXt.so.1 => /usr/lib/hpux32/libXt.so.1
libSM.so.1 => /usr/lib/hpux32/libSM.so.1
libICE.so.1 => /usr/lib/hpux32/libICE.so.1
libXext.so.1 => /usr/lib/hpux32/libXext.so.1
libX11.so.1 => /usr/lib/hpux32/libX11.so.1
libjpeg.so => /usr/local/lib/hpux32/libjpeg.so
libpng.so => /usr/local/lib/hpux32/libpng.so
libz.so => /usr/local/lib/hpux32/libz.so
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libfontconfig.so => /usr/local/lib/hpux32/libfontconfig.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
libSM.so.1 => /usr/lib/hpux32/X11R6/libSM.so.1
libICE.so.1 => /usr/lib/hpux32/X11R6/libICE.so.1
libfreetype.so => /opt/gtk2.6/lib/libfreetype.so
libz.so => /opt/gtk2.6/lib/libz.so
libexpat.so => /opt/gtk2.6/lib/libexpat.so
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libz.so => /opt/gtk2.6/lib/libz.so
#
The only difference is that working gs was installed from source and non working gs is installed in binary form.
Kindly help me.