From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 20:27:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2137C1065678 for ; Wed, 11 Mar 2009 20:27:58 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id CE07C8FC08 for ; Wed, 11 Mar 2009 20:27:57 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1LhUO7-0002xE-R6; Wed, 11 Mar 2009 22:46:47 +0300 Received: from bsam by h30.sp.ipt.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhUO7-0000X0-Fo; Wed, 11 Mar 2009 22:46:47 +0300 To: David Banning References: <20090311141610.GA82966@skytracker.ca> <49B7F6C3.7000507@skytracker.ca> From: Boris Samorodov Date: Wed, 11 Mar 2009 22:46:47 +0300 In-Reply-To: <49B7F6C3.7000507@skytracker.ca> (David Banning's message of "Wed\, 11 Mar 2009 13\:37\:07 -0400") Message-ID: <45193864@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org Subject: Re: acroread error with libgobject-2.0.so.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 20:27:58 -0000 On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote: > Michael Powell wrote: > > David Banning wrote: > > > > > >> I have installed acroread8 with no errors, however on > >> execution I get the following error; > >> > >> /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/bin/acroread: > >> error while loading shared libraries: libgobject-2.0.so.0: cannot open > >> shared object file: No such file or directory Something is wrong with your system/ports... > >> the file is there; > >> > >> $ cd /usr/local/lib > >> $ > >> $ ls -tld libgobject* > >> -rw-r--r-- 1 root wheel 344082 Feb 27 19:17 libgobject-2.0.a > >> -rwxr-xr-x 1 root wheel 984 Feb 27 19:17 libgobject-2.0.la > >> lrwxr-xr-x 1 root wheel 19 Feb 27 19:17 libgobject-2.0.so -> > >> libgobject-2.0.so.0 > >> -rwxr-xr-x 1 root wheel 235062 Feb 27 19:17 libgobject-2.0.so.0 These are native FreeBSD libraries. > >> and ldconfig sees it; Yes, native FreeBSD ldconfig sees it's native libraies. > >> $ ldconfig -r | grep libgobject > >> 219:-lgobject-2.0.0 => /usr/X11R6/lib/libgobject-2.0.so.0 > >> 460:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 > >> $ > >> > >> I have followed a few threads with similar error but have found no > >> resolution yet. > >> > >> Any pointers would be helpful. A linux application (i.e. acroread8) use linux libraries which by default are installed to /compat/linux. > > Please forgive if I seem a trifle dense, but how did you go about > > installing? If done using the ports system, as part of the process > > linux_compat and various linux-* ports should have installed as > > dependencies. Perhaps the install succeeded but left out > > linux_load="YES" > > from /boot/loader.conf? > I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE) Please, show commands you had given. > but it didn't touch the /boot/loader.conf file. > Is there a way to load this without rebooting? > > Possibly it may be one of the few things that need > > linprocfs_load="YES" too, but I doubt this because there would be a > > different error. > > > I'll look at that. > > I would expect it to be looking for the library referenced above > > somewhere below the /compat or /usr/compat (the first is a link) > > which is where the linuxolator resides. This library should be being > > provided by the linux- > > gtk2-2.6.10_1 port. Since the acroread8 is a linux blob it should be > > using the linuxolator to run. > > > > > The acroread8 port did not install linux-gtk2 > ports are up-to-date. Please, show an output of commands: % pkg_info -xI linux % (cd /usr/ports/print/acroread8 && make all-depends-list | grep linux) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve