From owner-freebsd-ports@FreeBSD.ORG Sun Dec 11 20:31:59 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C67F106564A; Sun, 11 Dec 2011 20:31:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f07:14d3:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7A28FC08; Sun, 11 Dec 2011 20:31:59 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f07:14d3:1::5]) by mail.farley.org (8.14.5/8.14.5) with ESMTP id pBBKVwQZ012247; Sun, 11 Dec 2011 15:31:58 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Sun, 11 Dec 2011 15:31:56 -0500 (EST) From: "Sean C. Farley" To: Doug Barton In-Reply-To: <4EE2A456.602@FreeBSD.org> Message-ID: References: <4EE2A456.602@FreeBSD.org> User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.farley.org Cc: Hiroki Sato , FreeBSD ports list Subject: Re: Clicking URLs with acroread8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 20:31:59 -0000 On Fri, 9 Dec 2011, Doug Barton wrote: > I receive PDF documents with URLs that I need to click, and so I would > like to get that working in acroread8. I symlink'ed firefox into > /compat/linux/usr/local/bin, and set the preferences in acroread > accordingly. That got me from a "firefox not found" error to this, > printed out in the terminal: > > libfam.so.0: cannot open shared object file: No such file or directory > Failed to load module: /usr/lib/gio/modules/libgiofam.so > > Since I have that lib installed as a result of the linux-base port, I > assume that what is missing is something that it depends on. > > Any help resolving this is welcome. > > Alternatively, if I could extract the URL from the link, that'd be > awesome too. :) I am not sure if this will help your problem, but here is my fix. I wrote a wrapper script around /usr/local/bin/firefox: -------------------------------------- #!/usr/local/bin/zsh -e # Allow firefox to be executed from a Linux application such as Acrobat Reader # 8. Acrobat Reader 9 does not appear to need this. unset LD_LIBRARY_PATH /usr/local/bin/firefox "${@}" &! -------------------------------------- There is a lot more junk in mine, but this allows me to click on links within a PDF. Sean -- scf@FreeBSD.org