error while loading shared libraries: /usr/X11R6/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid

David J Brooks daeg at houston.rr.com
Mon Jun 19 00:57:52 UTC 2006


On Sunday 18 June 2006 14:00, Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam at ipt.ru> (Sun, 18 Jun 2006 19:31:55 +0400):
> > On Sun, 18 Jun 2006 10:15:17 -0500 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.
> >
> > Hard to say, there are too many variants. As for me, I didn't get such
> > errors. Seems that rebuilding acroread7 and all ports it depends on is
> > a best choice here.
>
> If this doesn't help, I suggest "portupgrade -rf linux_base-fc\*"
> (forcing a reinstall of everything which depends upon the linux base
> port).
>
> I assume there's something wrong with ld.so.cache...
>
> David, did you upgraded by using packages, or did you use the ports?

I tried the above suggestions with no success. I still get this error: 
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error while 
loading shared libraries: /usr/X11R6/lib/libgtk-x11-2.0.so.0: ELF file OS ABI 
invalid

So I tried deinstalling gtk20 and I got this error instead:
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error while 
loading shared libraries: /usr/X11R6/lib/libpangox-1.0.so.0: ELF file OS ABI 
invalid

So I deinstalled pango and got this error:
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error while 
loading shared libraries: /usr/X11R6/lib/libfontconfig.so.1: ELF file OS ABI 
invalid

Everything on the machine is installed from ports, not packages.

Meanwhile since I need gtk20 and pango more than acroread7 (which still won't 
start), I'm going to put those back.

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.


More information about the freebsd-ports mailing list