Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so

2000-07-13 Thread Vlad Harchev

On Wed, 12 Jul 2000, David Frascone wrote:

 I have looked in all the archvies, and see a few people ask about this error,
 but none of their questions were ever asked.
 
 The library does exist, it /usr/lib/gtk/themes/engines.  I've tried pointing
 module_path to it via the following line in my .gtkrc:
 
 module_path "/usr/lib/gtk/themes/engines"
 
 I've even tried adding that path to my ld.so.conf.  No luck.  Please tell me
 what I'm doing wrong.
 
 gtk-version:  1.2.8
 glib-version: 1.2.8

 I didn't have such problem, but is it owned by root and has access rights 
"rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so
to have execute persmissions for everybody.

 HTH

 Best regards,
  -Vlad


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so

2000-07-13 Thread David Frascone

Wups . . got chopped.

On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote:
   I didn't have such problem, but is it owned by root and has access rights 
  "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so
  to have execute persmissions for everybody.
  
 Here's mine :)
 [chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines
 :
 :
 :
 -rwxr-xr-x1 root root  784 Apr  5 07:01 libpixmap.la
 -rwxr-xr-x1 root root   216930 Apr  5 07:01 libpixmap.so
 :
 :
 :
 

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so

2000-07-13 Thread Vlad Harchev

On Thu, 13 Jul 2000, David Frascone wrote:

 Wups . . got chopped.
 
 On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote:
I didn't have such problem, but is it owned by root and has access rights 
   "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so
   to have execute persmissions for everybody.
   
  Here's mine :)
  [chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines
  :
  :
  :
  -rwxr-xr-x1 root root  784 Apr  5 07:01 libpixmap.la
  -rwxr-xr-x1 root root   216930 Apr  5 07:01 libpixmap.so
  :
  :
  :
  

  In original message, you've stated that you added
 module_path "/usr/lib/gtk/themes/engines"
  to your gtkrc.
  But it seems that you should use module_path "/usr/lib/gtk/themes/" for your
file layout (I see this looking at the comments in gtkrc's of various themes).
Please try this and report.

  If it still doesn't work: Did you compile libpixmap.so yourself (what is
your distro)? If I were you, I would try the following then:

 1) Get compiled libpixmap.so from any other place (i.e. from RedHat - it's in 
gtk-engines.rpmor something like this) and try it.
 2) If 1) is not acceptable - may be your libgtk.so and libpixmap.so are
compiled by different versions of gcc (and probably linked with
different versions of glibc), so try to compile them with the same
compiler (and probably without all optimizations).
 
 HTH

 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list
 

 Best regards,
  -Vlad


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so

2000-07-13 Thread Vlad Harchev

On Thu, 13 Jul 2000, David Frascone wrote:

 Hmm . . .strange . . .seems that a theme did it.  If I remove my .gtkrc, it
 works fine.  Here is the offensive .gtkrc

 If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't
require pixmap engine - so this is the reason the message disappears.
 
 Could you try restoring your original .gtkrc shown below, and add
module_path "/usr/lib/gtk/themes/"
 to it and report results.
 
 # -- THEME AUTO-WRITTEN DO NOT EDIT
 include "/home/chaos/.themes/DarkMarble/gtk/gtkrc"
 
 style "user-font"
 {
   font="-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-1"
 }
 widget_class "*" style "user-font"
 
 include "/home/chaos/.gtkrc.mine"
 
 # -- THEME AUTO-WRITTEN DO NOT EDIT
 
 .gtkrc.mine does not exist, and DarkMarble's gtkrc does not modify the 
 module_path
 
 On Thu, Jul 13, 2000 at 07:10:45PM +0500, Vlad Harchev wrote:
  On Thu, 13 Jul 2000, David Frascone wrote:
  
   Wups . . got chopped.
   
   On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote:
  I didn't have such problem, but is it owned by root and has access rights 
 "rwxr-xr-x" - I recall something about linux dynamic loader that requires 
*.so
 to have execute persmissions for everybody.
 
Here's mine :)
[chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines
:
:
:
-rwxr-xr-x1 root root  784 Apr  5 07:01 libpixmap.la
-rwxr-xr-x1 root root   216930 Apr  5 07:01 libpixmap.so
:
:
:

  
In original message, you've stated that you added
   module_path "/usr/lib/gtk/themes/engines"
to your gtkrc.
But it seems that you should use module_path "/usr/lib/gtk/themes/" for your
  file layout (I see this looking at the comments in gtkrc's of various themes).
  Please try this and report.
  
If it still doesn't work: Did you compile libpixmap.so yourself (what is
  your distro)? If I were you, I would try the following then:
  
   1) Get compiled libpixmap.so from any other place (i.e. from RedHat - it's in 
  gtk-engines.rpmor something like this) and try it.
   2) If 1) is not acceptable - may be your libgtk.so and libpixmap.so are
  compiled by different versions of gcc (and probably linked with
  different versions of glibc), so try to compile them with the same
  compiler (and probably without all optimizations).
   
   HTH

 Best regards,
  -Vlad


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so

2000-07-13 Thread David Frascone

On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote:
 On Thu, 13 Jul 2000, David Frascone wrote:
 
  Hmm . . .strange . . .seems that a theme did it.  If I remove my .gtkrc, it
  works fine.  Here is the offensive .gtkrc
 
  If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't
 require pixmap engine - so this is the reason the message disappears.
  
  Could you try restoring your original .gtkrc shown below, and add
   module_path "/usr/lib/gtk/themes/"
  to it and report results.

I did that . . it didn't help

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



*** FIXED *** Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so

2000-07-13 Thread David Frascone

strace found it.  I wasn't doing the module_path at the beginning of the
.gtkrc file, so it was trying to load libpixmap before it got to the theme.

Thanks a lot for everyone's help.

On Thu, Jul 13, 2000 at 11:31:10AM -0500, David Frascone wrote:
 On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote:
  On Thu, 13 Jul 2000, David Frascone wrote:
  
   Hmm . . .strange . . .seems that a theme did it.  If I remove my .gtkrc, it
   works fine.  Here is the offensive .gtkrc
  
   If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't
  require pixmap engine - so this is the reason the message disappears.
   
   Could you try restoring your original .gtkrc shown below, and add
  module_path "/usr/lib/gtk/themes/"
   to it and report results.
 
 I did that . . it didn't help
 
 ___
 gtk-list mailing list
 [EMAIL PROTECTED]
 http://mail.gnome.org/mailman/listinfo/gtk-list

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so

2000-07-13 Thread Vlad Harchev

On Thu, 13 Jul 2000, David Frascone wrote:

 On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote:
  On Thu, 13 Jul 2000, David Frascone wrote:
  
   Hmm . . .strange . . .seems that a theme did it.  If I remove my .gtkrc, it
   works fine.  Here is the offensive .gtkrc
  
   If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't
  require pixmap engine - so this is the reason the message disappears.
   
   Could you try restoring your original .gtkrc shown below, and add
  module_path "/usr/lib/gtk/themes/"
   to it and report results.
 
 I did that . . it didn't help

  You could perform steps 1) and 2) I listed in previous messages, and also
execute 'file /usr/lib/gtk/themes/engines/pixmap.so" and check output - may be
you've got pixmap.so for wrong CPU type (say for SPARC if you are on x86) 
(sorry if this offends you, but this seems to be my last idea).

  If you are not on linux, please state it clearly too.

 HTH

 Best regards,
  -Vlad


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list