Subject: Re: acroread: die die die?
To: Bob Bernstein <torxhead@ruptured-duck.com>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-help
Date: 05/21/2001 07:39:50
> acroread3-3.01      View, distribute and print PDF documents
> acroread-4.05       View, distribute and print PDF documents

I have 4.05 and 3.0 working on NetBSD-1.5/i386.  So it seems that
they can work. :-)

> 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)

$ /emul/linux/usr/bin/ldd /usr/local/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 (0x40017000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40061000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4006c000)
        libm.so.6 => /lib/libm.so.6 (0x40109000)
        libdl.so.2 => /lib/libdl.so.2 (0x40125000)
        libc.so.6 => /lib/libc.so.6 (0x40129000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40217000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40220000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

Any setting of LD_LIBRARY_PATH is done by the 'acroread' shell
script.  About the only change I made to that when I installed was to
add 'NetBSD' everywhere I saw 'Linux' in the script, and change the #!
path to reference a linux shell.

All the 'missing' libraries are under /usr/local/Acrobat4 so for the
script to set LD_LIBRARY_PATH seems right.

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

Kernel options?  Are you using a GENERIC kernel or something you've
customised?  Since mine works it's hard to know what is significant,
but here's a selection of the kernel options I have set:

options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_14	# NetBSD 1.4,
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD

Since I don't have any binaries dating back to NetBSD 1.3 that option
has been added to make something work; the something might have been
emulation.

What Linux libraries are you using?

Regards,

Giles