From owner-freebsd-ports@FreeBSD.ORG Wed Jun 21 05:39:16 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB06F16A47A for ; Wed, 21 Jun 2006 05:39:16 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao01.cox.net (centrmmtao01.cox.net [70.168.83.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B0D143D46 for ; Wed, 21 Jun 2006 05:39:15 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao01.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060621053914.XLEC23821.centrmmtao01.cox.net@mezz.mezzweb.com>; Wed, 21 Jun 2006 01:39:14 -0400 Date: Wed, 21 Jun 2006 00:39:14 -0500 To: "David J Brooks" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200606180959.28514.daeg@houston.rr.com> <200606181015.17712.daeg@houston.rr.com> <200606210029.06098.daeg@houston.rr.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <200606210029.06098.daeg@houston.rr.com> User-Agent: Opera Mail/9.00 (Linux) Cc: freebsd-ports@freebsd.org Subject: Re: SOLVED: error while loading shared libraries: /usr/X11R6/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid 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: Wed, 21 Jun 2006 05:39:16 -0000 On Wed, 21 Jun 2006 00:29:05 -0500, David J Brooks wrote: > On Sunday 18 June 2006 10:15, David J Brooks wrote: >> On Sunday 18 June 2006 09:59, David J Brooks wrote: >> > I recently moved from linux_base-8 to linux_base-fc4 and now I am >> getting >> > the following error whenever I try to run Acroread7: >> > >> > error while loading shared libraries: >> /usr/X11R6/lib/libgtk-x11-2.0.so.0: >> > ELF file OS ABI invalid >> > >> > ... clearly I need to load the linux version of libgtk, but which >> port is >> > it in? >> >> Perhaps more to the point, why is acroread trying to >> load /usr/X11R6/lib/libgtk-x11-2.0.so.0 instead >> of /usr/compat/linux/usr/lib/libgtk-x11-2.0.so.0 ? >> >> FWIW, both versions of libgtk-x11 are installed. > > With much assistance from Boris, I found the problem in my .login file: > > setenv QTDIR /usr/X11R6 > setenv LD_LIBRARY_PATH $QTDIR/lib > > Commenting out the LD_LIBRARY_PATH line solved the problem, and as it > happens, > QT didn't need it anyway. Why it didn't cause problems under linux_base-8 > remains a mystery to me. Almost same happen w/ linux-opera. When I upgraded linux_base-8 to linux_base-fc-3 (now is using fc-4), linux-opera has started to throw two errors but seem harmless to me as I don't have any Java in my system. % linux-opera ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored. Cheers, Mezz > David -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org