[tin-bugs] Linking Problem

kbojens at kbojens.de kbojens at kbojens.de
Tue Jul 21 19:00:43 CEST 2015


Hi there,
I may have a nasty problem with the unstable release and CentOS 7.

The configuration is as follows:

$: pwd
/usr/src/tin-2.3.1

./configure --enable-ipv6 --with-coffee --enable-cancel-locks --disable-etiquette --with-screen=ncursesw --enable-locale --disable-mime-strict-charset

The build runs smoothly without any problems but the binary is not
linked against the libncursesw but against libncurses:

$: ldd src/tin
	linux-vdso.so.1 =>  (0x00007ffee3ffe000)
	libncurses.so.5 => /lib64/libncurses.so.5 (0x00007ff8a14d8000)
	libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007ff8a12ae000)
	libc.so.6 => /lib64/libc.so.6 (0x00007ff8a0eec000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007ff8a0ce8000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff8a1709000)

This leads to some nasty and ugly problems with any charset. On the other
hand the problem does not exist with the current stable release:

$: pwd
/usr/src/tin-2.2.1

$: ldd src/tin
	linux-vdso.so.1 =>  (0x00007ffd210b7000)
  libncursesw.so.5 => /lib64/libncursesw.so.5 (0x00007efe6eebd000)
	libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007efe6ec93000)
	libc.so.6 => /lib64/libc.so.6 (0x00007efe6e8d1000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007efe6e6cd000)
	/lib64/ld-linux-x86-64.so.2 (0x00007efe6f0ff000)

The stable release is linked against the libncursew and everything works
fine and as expected. Am I doing something wrong or might this be a bug?




More information about the tin-bugs mailing list