From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,99ebd013db0ced57 X-Google-Attributes: gid111c93,public From: Hans Aschauer Subject: Re: RedHat 5.0: libg++, libstdc++ bug? Date: 1997/12/10 Message-ID: <348E8B7B.792CAEB@Physik.uni-muenchen.de>#1/1 X-Deja-AN: 296900907 References: <348d3155.0@rainbow.hrz.uni-siegen.de> Distribution: world Organization: Kapunet WG Newsgroups: comp.os.linux.alpha Mika Kortelainen wrote: > > Nils Faerber writes: > > > Is it possible that libg++ and libstdc++ that come with RedHat 5.0 have a > > severe bug? Every program I link against those seg-faults immediately at > > startup! > > Something very annoying especially if one wants to use KDE. Some KDE > > programs rely on finctions from those libraries, though luckily not many ;) > > I noticed the same. Apparently something is really broken. And I > also hope to find a nice solution. > > Mika Kortelainen Well, not a solution but a hack, so I don�t know if it brakes something else: Take the libc (which is the guilty one imo, segfaults in iofclose:44, called by fclose in QFile::close()) from RH4.2 and install it in /lib (some programs don�t like the libc in eg. /usr/local/lib, though this is not true for qt/kde). Make sure that there are no links from libc.so.6 to libc-2.0.5.so. Run /sbin/ldcofig, which will also link /lib/libc.so.6 to the old libc. Now you can install the alpha _binaries_ for kde and qt and it should be ok. If it does not work: email me and I will try to find the correct solution, as the Alpha is already sold and I�m writing this from memory. BTW. Does anybody know how I can link a program against the old libc, so that I can install kde from the sources? -- Hans. Hans.Aschauer@Physik.uni-muenchen.de