Date: Tue, 13 Dec 2011 14:52:02 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: dougb@FreeBSD.org Cc: freebsd-ports@FreeBSD.org Subject: Re: Clicking URLs with acroread8 Message-ID: <20111213.145202.186237260555725256.hrs@allbsd.org> In-Reply-To: <4EE6DCE1.5090400@FreeBSD.org> References: <4EE2A456.602@FreeBSD.org> <4EE6DCE1.5090400@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Doug Barton <dougb@FreeBSD.org> wrote in <4EE6DCE1.5090400@FreeBSD.org>: do> On 12/09/2011 16:14, Doug Barton wrote: do> > I receive PDF documents with URLs that I need to click, and so I would do> > like to get that working in acroread8. I symlink'ed firefox into do> > /compat/linux/usr/local/bin, and set the preferences in acroread do> > accordingly. That got me from a "firefox not found" error to this, do> > printed out in the terminal: do> > do> > libfam.so.0: cannot open shared object file: No such file or directory do> > Failed to load module: /usr/lib/gio/modules/libgiofam.so do> > do> > Since I have that lib installed as a result of the linux-base port, I do> > assume that what is missing is something that it depends on. do> > do> > Any help resolving this is welcome. do> > do> > Alternatively, if I could extract the URL from the link, that'd be do> > awesome too. :) do> do> I tried everyone's suggestions, no luck. do> do> Adding the gamin port prevents the error, but doesn't make the url do> clicking work. do> do> I tried an sh version of Sean's script, caused my system to lock up do> completely. do> do> I tried 'export LD_LIBRARY_PATH='' ; acroread8 file.pdf' and got a long do> wristwatch icon, but never any actual result. Hmm, can you see what happens by specifying a script which contains the following in the browser command field and clicking a URL, and then invoking firefox at command line prompt with the arguments and the environment variables found in /tmp/env.log? #!/bin/sh (echo "$@"; env ) > /tmp/env.log I think by doing it we can see whether browser invocation works or not. -- Hiroki ----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk7m6AIACgkQTyzT2CeTzy3NpgCgudvI3AQh2aBFgoAdpwne4sA0 zOIAn0CpDD0D4cr2uP40z7SUIFzkgcEY =JxY8 -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111213.145202.186237260555725256.hrs>