Re: ldconfig responds with Illegal Instruction, cannot
Chris Purves wrote:
> Here are the contents of the file:
> #!/bin/sh -e
> case "$1" in
> # Automatically added by dh_makeshlibs
> if [ "$1" = "configure" ]; then
> # End automatically added section
> Line 3 is the case statement. I don't have much practice with shell
> scripting, so I don't know if there's a problem. Also, if I run
> "ldconfig" at the command line, it returns "Illegal instruction", so I
> don't know if the problem lies with the postinst file.
Nope; if you get the same error when running "ldconfig" at the command
prompt, the problem is not in the script.
Next, try "strace ldconfig" and watch for any error messages.