Operating System - HP-UX
1754014 Members
6037 Online
108811 Solutions
New Discussion юеВ

PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

 
Ora Raj
New Member

PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

Throwing /usr/lib/dld.sl: Unresolved symbol error message when trying to view pdf using acroread or pdf2ps

Case# associated with this problem: 4610100002

HP-Ux version: RP3440/HP-UX 11.11

Here is the error I am getting when tried to execute:

Sample Pdf2ps execution

pdf2ps XXACK_343241_1.PDF -
/usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from gs
Abort(coredump)

pdf2ps a.pdf out.ps
/usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from gs
Abort(coredump)

Sample Adobe Acrobat execution

acroread a.pdf
/usr/lib/dld.sl: Can't find path for shared library: libgdk_pixbuf_xlib-2.0.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

already Installed packages:
libiconv-1.13.1-hppa-11.11.depot.gz
expat-2.0.1-hppa-11.11.depot.gz
gettext-0.17-hppa-11.11.depot.gz
zlib-1.2.3-hppa-11.11.depot.gz
freetype-2.3.9-hppa-11.11.depot.gz
jpeg-6b-hppa-11.11.depot.gz
tiff-3.8.2-hppa-11.11.depot.gz
gdbm-1.8.3-hppa-11.11.depot.gz
libpng-1.2.40-hppa-11.11.depot.gz
perl-5.10.1-hppa-11.11.depot.gz
glib2-2.22.1-hppa-11.11.depot.gz
atk-1.28.0-hppa-11.11.depot.gz
pango-1.26.0-hppa-11.11.depot.gz
gtk+2-2.18.1-hppa-11.11.depot.gz
ghostscript-8.62.0-hppa-11.11.depot.gz
libxml2-2.7.6-hppa-11.11.depot.gz
fontconfig-2.7.3-hppa-11.11.depot.gz
cups-1.0.2-hppa-11.00.depot.gz
openldap-2.4.19-hppa-11.11.depot.gz

Did the following based on some forum threads:
nm -pxAN /usr/lib/dld.sl

odump -slexport /usr/lib/dld.sl

chatr /usr/lib/dld.sl

Still not able to fix the problem.
Any help is appreciated.

Thanks
Raj
5 REPLIES 5
Ora Raj
New Member

Re: PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

chatr /usr/lib/dld.sl
/usr/lib/dld.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared vtable support disabled
explicit unloading enabled
mem_check value: disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
shared library private mapping disabled

/usr/sbin/swlist -l file | egrep dld.sl
OS-Core.CORE-64SLIB: /usr/lib/pa20_64/dld.sl
OS-Core.CORE-64SLIB: /usr/lib/pa20_64/libdld.sl
OS-Core.CORE-SHLIBS: /usr/lib/aCC/dld.sl
OS-Core.CORE-SHLIBS: /usr/lib/dld.sl
OS-Core.CORE-SHLIBS: /usr/lib/libdld.sl
PHSS_37516.CORE-64SLIB: /usr/lib/pa20_64/dld.sl
PHSS_37516.CORE-SHLIBS: /usr/lib/dld.sl
PHSS_37516.PAUX-ENG-A-MAN: /usr/share/man/man5.Z/dld.sl.5
ProgSupport.PAUX-ENG-A-MAN: /usr/share/man/man5.Z/dld.sl.5
ProgSupport.PAUX-JPN-E-MAN: /usr/share/man/ja_JP.eucJP/man5.Z/dld.sl.5
ProgSupport.PAUX-JPN-S-MAN: /usr/share/man/ja_JP.SJIS/man5.Z/dld.sl.5
Steven E. Protter
Exalted Contributor

Re: PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

Shalom,

After installing acroread, open the program in X and acknowledge the license agreement.

Make sure the needed libraries are on the SHLIB_PATH variable at execution time.

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
Ora Raj
New Member

Re: PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

acroread is still throwing the error even with setting the correct SHLIB_PATH.


Alternative workaround is to use
pdf2ps by unsetting SHLIB_PATH

unset SHLIB_PATH
pdfsps source.pdf output.ps
This works now.

Ora Raj
New Member

Re: PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

Using the last workaround I mentioned, I was able to print pdf documents using command line

unset SHLIB_PATH;pdf2ps source.pdf - |lp -d
Dennis Handly
Acclaimed Contributor

Re: PDF viewing problem: /usr/lib/dld.sl: Unresolved symbol

>acroread is still throwing the error even with setting the correct SHLIB_PATH.

Where is your libgdk_pixbuf_xlib-2.0.sl?
I think I used the one from firefox.

>chatr /usr/lib/dld.sl

It is a waste of time looking at dld.sl. This is just the messenger. The problem is with your executable or shlib.

>unset SHLIB_PATH;pdf2ps source.pdf - |lp -d

If you need to unset SHLIB_PATH, then you shouldn't set SHLIB_PATH with the bogus path, you should only set it in wrapper script that invokes your particular command.