Subject: acroread: die die die?
To: None <netbsd-help@netbsd.org>
From: Bob Bernstein <torxhead@ruptured-duck.com>
List: netbsd-help
Date: 05/19/2001 21:38:06
It's likely evident that I can't get acroread to work...at all. I have
both versions installed on this K6-233, 64meg, 1.5U vintage current
box:

acroread3-3.01      View, distribute and print PDF documents
acroread-4.05       View, distribute and print PDF documents

Let's take the latter first:

wingnut ~$ acroread4 myrebut.pdf
Exited with error code: 0x400e0009.

I ran ldd:

wingnut ~$ /usr/pkg/emul/linux/usr/bin/ldd /usr/pkg/Acrobat4/Reader/intellinux/bin/acroread
        libreadcore.so => not found
        libAGM.so => not found
        libCoolType.so => not found
        libICC.so => not found
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x482a3000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x482f0000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x482fc000)
        libm.so.6 => /lib/libm.so.6 (0x483a6000)
        libdl.so.2 => /lib/libdl.so.2 (0x483c3000)
        libc.so.6 => /lib/libc.so.6 (0x483c7000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x484a9000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x484b4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x48288000)

Which led me to believe perhaps LD_LIBRARY_PATH needed to be set. Ok.

wingnut ~$ setenv LD_LIBRARY_PATH /usr/pkg/Acrobat4/Reader/intellinux/lib/   

And there's a lot of apparent improvement:

wingnut ~$ /usr/pkg/emul/linux/usr/bin/ldd /usr/pkg/Acrobat4/Reader/intellinux/bin/acroread
        libreadcore.so => /usr/pkg/Acrobat4/Reader/intellinux/lib/libreadcore.so (0x4829d000)
        libAGM.so => /usr/pkg/Acrobat4/Reader/intellinux/lib/libAGM.so (0x4851f000)
        libCoolType.so => /usr/pkg/Acrobat4/Reader/intellinux/lib/libCoolType.so (0x48636000)
        libICC.so => /usr/pkg/Acrobat4/Reader/intellinux/lib/libICC.so (0x48861000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x48910000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4895c000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x48969000)
        libm.so.6 => /lib/libm.so.6 (0x48a13000)
        libdl.so.2 => /lib/libdl.so.2 (0x48a30000)
        libc.so.6 => /lib/libc.so.6 (0x48a34000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x48b16000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x48b20000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x48288000)

Aye, but here's the rub:

wingnut ~$ acroread4 myrebut.pdf                                                Exited with error code: 0x400e0009.
Exited with error code: 0x400e0009.

With acroread3 things are a tad better. Sometimes it seg faults, and
sometimes it bus errors; I'm not sure but those behaviours may be
related to just which pdf file I'm trying to open. Sometimes it will
actually open the pdf file, but they are unreadble. The only way I can
describe it in words is to suggest that half the text seems to be
rendered in blue, and jumbled across the half that still remains
black. Really strange. I'll put a screenshot up on my web site if
anyone wants to see it!

Does anyone have any clue as to what might be going on here?

(nb. Am I on the right list for such a query?)

-- 
Bob Bernstein