Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 00:29:05 -0500
From:      David J Brooks <daeg@houston.rr.com>
To:        freebsd-ports@freebsd.org
Subject:   SOLVED: error while loading shared libraries: /usr/X11R6/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid
Message-ID:  <200606210029.06098.daeg@houston.rr.com>
In-Reply-To: <200606181015.17712.daeg@houston.rr.com>
References:  <200606180959.28514.daeg@houston.rr.com> <200606181015.17712.daeg@houston.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606210029.06098.daeg>