acroread error with libgobject-2.0.so.0

Michael Powell nightrecon at verizon.net
Wed Mar 11 08:09:14 PDT 2009


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
> 
> 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
> 
> and ldconfig sees it;
> 
> $ 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.

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? 

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 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.

-Mike






More information about the freebsd-questions mailing list