Re: Clicking URLs with acroread8
On Fri, 09 Dec 2011 16:14:14 -0800 Doug Barton wrote: CCing emulation@ > 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. ---snip--- # /compat/linux/bin/bash /compat/linux/usr/bin/ldd /compat/linux/usr/lib/gio/modules/libgiofam.so libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x21029000) libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x2109d000) libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x210de000) libfam.so.0 => not found libc.so.6 => /lib/libc.so.6 (0x211c1000) libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x2133a000) libselinux.so.1 => /lib/libselinux.so.1 (0x2133e000) /lib/ld-linux.so.2 (0x01001000) libdl.so.2 => /lib/libdl.so.2 (0x2135b000) # find /compat/linux -name libfam.so.0 # cd /usr/ports # INDEXFILE=INDEX-9 make quicksearch name=fam | grep linux # grep fam emulators/linux_base-f10/pkg-plist # grep fam */linux-f10-*/pkg-plist ---snip--- Looks to me like you need a linux libfam.so.0 (and we should add it to the linux_base-f10 port). Bye, Alexander. -- http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
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 -- s...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
Doug Barton wrote in <4ee2a456@freebsd.org>: 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. Does the following command line do the trick on your environment? % acroread8 -setenv LD_LIBRARY_PATH= The LD_LIBRARY_PATH set by the acroread script often prevents a utility invoked in Acrobat Reader from working. -- Hiroki pgprifNYDzZHT.pgp Description: PGP signature
Re: Clicking URLs with acroread8
Not a direct solution, but I have found the gnome pdf reader evince ( graphics/evince ) to be able handle all of the pdfs that I need to fill in (and I deal with quite a few pdfs from government websites.) and it avoids many of the software compatibility problems of acrobat reader. You might try evince, I have had a lot better luck with it than xpdf, and I haven't had to install acrobat reader. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On 12/11/2011 23:24, Micheas Herman wrote: > Not a direct solution, but I have found the gnome pdf reader evince Thanks, too gnome'y. :) -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On 12/09/2011 16:14, 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 tried everyone's suggestions, no luck. Adding the gamin port prevents the error, but doesn't make the url clicking work. I tried an sh version of Sean's script, caused my system to lock up completely. I tried 'export LD_LIBRARY_PATH='' ; acroread8 file.pdf' and got a long wristwatch icon, but never any actual result. Doug -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
Doug Barton wrote in <4ee6dce1.5090...@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 pgpWh5ZFkbebt.pgp Description: PGP signature
Re: Clicking URLs with acroread8
> On 12/11/2011 23:24, Micheas Herman wrote: >> Not a direct solution, but I have found the gnome pdf reader evince > > Thanks, too gnome'y. :) > epdfview is like evince, but doesn't use all of the gnome libs. http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/epdfview/pkg-descr?rev=1.1 May be worth a look. I've tried it before, and it is very useful in my opinion. -jgh ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On Mon, 12 Dec 2011, Doug Barton wrote: On 12/09/2011 16:14, 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 tried everyone's suggestions, no luck. Adding the gamin port prevents the error, but doesn't make the url clicking work. I tried an sh version of Sean's script, caused my system to lock up completely. zsh is better. :) It locked up your system? No ping? Could it be that acroreadwrapper needs to be rebuilt? It has a kernel module, but I am not sure if that would be related as I think it is used only by acroread9 (yes?). Also, I assume you are using linux_base-f10. With the script, did you change the preference to use it? Is the link in /compat/linux/usr/local/bin still there? Where is libfam.so.0? I only have a native version. Did you see that error message when the system locked up? Sean -- s...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On 12/12/2011 21:52, Jason Helfman wrote: > epdfview is like evince, but doesn't use all of the gnome libs. This is awesome, thanks! -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
Doug Barton writes: > > epdfview is like evince, but doesn't use all of the gnome libs. > > This is awesome, thanks! On first look - agreed. Robert Huff ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On Mon, Dec 19, 2011 at 09:18:22PM -0500, Robert Huff wrote: > > Doug Barton writes: > > > > epdfview is like evince, but doesn't use all of the gnome libs. > > > > This is awesome, thanks! > > On first look - agreed. > If you like epdfview you could also like electrix. -- Guido Falsi ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On Mon, 19 Dec 2011 17:00:41 -0800 Doug Barton wrote: > On 12/12/2011 21:52, Jason Helfman wrote: > > epdfview is like evince, but doesn't use all of the gnome libs. > > This is awesome, thanks! > > I have been using evince for quite a while but after following this thread I installed epdfview to try it. I do not use cups so I disabled that option. Everything looks good except there is no print option with epdfview. Did I do something wrong? Cheers. Robert ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On 12/20/2011 04:03, Guido Falsi wrote: > On Mon, Dec 19, 2011 at 09:18:22PM -0500, Robert Huff wrote: >> >> Doug Barton writes: >> >>> > epdfview is like evince, but doesn't use all of the gnome libs. >>> >>> This is awesome, thanks! >> >> On first look - agreed. >> > > If you like epdfview you could also like electrix. Thanks. :) They seem very similar, for you what are the distinguishing features? Doug -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On Tue, Dec 20, 2011 at 07:13:41PM -0800, Doug Barton wrote: > On 12/20/2011 04:03, Guido Falsi wrote: > > On Mon, Dec 19, 2011 at 09:18:22PM -0500, Robert Huff wrote: > >> > >> Doug Barton writes: > >> > >>> > epdfview is like evince, but doesn't use all of the gnome libs. > >>> > >>> This is awesome, thanks! > >> > >>On first look - agreed. > >> > > > > If you like epdfview you could also like electrix. > > Thanks. :) They seem very similar, for you what are the distinguishing > features? It's more of a personal taste thing for me. I find the electrix GUI cleaner, more aligned with my way of using it. Also epdfview has a bad habit on my setup of opening it's window partly off screen sometimes. I was not able to force it not to do that through the window manager configuration(I didn't try too hard though). Electrix dies not do that. -- Guido Falsi ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clicking URLs with acroread8
On 12/21/2011 01:13, Guido Falsi wrote: > On Tue, Dec 20, 2011 at 07:13:41PM -0800, Doug Barton wrote: >> On 12/20/2011 04:03, Guido Falsi wrote: >>> On Mon, Dec 19, 2011 at 09:18:22PM -0500, Robert Huff wrote: Doug Barton writes: > > epdfview is like evince, but doesn't use all of the gnome libs. > > This is awesome, thanks! On first look - agreed. >>> >>> If you like epdfview you could also like electrix. >> >> Thanks. :) They seem very similar, for you what are the distinguishing >> features? > > It's more of a personal taste thing for me. I find the electrix GUI > cleaner, more aligned with my way of using it. > > Also epdfview has a bad habit on my setup of opening it's window > partly off screen sometimes. I was not able to force it not to do > that through the window manager configuration(I didn't try too hard > though). Electrix dies not do that. Thank you for your insights. -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"