FS#25877 - [ncurses] use symlinks instead of linker scripts to point to the 'wide' variants
Attached to Project:
Arch Linux
Opened by Patrick Palka (orlandu63) - Saturday, 03 September 2011, 15:27 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 September 2011, 00:02 GMT
Opened by Patrick Palka (orlandu63) - Saturday, 03 September 2011, 15:27 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 September 2011, 00:02 GMT
|
Details
Currently trivial linker scripts are used to point e.g
/usr/lib/ncurses.so to /usr/lib/ncursesw.so. However this is
a non-standard configuration and it breaks applications that
use `dlopen` to load ncurses, as it can't handle linker
scripts. Why not use symlinks instead?
|
This task depends upon
Comment by Allan McRae (Allan) -
Sunday, 04 September 2011, 00:01 GMT
It is not particularly non-standard... both Fedora and Gentoo use
similar linker scripts (and they were the only two distros I
checked). Linker scripts are far more robust (especially when
cross compiling) that symlinks. Also, dlopening unversioned
libraries is just wrong...