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.
I downloaded and installed a few updates from slackware.com, including gtk+2-2.8.20-i486-1.tgz, pango-1.12.4-i486-1.tgz, libglade-2.5.1-i486-1.tgz, and cairo-1.0.4-i486-1.tgz. I also found python gtk+ bindings in .rpm and installed those using rpm2tgz. Now when I try to start gvim I get an error:
Code:
bash-3.00# gvim
gvim: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_object_compat_control
I also installed a few other updates, including cairo, libglade, pango and python-gtk bindings.
Does anyone have any ideas?
Maybe that symbol was actually supposed to be g_object_compact_control and someone just had a typo =P
It looks like you've installed updates from current (gtk+2-2.8.20-i486-1 is the version from current) instead of from 10.2 (gtk+2-2.6.10-i486-1 is the version from 10.2 at mirror.pacific.net.au). If that's the case, you should uninstall those versions and install the version for the release you're running.
Okay, I reverted back to gtk+2-2.6.10-i486-1.tgz, and uninstalled 2.8.20. Now there's a different error:
Code:
gvim: symbol lookup error: /usr/lib/libpangoxft-1.0.so.0: undefined symbol: g_intern_static string
I found another thread on this, and the author solved the problem by reverting from pango-1.12.4-i486-1.tgz to pango-1.8.2-i486-1.tgz. I tried that and now I get yet another error:
Code:
gvim: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
doh! Slackware 10.2 doesn't seem to come with the cairo packages, but uninstalling cairo-1.0.4-i486-1.tgz doesn't seem to fix the error, nor does reinstalling the cairo package again afterwards.
libpangocairo-1.0.so.0 is in the -current version of pango, but not the 10.2 version. Which version of gvim are you running? Could that also be from -current?
Hey, that was it! I had vim-gvim installed from slackware -current. Unloading vim-gvim and reinstalling xvim from slackware 10.2 did the trick. Thanks for helping me! I take it that it's a risky business to run with packages from slackware-current, so maybe I'll just stick to 10.2 until 11.0 comes out.
it's a risky business to run with packages from slackware-current, so maybe I'll just stick to 10.2 until 11.0 comes out.
No, running slackware-current is not very risky.
Mixing packages from slackware-current with your Slackware 10.2 system is more than risky - it is a sure road to non-working programs, as you already experienced.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.