Quoting Bengt Ahlgren <ben...@sics.se> (from Fri, 12 Dec 2008 13:37:25 +0100):

The reason is that the acroread launch script sets LD_LIBRARY_PATH
which is propagated to its childs.  See this PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/129553

Question 2: what is the "proper" way to fix this problem?
(specifically for acroread8, but also in general.)

Search the archive for the ports mailinglist, in the mail "print/acroread8: LD_LIBRARY_PATH breaks helper programs" is a fix for the problem.

In general: there's no general fix. It all depends why LD_LIBRARY_PATH is used and what is done. There are multiple ways, some are workarounds ("env LD_LIBRARY_PATH='' lpr ..." ), some (like the one for acroread in the mail) are good fixes.

Bye,
Alexander.

--
Disclose classified information only when a NEED TO KNOW exists.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to