LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link (https://www.linuxquestions.org/questions/slackware-14/sbin-ldconfig-usr-lib-libgtkhtml-3-0-so-2-is-not-a-symbolic-link-318452/)

rosariowong 04-29-2005 10:45 AM

/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?

mdarby 04-29-2005 10:47 AM

install libgtkhtml-3.0?

rosariowong 04-29-2005 10:52 AM

no I don't install it (install libgtkhtml-3.0)

mdarby 04-29-2005 10:54 AM

perhaps you should?

rosariowong 04-29-2005 10:56 AM

I dont't find this package in linuxpackages.
Where I can find this?

keefaz 04-29-2005 11:29 AM

Could you post your output with :

ls -l /usr/lib/libgtkhtml*

rosariowong 04-29-2005 11:51 AM

Output
/usr/bin/ls: /usr/lib/libgtkhtml: No such file or directory

detpenguin 04-29-2005 11:56 AM

Quote:

Originally posted by rosariowong
Output
/usr/bin/ls: /usr/lib/libgtkhtml: No such file or directory

it appears you don't have libgtkhtml installed...you can grab it from linuxpackages here

*edit:

that package is for slack 10.1...but if you search linuxpackages for libgtkhtml under your distro, you should find it...assuming you're not using 10.1

rosariowong 04-29-2005 12:17 PM

This lib is in:
/usr/include/gtkhtml-2.0/libgtkhtml
not in /usr/lib

jong357 04-29-2005 12:26 PM

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....

jong357 04-29-2005 12:47 PM

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.

rosariowong 04-29-2005 01:42 PM

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

rosariowong 04-29-2005 01:46 PM

I think that I have more than one libgtkhtml installed because
if I do:

ls -l /usr/lib/libgtkhtml*

the output:

lrwxrwxrwx 1 root root 35 2005-04-29 18:17 /usr/lib/libgtkhtml -> /usr/include/gtkhtml-2.0/libgtkhtml
-rwxr-xr-x 1 root root 1239 2003-09-03 06:21 /usr/lib/libgtkhtml-2.la
lrwxrwxrwx 1 root root 21 2005-04-28 18:31 /usr/lib/libgtkhtml-2.so -> libgtkhtml-2.so.0.0.0
lrwxrwxrwx 1 root root 21 2005-04-28 18:31 /usr/lib/libgtkhtml-2.so.0 -> libgtkhtml-2.so.0.0.0
-rwxr-xr-x 1 root root 375352 2003-09-03 06:21 /usr/lib/libgtkhtml-2.so.0.0.0
lrwxrwxrwx 1 root root 23 2005-04-29 17:40 /usr/lib/libgtkhtml-3.0.so.2 -> libgtkhtml-3.0.so.2.1.1
-rwxr-xr-x 1 root root 545704 2003-07-29 07:49 /usr/lib/libgtkhtml-3.0.so.2.1.1
-rw-r--r-- 1 root root 17147542 2005-02-14 13:28 /usr/lib/libgtkhtml-3.1.a
-rwxr-xr-x 1 root root 1864 2005-02-14 13:28 /usr/lib/libgtkhtml-3.1.la
lrwxrwxrwx 1 root root 24 2005-04-29 16:32 /usr/lib/libgtkhtml-3.1.so -> libgtkhtml-3.1.so.11.1.6
lrwxrwxrwx 1 root root 24 2005-04-29 16:32 /usr/lib/libgtkhtml-3.1.so.11 -> libgtkhtml-3.1.so.11.1.6
-rwxr-xr-x 1 root root 606040 2005-02-14 13:28 /usr/lib/libgtkhtml-3.1.so.11.1.6
-rwxr-xr-x 1 root root 1849 2005-04-08 20:10 /usr/lib/libgtkhtml-3.6.la
lrwxrwxrwx 1 root root 24 2005-04-29 18:11 /usr/lib/libgtkhtml-3.6.so -> libgtkhtml-3.6.so.18.0.2
lrwxrwxrwx 1 root root 24 2005-04-29 18:11 /usr/lib/libgtkhtml-3.6.so.18 -> libgtkhtml-3.6.so.18.0.2
-rwxr-xr-x 1 root root 628376 2005-04-08 20:10 /usr/lib/libgtkhtml-3.6.so.18.0.2
lrwxrwxrwx 1 root root 28 2005-04-29 17:40 /usr/lib/libgtkhtml-a11y-3.0.so.2 -> libgtkhtml-a11y-3.0.so.2.1.1
-rwxr-xr-x 1 root root 27160 2003-07-29 07:49 /usr/lib/libgtkhtml-a11y-3.0.so.2.1.1
-rw-r--r-- 1 root root 14397692 2005-02-19 14:10 /usr/lib/libgtkhtml.a
-rwxr-xr-x 1 root root 3493 2005-02-19 14:10 /usr/lib/libgtkhtml.la
lrwxrwxrwx 1 root root 20 2005-04-29 16:31 /usr/lib/libgtkhtml.so -> libgtkhtml.so.20.1.1
lrwxrwxrwx 1 root root 20 2005-04-29 16:31 /usr/lib/libgtkhtml.so.20 -> libgtkhtml.so.20.1.1
-rwxr-xr-x 1 root root 500160 2005-02-12 15:35 /usr/lib/libgtkhtml.so.20.1.1

jong357 04-29-2005 03:41 PM

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.


All times are GMT -5. The time now is 01:11 PM.