SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware comes with two versions of libpng in the same package - 1.4.12 and 1.2.50. I'm not sure if it can happen, but perhaps it has managed to link to 1.2.50 instead of 1.4.12, which I think is the version gtk uses.
Could you run "ldd gvbam" and see what version of libpng it is linking to?
Code:
➜ Linux ldd /usr/bin/gvbam | grep libpng
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb7260000)
➜ Linux
Two comments on that:
1. The executable is not the only thing that needs to be checked. I have not checked every library in its chain of dependencies to make sure that not a single one of them is linked against libpng 12. And no, I won't do that.
2. If this is indeed the issue, then I would find it very strange that VBAM seems to be the only program affected.
On non-multilib Slackware64-14.0 I've just compiled vbam using the slackbuild. The program seems to run fine and doesn't crash with libpng incompatibility errors. So perhaps it's a multilib build problem? I don't have a multilib system so I can't look into it myself. ldd points to the 64 bit libpng on my system.
The 32-bit version works here. I haven't done anything special either. Dependencies taken care of first as usual, then vbam installed without the ffmpeg option.
Only other thing I can think of and a complete stab in the dark is that I'm using fluxbox which I don't think uses gtk themes.
Last edited by turtleli; 09-09-2013 at 10:31 PM.
Reason: Missing words
For me... it crashes every so often still without so much as a warning. I've tried to grep the logfile, but nothing except the program simply terminated execution. Turned on debugging build and nothing also. I'm getting no icons also.
Kinda wondering what the heck they are doing using outdated static libs within the project rather than using the dynamic or static system libs with simple compatibility workaround internally.
Dugan you should look at the source code as to how much of a mess it is.
Ah... hmmm... then again SDL does have a GUI project, but not certain how it's development has been going. I think there was one for SDL_GTK or something.
➜ Linux ldd /usr/bin/gvbam | grep libpng
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb7260000)
➜ Linux
Two comments on that:
1. The executable is not the only thing that needs to be checked. I have not checked every library in its chain of dependencies to make sure that not a single one of them is linked against libpng 12. And no, I won't do that.
2. If this is indeed the issue, then I would find it very strange that VBAM seems to be the only program affected.
I've had other slackbuilds complain on multilib due to trying to build against 32bit libs instead of 64 bit libs. Had to:
mv /usr/lib /usr/lib_
run slackbuild
mv /usr/lib_ /usr/lib
Why would an icon theme interfere with zlib and libpng?
By comparison Higan's emulation of GBA is pre-alpha, but it's actually quite good as it tends to work the first time around without too much of a hiccup.
Only the old version was getting mixed up with the zlib problem. As for the newer version, it looks like it is trying to load images that are incompatible with this version of libpng. Perhaps gvbam isn't incompatibility very well and is crapping out instead of resorting to something else.
I honestly don't know. I do know that rebuilding the icon theme set did nothing.
Thinking about it again, it might be the recent file menu. It does also happen to be the last error before crashing (I get alsa underrun occasionally but it's not fatal). From the behaviour you described it ran the first time but crashed after loading a file. It then crashed on startup on subsequent runs. The difference being that the recent menu now has an entry to it and trying to load the associated menu is causing it to crash.
Indeed. The recent menu is the only thing that will have changed. In fact, removing the entry from .local/share/recently-used.xbel allows me to load up the GUI again.
I am testing a few things at the moment. I think I know what the problem is, but I need to test first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.