Re: [Gimp-developer] Gimp 2.3.1 crash

2005-06-11 Thread Nathan Summers
On 6/11/05, David Neary <[EMAIL PROTECTED]> wrote:

> This could be because the directory where the older GIMP libraries are
> installed is in /etc/ld.so.conf - I seem to recall that this plays havoc
> with link-time linking (which libtool does) and definitely does with
> runtime linking. I'm not sure what the solution might be if you've
> installed an official 2.2 or 2.0 GIMP in /usr, and you want to install
> 2.3.1 in /usr/local or /some/special/prefix - perhaps someone else can
> give ideas how to get around that problem.

the 2.2 libraries can be in /etc/ld.so.conf's path, but the 2.3 cannot be.

$ ldd `which gimp`
libgimpwidgets-2.0.so.0 => /usr/lib/libgimpwidgets-2.0.so.0 (0x4003)
libgimpmodule-2.0.so.0 => /usr/lib/libgimpmodule-2.0.so.0 (0x4010e000)
etc..

$ ldd `which gimp-2.3`
libgimpwidgets-2.0.so.0 =>
/usr/unstable/lib/libgimpwidgets-2.0.so.0 (0x40018000)
libgimpmodule-2.0.so.0 =>
/usr/unstable/lib/libgimpmodule-2.0.so.0 (0x40106000)

where /usr/lib is always in the ldconfig path, and /usr/unstable/lib
is most definitely not.

Rockwalrus
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Gimp 2.3.1 crash

2005-06-11 Thread David Neary


Sven Neumann wrote:

Campbell Barton writes:

It always crashes on startup, even if I dont load data. But works if I
load the gimp with no UI.
Tried removing all the libgimp libs and my prefs for a fresh install
but no good.


You are running gimp-2.3 linked against the libraries from gimp-2.2
(or 2.0). Fix your linker setup.


To elaborate a bit on what Sven has said:

You can tell whether you're linking to the right GIMP libs by running 
ldd on the gimp-2.3 binary. If you're seeing libs like 
/usr/local/lib/gimp/2.0/libgimp-2.0.so or 
/usr/lib/gimp/2.0/libgimp-2.0.so instead of 
$prefix/lib/gimp/2.0/libgimp-2.0.so then you're linking to the wrong 
libraries.


This could be because the directory where the older GIMP libraries are 
installed is in /etc/ld.so.conf - I seem to recall that this plays havoc 
with link-time linking (which libtool does) and definitely does with 
runtime linking. I'm not sure what the solution might be if you've 
installed an official 2.2 or 2.0 GIMP in /usr, and you want to install 
2.3.1 in /usr/local or /some/special/prefix - perhaps someone else can 
give ideas how to get around that problem.


Cheers,
Dave.

--
Dave Neary
[EMAIL PROTECTED]
Lyon, France
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Gimp 2.3.1 crash

2005-06-11 Thread Sven Neumann
Hi,

Campbell Barton <[EMAIL PROTECTED]> writes:

> Hi, I havnt been able to run gimp since 2.3.1 (2.3.0 worked well -
> Apart from the useual development bugs)
>
> It always crashes on startup, even if I dont load data. But works if I
> load the gimp with no UI.
> Tried removing all the libgimp libs and my prefs for a fresh install
> but no good.

You are running gimp-2.3 linked against the libraries from gimp-2.2
(or 2.0). Fix your linker setup.


Sven
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Gimp 2.3.1 crash

2005-06-10 Thread Campbell Barton
Hi, I havnt been able to run gimp since 2.3.1 (2.3.0 worked well - Apart 
from the useual development bugs)


It always crashes on startup, even if I dont load data. But works if I 
load the gimp with no UI.
Tried removing all the libgimp libs and my prefs for a fresh install but 
no good.


GDB Says
Program received signal SIGSEGV, Segmentation fault.
0xb7eecc2b in gimp_param_spec_rgb () from 
/usr/local/lib/libgimpcolor-2.0.so.0



Heres my output.



/gimp-2.3.1 > gimp

(gimp:25314): GLib-GObject-WARNING **: cannot register existing type 
`GimpConfigInterface'


(gimp:25314): GLib-GObject-CRITICAL **: 
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE 
(interface_type)' failed


(gimp:25314): GLib-GObject-CRITICAL **: g_type_add_interface_static: 
assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed


(gimp:25314): GLib-GObject-WARNING **: cannot register existing type 
`GimpConfigInterface'


(gimp:25314): GLib-GObject-CRITICAL **: 
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE 
(interface_type)' failed


(gimp:25314): GLib-GObject-CRITICAL **: g_type_add_interface_static: 
assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed


(gimp:25314): GLib-GObject-WARNING **: cannot register existing type 
`GimpParamRGB'


(gimp:25314): GLib-GObject-CRITICAL **: g_param_spec_internal: assertion 
`G_TYPE_IS_PARAM (param_type) && param_type != G_TYPE_PARAM' failed

Segmentation fault

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer