Re: [Debian]: Hamm: fvwm2 st"urzt ab
On Sep 17, Andreas Tille wrote:
> Keine Fehlermeldungen aber eine core dump. .xsession-errors ist leer.
>
> Also habe ich in /etc/X11/Xsession zeilenweise Debuganweisungen
> geschrieben und auf diese Weise herausgefunden, da"s der Absturz
> innerhalb von
>
> exec /usr/X11R6/bin/fvwm2
>
> auftritt. Nun bin ich allerdings mit meinem Latein am Ende.
> Ach ja vorsichtshalber habe ich das aktuelle fvwm2-Paket noch mal
> dr"uberinstalliert (dpkg -i) ... das brachte nichts.
Der Pfad wo die Bibliotheken zu suchen sind wurden bei dem fvwm2
wohl fest eincompiliert, so dass er die alten libc5 Bibliotheken
nicht in dem libc5-compat Verzeichnis finden kann.
Folgende Mail hilft Dir eventuell weiter:
-------------------- c u t h e r e --------------------
Subject: Getting rid of -r /usr/X11R6/lib
Date: Sun, 14 Sep 1997 05:55:16 -0700
From: Philippe Troin <phil@fifi.org>
[Followups redirected to debian-devel]
Some packages in hamm have been linked with the -r /usr/X11R6/lib
option and break on a libc6 system with the new libc6 X libraries
(coredump).
This perl script will patch these programs and make them work:
=========== BEGIN SCRIPT
#!/usr/bin/perl -w
# Open file
open IN, "$ARGV[0]" or die "can't find $ARGV[0]: $!";
# Read it in one slurp
select IN;
undef $/;
select STDOUT;
$file=<IN>;
close IN;
# Remove this string
$count=$file=~s!/usr/X11R6/lib\0!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0!g;
print "Replaced: $count occurences in $ARGV[0]\n";
# Write the file
open OUT, ">$ARGV[0].out" or die "can't write $ARGV[0].out: $!";
print OUT $file;
close OUT;
=========== END SCRIPT
It's been working with emacs, xpmroot (package fvwm-common), fvwm2.
All these programs now work like a charm (and got bugs assigned :-).
Note: You should get one and only one replacement, otherwise it
indicates something's gone wrong.
Phil.
-------------------- c u t h e r e --------------------
munter bleiben
Peter
--
Peter Tobias <tobias@et-inf.fho-emden.de> <tobias@debian.org> <tobias@linux.de>
PGP ID EFAA400D, fingerprint = 06 89 EB 2E 01 7C B4 02 04 62 89 6C 2F DD F1 3C
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <your_email_address>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 204
Reply to: