Subject: Re: acroread problem: symbol lookup error:
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 03/06/2007 11:54:15
On Thu, 1 Mar 2007 17:27:00 +1300
Mark Davies <mark@mcs.vuw.ac.nz> wrote:

> On Thu, 01 Mar 2007, Steven M. Bellovin wrote:
> > I just upgraded to 4.99.12 from 25 February.  When I click on a PDF
> > link from native-compiled Firefox 2.0.0.2, I get
> >
> > 	/usr/pkg/Acrobat7/Reader/intellinux/bin/acroread: symbol
> > lookup error: /usr/pkg/xorg/lib/libICE.so.6: undefined symbol: __sF
> >
> > If, otoh, I open the downloaded PDF file from a shell prompt, it
> > just works.  This problem started after my kernel+userland upgrade;
> > these are the relevant packages:
> 
> We recently hit this, or something similar, with firefox 1.5.0.x and 
> acroread7.  The problem in our case was that /usr/pkg/bin/firefox is 
> a script that explicitly sets up LD_LIBRARY_PATH to 
> include /usr/pkg/lib so then acroread, when run from firefox, 
> inherits that environment variable and starts potentially finding 
> some of its shared libraries in /usr/pkg/lib rather than the linux 
> ones.
> 
> Our current local fix is to clear LD_LIBRARY_PATH at the start of the 
> acroread7 script.
> 
Yes, that works for me; thanks.

I'm not sure what the proper official fix is, though.


		--Steve Bellovin, http://www.cs.columbia.edu/~smb