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


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to