From owner-freebsd-ports@FreeBSD.ORG Wed Jun 21 05:29:08 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 4898816A479 for ; Wed, 21 Jun 2006 05:29:08 +0000 (UTC) (envelope-from daeg@houston.rr.com) Received: from ms-smtp-05.texas.rr.com (ms-smtp-05.texas.rr.com [24.93.47.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id E43E743D46 for ; Wed, 21 Jun 2006 05:29:07 +0000 (GMT) (envelope-from daeg@houston.rr.com) Received: from cpe-24-167-71-114.houston.res.rr.com (cpe-24-167-71-114.houston.res.rr.com [24.167.71.114]) by ms-smtp-05.texas.rr.com (8.13.6/8.13.6) with ESMTP id k5L5T6vd018921 for ; Wed, 21 Jun 2006 00:29:07 -0500 (CDT) From: David J Brooks Organization: KC5WNK To: freebsd-ports@freebsd.org Date: Wed, 21 Jun 2006 00:29:05 -0500 User-Agent: KMail/1.9.3 References: <200606180959.28514.daeg@houston.rr.com> <200606181015.17712.daeg@houston.rr.com> In-Reply-To: <200606181015.17712.daeg@houston.rr.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(=?utf-8?q?gxJxxc=0A=09R=09nSNPNr*/=5E=7EStawWU9KDJ-CT0k=24f=23?=@t2^K&BS_f|?ZV/.7Q MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606210029.06098.daeg@houston.rr.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: 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:29:08 -0000 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. David -- Sure God created the world in only six days, but He didn't have an established user-base.