[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkdir "segmentation fault" bug
From: |
Bob Proulx |
Subject: |
Re: mkdir "segmentation fault" bug |
Date: |
Mon, 16 Aug 2004 23:32:12 -0600 |
User-agent: |
Mutt/1.3.28i |
Scott Powell wrote:
> i recently ran "apt-get upgrade" on my RH7.2 system.
> now in bash, running "mkdir" returns "Segmentation
> fault." however, i can still create directories
> through nautilus in X.
>
> is there a fix?
You provided very little information for us to diagnose and debug your
problem. Very likely this is not a bug in mkdir but a bug in your
installation. You are most likely missing shared libraries used by
the compilation of the command.
Try running ldd on the binary and seeing that all of the libraries are
resolved. On my (Debian) system the following result is produced.
ldd $(type -p mkdir)
libc.so.6 => /lib/libc.so.6 (0x4001f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
On your rpm based system the following command should provide some
useful version information even if the command itself is core dumping.
rpm -qf /bin/mkdir
And
rpm -qi $(rpm -qf /bin/mkdir)
Bob