imlib and xcdroast: SuSE online update has broken something
xcdroast no longer launches on my home or work machines (Suse 7.3 Prof). For them both to suddenly not work led me to suspect that a recent online update from SuSe is to blame. Indeed it is. I updated the imlib packages on both machines using Yast2's online update. If I launch xcdroast from the command line the error I get is: xcdroast: error while loading shared libraries: /usr/lib/libimlib-png.so: undefined symbol: _gdk_malloc_image So, what do I also need to install to fix this? Cheers, Peter
I don't have a solution for this yet either... but just to let you know, I had the same wonderful result immediately after the latest YOU update I did (about 48 hours ago). I am inclined to agree that it was not something you did, but more likely an update gone wrong. My cdrecord and xcdroast worked fine before the update. I have been messing about with permissions etc, but nothing successful so far. I have also tried removing xcdroast and cdrecord (using YaST), and then reinstalling from cdrom to see if that would help. Nope... still getting errors. In fact, I am getting a few more than what you included... -=-=-=-=-=-=-=-=-=- ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap ** WARNING **: The X-CD-Roast wrapper seems not to have the correct permissions set ** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap; chmod 2755 /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap *** NOTE ***: --------------------------------------------------------------- This permission warning and the following set-uid bit warnings can be safely ignored, if you want to run X-CD-Roast as root only. --------------------------------------------------------------- ** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/mkisofs ** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/readcd ** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdda2wav xcdroast: relocation error: /usr/lib/libimlib-gif.so: undefined symbol: _gdk_malloc_image =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I know, not a solution, but a bit more error information might help those that know what's going on. C. On Friday 10 May 2002 21:35, Peter Cameron wrote:
xcdroast no longer launches on my home or work machines (Suse 7.3 Prof). For them both to suddenly not work led me to suspect that a recent online update from SuSe is to blame. Indeed it is.
I updated the imlib packages on both machines using Yast2's online update.
If I launch xcdroast from the command line the error I get is:
xcdroast: error while loading shared libraries: /usr/lib/libimlib-png.so: undefined symbol: _gdk_malloc_image
So, what do I also need to install to fix this?
Cheers, Peter
I can confirm Peter's conclusion. Having read his message, I restored the original imlib file and xcdroast started working again. Eddie On Friday 10 May 2002 20:50, Clayton Cornell wrote:
I don't have a solution for this yet either... but just to let you know, I had the same wonderful result immediately after the latest YOU update I did (about 48 hours ago). I am inclined to agree that it was not something you did, but more likely an update gone wrong. My cdrecord and xcdroast worked fine before the update.
I have been messing about with permissions etc, but nothing successful so far. I have also tried removing xcdroast and cdrecord (using YaST), and then reinstalling from cdrom to see if that would help. Nope... still getting errors.
In fact, I am getting a few more than what you included...
-=-=-=-=-=-=-=-=-=- ** WARNING **: Installation problem? No set-gid bit on /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap
** WARNING **: The X-CD-Roast wrapper seems not to have the correct permissions set
** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap; chmod 2755 /usr/X11R6/lib/xcdroast-0.98/bin/xcdrwrap
*** NOTE ***: --------------------------------------------------------------- This permission warning and the following set-uid bit warnings can be safely ignored, if you want to run X-CD-Roast as root only. ---------------------------------------------------------------
** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/mkisofs
** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/readcd
** WARNING **: Installation problem? No set-uid bit on /usr/X11R6/lib/xcdroast-0.98/bin/cdda2wav
xcdroast: relocation error: /usr/lib/libimlib-gif.so: undefined symbol: _gdk_malloc_image =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I know, not a solution, but a bit more error information might help those that know what's going on.
C.
On Friday 10 May 2002 21:35, Peter Cameron wrote:
xcdroast no longer launches on my home or work machines (Suse 7.3 Prof). For them both to suddenly not work led me to suspect that a recent online update from SuSe is to blame. Indeed it is.
I updated the imlib packages on both machines using Yast2's online update.
If I launch xcdroast from the command line the error I get is:
xcdroast: error while loading shared libraries: /usr/lib/libimlib-png.so: undefined symbol: _gdk_malloc_image
So, what do I also need to install to fix this?
Cheers, Peter
-- Be different, say something nice.
On Friday 10 May 2002 20:50 pm, Clayton Cornell wrote:
I don't have a solution for this yet either... but just to let you know, I had the same wonderful result immediately after the latest YOU update I did (about 48 hours ago). I am inclined to agree that it was not something you did, but more likely an update gone wrong. My cdrecord and xcdroast worked fine before the update.
I always run xcdroast by su-ing to root. If you wish to use xcdroast as a non-root user then you must set the permissions accordingly, hence the warnings you listed. I ommitted these warnings as they are unrelated to xcdroast failing to launch because of imlib errors. The problem is with the imlib either trying to access something that is now inaccessible for some reason (unlikely), or requiring something new that isn't in the RPM dependency lists for the packages (more likely that imlib RPMs have been incorrectly packaged up). I'm going to revert back to the old imlib packages which hopefully should cure things. Peter
On Saturday 11 May 2002 00:57, Peter Cameron wrote:
I always run xcdroast by su-ing to root. If you wish to use xcdroast as a non-root user then you must set the permissions accordingly, hence the warnings you listed. I ommitted these warnings as they are unrelated to xcdroast failing to launch because of imlib errors.
Err umm so do I. The errors I posted were from a root terminal session (sux root). Hmmm maybe there is more going-on on my machine than I thought.
I'm going to revert back to the old imlib packages which hopefully should cure things.
I did the same, and I can start xcdroast now (as root), but the other funky errors did not go away. C.
Peter Cameron <peterca@ukgateway.net> [ 10 May 2002 23:57:40 +0100]:
The problem is with the imlib either trying to access something that is now inaccessible for some reason (unlikely), or requiring something new that isn't in the RPM dependency lists for the packages
It's neither of those :) One of Imlib's security bugs was, that it didn't check the image dimensions before requesting memory, so it simply requested width*height*3 bytes memory. If the amount requested exceeds the valid range of a 32 bit integer, the value will 'wrap around' and imlib will get much less memory then it needs. If it now loads the image, the buffer will overflow. As a remedy, imlib now has a routine _gdk_malloc_image that checks image dimensions before requesting memory. This routine, which resides in libgdk_imlib, is called by modules loaded on demand for the various image types(PNG, JPEG etc.). And in some cases these dependencies aren't resolved. I'll have to check imlib next week, but for the time being the solution would be to install the original version from CD. Philipp
participants (4)
-
Clayton Cornell
-
ForeverCheerful
-
Peter Cameron
-
Philipp Thomas