Problem with 'vi' after loading Extensions


Forum: myDSL Extensions (deprecated)
Topic: Problem with 'vi' after loading Extensions
started by: tronik

Posted by tronik on Dec. 19 2004,19:44
root@box:/cdrom# vi syslinux.cfg
vi: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

Looks like a libraries problem after loading MyDSL addons,
currently loaded are:
gtk2
gaim-1.0.0
mplayer,
samba
Alsa
xmms,
gnu-utils

I'm not sure how to unload the modules, other than a reboot and I can't do that right now. but if I were a betting man i'd say it has something to do with gnu-utils.

Anyone have any idea about this error with libs? vi is very important =)

Posted by tronik on Dec. 19 2004,20:17
Upon further inspection...
lrwxrwxrwx    1 root     root           22 Nov 15 01:11 libtermcap.so.2 -> /lib/libncurses.so.5.3

# ls -al libncurses*    
lrwxrwxrwx    1 root     root           17 Dec 19 14:15 libncurses.so.5 -> libncurses.so.5.4
-rw-r--r--    1 root     root       252592 Oct 19 13:37 libncurses.so.5.4


root@box:/lib# ln -s libncurses.so.5.4 libncurses.so.5.3


vi
vi: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

=(

Posted by ke4nt1 on Dec. 19 2004,22:40
try this

ln -sf /lib/libncurses.so.5.4 /usr/lib/libtermcap.so.2

I'll place this symlink in the gtk2.dsl file...
The issue is caused by the upgrade to libncurses.so.5.4

The symlink has been added to the gtk2.dsl now in the repository.

Thanks for the heads-up

73
ke4nt

Posted by ArneA on Dec. 19 2004,22:58
Hello,

I too am having trouble with gtk2.dsl. See the following errors which are visible upon exit from window manger. Installed wih the mydsl GetIt button on 0.9.0.1.

Updating the gdk-pixbuf loaders list for GTK+-2.4.0...done.
Creating /etc/gtk-2.0...done.
Updating the IM modules list for GTK+-2.4.0...done.
Updating the modules list for Pango-1.4.0...done.
Creating /etc/pango directory...done.
E: /var/lib/defoma/locked exists.
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
Failed to clean up for defoma: 256 at /usr/sbin/update-pangox-aliases line 49.

If I try to run defoma-reconfigure -f  it just keeps giving me the same error.

Also, I tried to get gnu-utils and still the same problem.

Posted by Wilton on Dec. 20 2004,04:07
I think alsadebs.dsl causes the same problem by upgrading libncurses from 5.3 to 5.4

Should libtermcap.so.2 be linked to the other link libncurses.so.5 instead of the specific libncurses library?

- Warren

Posted by cbagger01 on Dec. 20 2004,05:25
I agree with Wilton.

If the library is changed so that it is linked to the generic libcurses 5 simlink, this problem will not repeat itself in the future  (at least until the next major revision of libncurses, that is).

Posted by ke4nt1 on Dec. 20 2004,07:35
ArneA:

The only time see this issue is if your updating the gtk2/defoma
while having another app using defoma already opened on the desktop.

I'm working on a better startup stript to check for this..

There is an easy one in the abiword app, but some other gtk2 apps
need to update regardless, like when they install fonts, for example..

73
ke4nt

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.