From owner-freebsd-questions@FreeBSD.ORG Thu Mar 12 01:28:39 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 1CC991065673 for ; Thu, 12 Mar 2009 01:28:39 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7267E8FC1C for ; Thu, 12 Mar 2009 01:28:38 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.8/8.13.8) with ESMTP id n2C1SV23007199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Mar 2009 21:28:35 -0400 (EDT) (envelope-from david@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.13.8/8.14.1/Submit) id n2C1SUDF007198 for freebsd-questions@freebsd.org; Wed, 11 Mar 2009 21:28:30 -0400 (EDT) (envelope-from david@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david@skytracker.ca using -f Received: from [192.168.1.17] (seventeen [192.168.1.17]) by 3s1.com (tmda-ofmipd) with ESMTP; Wed, 11 Mar 2009 21:28:13 -0400 Message-ID: <49B865C7.2070207@skytracker.ca> Date: Wed, 11 Mar 2009 21:30:47 -0400 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Boris Samorodov References: <20090311141610.GA82966@skytracker.ca> <49B7F6C3.7000507@skytracker.ca> <45193864@h30.sp.ipt.ru> In-Reply-To: <45193864@h30.sp.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning X-Virus-Scanned: ClamAV 0.94.2/9095/Wed Mar 11 18:20:07 2009 on 3s1.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 3s1.com 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: Thu, 12 Mar 2009 01:28:39 -0000 Boris Samorodov wrote: > 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. > a simple; cd /usr/ports/print/acroread8 make install clean > >> 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) > ]# pkg_info -xI linux linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project linux-jpeg-6b.34 RPM of the JPEG lib linux-nvu-1.0_1 A complete Web Authoring System linux-png-1.2.8_2 RPM of the PNG lib linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library part, Linux bin linux-tiff-3.7.1 TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) linuxdoc-1.1_1 The Linuxdoc SGML DTD # # cd /usr/ports/print/acroread8 && make all-depends-list | grep linux /usr/ports/x11-toolkits/linux-gtk2 /usr/ports/x11-toolkits/linux-pango /usr/ports/www/linux-nvu /usr/ports/textproc/linux-scim-gtk /usr/ports/emulators/linux_base-fc4 /usr/ports/accessibility/linux-atk /usr/ports/graphics/linux-jpeg /usr/ports/graphics/linux-png /usr/ports/graphics/linux-tiff /usr/ports/x11/linux-xorg-libs /usr/ports/x11-fonts/linux-fontconfig /usr/ports/graphics/linux-cairo /usr/ports/textproc/linux-expat /usr/ports/x11-themes/linux-hicolor-icon-theme /usr/ports/textproc/linux-scim-libs #