On 07/04/2013 03:29 PM, Miroslav Lichvar wrote:
Perhaps the best option would be to rename the symlink and replace it with a linker script containing just "INPUT(-lSDL-1.2)" to keep ldconfig happy. This is how it's done in the ncurses-devel package for libcurses.
Unless I'm missing something, this is fairly common (see the attachment). Perhaps changing ldconfig is better?