Description of problem:
ghci (from package ghc) tries to dynamically load the file /usr/lib/libncursesw.so when compiling a certain package, and fails with the error message:
Loading package terminfo-0.3.1.1 ... <command line>: can't load .so/.DLL for: ncursesw (/usr/lib/libncursesw.so: file too short)
It turns out that this file is a plain text file. I thought .so files were supposed to be binaries?
Version-Release number of selected component (if applicable):
The libncursesw.so symlink was replaced recently with a linker script to help packages link correctly with libncurses since the linker is now using --no-add-needed by default.
Going back would probably mean patching tens of packages.
Could be ghci modified to try to load libncursesw.so.5 instead?
I discovered ghci has been fixed upstream to do the right thing. Thanks - sorry for the bogus bug report.