Problems with Acroread7 port

Vladimir Tsvetkov npacemo at
Thu Oct 6 06:43:51 PDT 2005

06 Oct 2005 08:58:34 -0400, Lowell Gilbert
<freebsd-questions-local at>:
> Vladimir Tsvetkov <npacemo at> writes:
> > Now acroread7 runs, but during start it prints in an error-message
> > dialog the following message:
> >
> > There was an error while loading the plug-in 'PPKLite.api.'
> > The plug-in failed to initialize.
> >
> > Oddly, this message is shown only when I start Acroread7 under root.
> > Another problem is the behaviour of Firefox + Acroread Plug-in. When I
> > try to access ot to load from the disk *.PDF documents, Firefox
> > freezes when the initialization window of Acroread7 stops on:
> >
> > Loading EWH.api...
> >
> > Than the firefox window is not responding.
> > What causes this problem?
> It's probably an environment setting; my guess would be PATH.
> But my advice would be not to run X as root anyway.

In order to start an X application as root, you do not need to run X
as root. I simply use su, and start the application from the command
line as root.

When I use Acroread7 as a standalone application (not as a plug-in to
Firefox), it works just file, despite the error message dialog above
informing about the problems with the incorrect loading of those APIs.

I could be a PATH problem, but it also could be a lack of a required
library. First, I should assure that all the reguired ports for
Acroread7 are installed correctly and up-to-date.

Solving the problems with those stale dependencies looks more like a
intuitive work, and I'm still on the stage "Try and Error". Maybe
gaining the experience will formalize that process, but it would be of
great help to me, if you could supply some heuristics for solving this
kind of problems. Unfortunatelly, I couldn't find much on this topic.


More information about the freebsd-questions mailing list