Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Re: libwcsmbs



Well, it might be a bit late, but I found a _wonderful_ solution to this
problem... I think this should be in some FAQ or something...

I messed with the libwcsmbs on a RedHat 6.1 and was then was unable to do
anything with any dynamically linked programs. So, as I have no statically
linked utils on my system, all I could do was either

 - run rpm (it's statically linked)
 - run ldconfig (likewise)
 - use shell commands

Solution (I was lucky enough to have a shell running with root perms):

~# echo >/lib/libwcsmbs.so.0
~# echo >/etc/ld.so.preload
~# echo >/etc/ld.so.cache
~# ldconfig

And voilą, no boot. Then, obviously, rm -f /lib/libwcsmbs.so.0, rpm -e
whatever and so on. (I couldn't do rpm -e before the problem was solved,
because it seems to trigger shells etc.)

On Sun, 10 Oct 1999, Jerome Limozin wrote:

> "Eric S. Standlee" wrote:
> 
> > I installed a libwcsmbs package off the linux.or.jp ftp server and it
> > killed my system.  On boot it (init?) would lock up saying something
> > about an undefined variable related to libwcsmbs.  This may portray my
> > lack of experience in the shared library portion of linux, but as many
> > times as I tried to use the rescue disk to go in and remove the libwcsmbs
> > files from /lib, /usr/lib, and some X11R6/lib directory, it popped up
> > again and I ended up reinstalling RH6.0
> >
> > I am baffoozled.  Any help?
> >
> > Eric
> >
> 
> Hi Eric,
> 
> Seems too late, but I've got same problem as you some time ago, trying to
> 'japanize' my redhat 6.0 installation, and I could recover without reinstalling
> everything.
> 
> I installed libwcsmbs package, and -guess what- my system would boot any more.
> Hopefully, I had a rescue disk, so I could go around my system, and I finally
> found that the file /etc/ld.so.conf mentioned the library libwcsmbs.so.0 (I
> don't remember path), among others.
> As far as I understand, the system tried to load this library before running any
> command. Since it is incompatible with new glibc, I couldn't run anything.
> So, the cure was :
>     - boot with rescue disk
>     - in /etc/ld.so.conf, remove the line with libwcsmbs
>     - sync, reboot normally
>     - remove the package.... rpm -e libwcsmbs
> 
> 
> Jerome

-- 
            Tapio Peltonen <tappel@example.com>
         [http://www.jyu.fi/cgi-bin/finger?macky@example.com]
      This novel is not to be tossed lightly aside, but to be hurled with
   great force.            -- Dorothy Parker

--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links