/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link
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.
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link
when I do ldconfig (or install a package with Kpackage) give me this message:
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link
How I repair that what this mean?
That doesn't make any sense... If you didn't have that file then ldconfig would not be complaining about it. It has to be there somewhere. I had a similar problem last week. I ran a build script that wasn't quite finished and it gzipped my entire /usr/lib directory... Talk about a mess. After I gunzipped everything, it destroyed every single symlink in /usr/lib.... When ever ldconfig would run, I would get hundreds of similar messages. I made a little "for file in" script that executed everything in /var/log/scripts and all was well again. Thank God for pkgtool....
You were posting while I was.. That also doesn't make sense. There should be a couple header files in that directory along with quite a few folders. No libs. Thats an include directory, not a library directory. Did this package come from Pat or somewhere else? either way, it sounds kinda messy. Go to /var/log/scripts and look in your gtkhtml file. Mine is called:
/var/log/scripts/gtkhtml-3.6.2-i686-1
This is my own LFS/Slackware hybrid so I don't know if it's named gtkhtml or libgtkhtml... I named my package gtkhtml.... All the symlinks that this package is supposed to have will be listed in that file. If I were you, I'd do this....
Code:
cd /
sh /var/log/scripts/gtkhtml-3.6.2-i686-1
Obviously, you'll want to replace "gtkhtml-3.6.2-i686-1" with the name of the actuall file.
I did:
ln -s /usr/include/gtkhtml-2.0/libgtkhtml /usr/lib/libgtkhtml
and no more:
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link
and when I type:
ls -l /usr/lib/libgtkhtml
the output is:
lrwxrwxrwx 1 root root 35 2005-04-29 18:17 /usr/lib/libgtkhtml -> /usr/include/gtkhtml-2.0/libgtkhtml
Thats a mess.... I don't know what to tell you. You either upgraded somehow, installed new packages without using the upgradepkg or removepkg commands or you used dropline, swaret or slaptget.... You have to keep a tight reign on what you let happen with your system otherwise you get stuff like this. I would go thru pkgtool and start removing gtkhtml stuff and try to get it back to how it should be. Try to think of anything I've listed above that might have loused up your system.
Also that new symlink you made isn't supposed to be there... Your original post stated that it was compaining about an actual Shared Object .so file.... I woud ditch that symink you made, get in pkgtools and remove the any older gtkhtml packages but leave version 3.6.x. Then I would run the two commands that I mentioned above.
Thats just me tho. I don't know what you've done to your system so I cant say for sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.