Re: acroread error with libgobject-2.0.so.0

2009-03-12 Thread David Banning
 A first one is simple but it may not give any guarantee that
 the situation will not appear in the future: install those
 ports by hand.
 
 I'll advice the second one. Write down all linux applications you use
 (i.e. print/acroread8, net/skype, etc.) -- not infrastructure linux
 ports (they should be installed as dependencies). Then pkg_delete
 those applications and linux*, unmount all linux filesystems, rm -rf
 /compat/linux/*.Then install linux applications and mount linux
 filesystems. HTH

Attempting the first port failed - 

The entire FreeBSD installation was recently done - accomplished
from an older 6.2 ISO - so I decided to do a portupgrade of linux-base.
I was then able to install the missing ports you suggested, and
-presto-, acroread is working fine.

Thanks for your help Boris.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


acroread error with libgobject-2.0.so.0

2009-03-11 Thread David Banning
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread Michael Powell
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




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread David Banning

Michael Powell wrote:

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? 
  

I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE)
but it didn't touch the /boot/loader.conf file.

Is there a way to load this without rebooting?

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'll look at that.
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.


  

The acroread8 port did not install linux-gtk2

ports are up-to-date.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread Michael Powell
David Banning wrote:
[snip] 

 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?
   
 I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE)
 but it didn't touch the /boot/loader.conf file.
 
 Is there a way to load this without rebooting?

Yes - kldload linux.ko That is provided that the linuxolator was actually 
installed as it should have been. See below. Placing linux_load=YES in 
loader.conf will just ensure it's always loaded at every boot.
 
 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'll look at that.

Probably not required. IIRC the error associated with this is pretty clear. 

 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.

   
 The acroread8 port did not install linux-gtk2
 

Maybe something b0rked in dependency land. I believe the object failing to 
load is part of this port. You can install it manually. Here is what the 
ports says on the web site:

acroread8-8.1.3_1
Adobe Reader for view, print, and search PDF documents (ENU)
Long description : Sources : Changes : Download
Maintained by: h...@freebsd.org
Also listed in: linux
Requires: acroreadwrapper-0.0.20080906, hicolor-icon-theme-0.10_2,  
linux-atk-1.9.1_1, linux-cairo-1.0.2, linux-expat-1.95.8, 
linux-fontconfig-2.2.3_7, linux-gtk2-2.6.10_1, 
linux-hicolor-icon-theme-0.5_1, linux-jpeg-6b.34, 
linux-nvu-1.0_1, linux-pango-1.10.2_1, linux-png-1.2.8_2, 
linux-scim-gtk-fc4-1.4.4, linux-scim-libs-fc4-1.4.4_1, 
linux-tiff-3.7.1, linux-xorg-libs-6.8.2_5, linux_base-fc-4_14

Theoretically dependency tracking in the ports system should have installed 
all of these, and anything they in turn depend on.

Also notice that the default linux version is fedora core 4 which is rather 
old. It is entirely possible that even with all of the other dependencies 
above properly installed it could still fail if the binary blob from Adobe 
was compiled against a later version. If such were the case I'd imagine 
someone would have pinged the port maintainer by now, so I sort of discount 
the possibility.

One clue is the default behavior inherent in acroread8 is it will fall back 
to trying to use FreeBSD libs in place of the linux versions it can't find. 
This is what your errors are displaying. 

-Mike
 




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread Boris Samorodov
On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote:
 Michael Powell wrote:
  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

Something is wrong with your system/ports...

  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

These are native FreeBSD libraries.

  and ldconfig sees it;

Yes, native FreeBSD ldconfig sees it's native libraies.

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

A linux application (i.e. acroread8) use linux libraries which by
default are installed to /compat/linux.

  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?   
 I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE)

Please, show commands you had given.

 but it didn't touch the /boot/loader.conf file.

 Is there a way to load this without rebooting?

  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'll look at that.
  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.
 

 The acroread8 port did not install linux-gtk2

 ports are up-to-date.

Please, show an output of commands:
% pkg_info -xI linux
% (cd /usr/ports/print/acroread8  make all-depends-list | grep linux)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread David Banning

Boris Samorodov wrote:

On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote:
  

Michael Powell wrote:


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



Something is wrong with your system/ports...

  

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



These are native FreeBSD libraries.

  

and ldconfig sees it;



Yes, native FreeBSD ldconfig sees it's native libraies.

  

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



A linux application (i.e. acroread8) use linux libraries which by
default are installed to /compat/linux.

  

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?   
  

I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE)



Please, show commands you had given.
  

a simple;
cd /usr/ports/print/acroread8
make install clean
  

but it didn't touch the /boot/loader.conf file.



  

Is there a way to load this without rebooting?



  

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'll look at that.


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.

  
  

The acroread8 port did not install linux-gtk2



  

ports are up-to-date.



Please, show an output of commands:
% pkg_info -xI linux
% (cd /usr/ports/print/acroread8  make all-depends-list | grep linux)
  

]# pkg_info -xI linux
linux-atk-1.9.1_1   Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the 
FreeDesktop project

linux-jpeg-6b.34RPM of the JPEG lib
linux-nvu-1.0_1 A complete Web Authoring System
linux-png-1.2.8_2   RPM of the PNG lib
linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform, library 
part, Linux bin

linux-tiff-3.7.1TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_9   Base set of packages needed in Linux mode (for 
i386/amd64)

linuxdoc-1.1_1  The Linuxdoc SGML DTD
#
# cd /usr/ports/print/acroread8  make all-depends-list | grep linux
/usr/ports/x11-toolkits/linux-gtk2
/usr/ports/x11-toolkits/linux-pango
/usr/ports/www/linux-nvu
/usr/ports/textproc/linux-scim-gtk
/usr/ports/emulators/linux_base-fc4
/usr/ports/accessibility/linux-atk
/usr/ports/graphics/linux-jpeg
/usr/ports/graphics/linux-png
/usr/ports/graphics/linux-tiff
/usr/ports/x11/linux-xorg-libs
/usr/ports/x11-fonts/linux-fontconfig
/usr/ports/graphics/linux-cairo
/usr/ports/textproc/linux-expat
/usr/ports/x11-themes/linux-hicolor-icon-theme
/usr/ports/textproc/linux-scim-libs
#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: acroread error with libgobject-2.0.so.0

2009-03-11 Thread Boris Samorodov
On Wed, 11 Mar 2009 21:30:47 -0400 David Banning wrote:
 Boris Samorodov wrote:
  On Wed, 11 Mar 2009 13:37:07 -0400 David Banning wrote:

  Michael Powell wrote:
  
  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
  
 
  Something is wrong with your system/ports...
 

  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
  
 
  These are native FreeBSD libraries.
 

  and ldconfig sees it;
  
 
  Yes, native FreeBSD ldconfig sees it's native libraies.
 

  $ 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.
  
 
  A linux application (i.e. acroread8) use linux libraries which by
  default are installed to /compat/linux.
 

  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? 
  I installed from the ports - (FreeBSD 3s1.com 6.2-RELEASE)
  
 
  Please, show commands you had given.

 a simple;
 cd /usr/ports/print/acroread8
 make install clean

That should have done the right thing...

  but it didn't touch the /boot/loader.conf file.

  Is there a way to load this without rebooting?

  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'll look at that.
  
  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.
  
  The acroread8 port did not install linux-gtk2

Yep, see further.

  ports are up-to-date.
 
  Please, show an output of commands:
  % pkg_info -xI linux
  % (cd /usr/ports/print/acroread8  make all-depends-list | grep linux)

 ]# pkg_info -xI linux
 linux-atk-1.9.1_1   Accessibility Toolkit, Linux/i386 binary
 linux-cairo-1.0.2   Linux cairo binary
 linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
 linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
 linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the
 FreeDesktop project
 linux-jpeg-6b.34RPM of the JPEG lib
 linux-nvu-1.0_1 A complete Web Authoring System
 linux-png-1.2.8_2   RPM of the PNG lib
 linux-scim-libs-fc4-1.4.4_1 Smart Common Input Method platform,
 library part, Linux bin
 linux-tiff-3.7.1TIFF library, Linux/i386 binary
 linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
 linux_base-fc-4_9   Base set of packages needed in Linux mode (for
 i386/amd64)
 linuxdoc-1.1_1  The Linuxdoc SGML DTD
 #
 # cd /usr/ports/print/acroread8  make all-depends-list | grep linux
 /usr/ports/x11-toolkits/linux-gtk2
 /usr/ports/x11-toolkits/linux-pango
 /usr/ports/www/linux-nvu
 /usr/ports/textproc/linux-scim-gtk
 /usr/ports/emulators/linux_base-fc4
 /usr/ports/accessibility/linux-atk
 /usr/ports/graphics/linux-jpeg
 /usr/ports/graphics/linux-png
 /usr/ports/graphics/linux-tiff
 /usr/ports/x11/linux-xorg-libs
 /usr/ports/x11-fonts/linux-fontconfig
 /usr/ports/graphics/linux-cairo
 /usr/ports/textproc/linux-expat
 /usr/ports/x11-themes/linux-hicolor-icon-theme
 /usr/ports/textproc/linux-scim-libs

So the dependencies are right, but three ports had not been
installed:
x11-toolkits/linux-gtk2
x11-toolkits/linux-pango
textproc/linux-scim-gtk

So, something definitely wrong. There are two ways to go.

A first one is simple but it may not give any guarantee that
the situation will not appear in the future: install those
ports by hand.

I'll advice the second one. Write down all linux applications you use
(i.e. print/acroread8, net/skype, etc.) -- not infrastructure linux
ports (they should be installed as dependencies). Then pkg_delete
those applications and linux*, unmount all linux filesystems, rm -rf
/compat/linux/*.Then install linux applications and mount