|
From: | Jeffrey Kintscher |
Subject: | Re: bug in start_color() affecting extended_pair_content() in version 6.1 |
Date: | Sat, 25 May 2019 13:57:14 -0700 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 5/21/19 4:27 PM, Thomas Dickey wrote:Debugging dynamic linkage problems on OS X can be a pain, so I moved to a system with Ubuntu 16.04.4 LTS and reproduced the problem.I build a copy of your test program, turning on the debug-trace and collecting the output logs, etc. in the attached, but don't see a problem. I made sure to use the terminfo database which was built with ncurses 6.1: I started by building everything from scratch. These steps assume ncurses.tar.gz and testcolors.zip are in the current directory at start:
address@hidden:~/src/ncurses-6.1/build$ ldd foo/foo linux-vdso.so.1 => (0x00007fff9b1ec000) libncursesw.so.6 => not found libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd9a8f7a000) /lib64/ld-linux-x86-64.so.2 (0x00007fd9a9344000) Specifying the library path on the command line forces foo to use the library I just built: address@hidden:~/src/ncurses-6.1/build$ LD_LIBRARY_PATH=/tmp/FOO/lib ldd foo/foo linux-vdso.so.1 => (0x00007ffc4e9c7000) libncursesw.so.6 => /tmp/FOO/lib/libncursesw.so.6 (0x00007f3606417000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f360604d000) /lib64/ld-linux-x86-64.so.2 (0x00007f3606698000) The extended color functions still fail: address@hidden:~/src/ncurses-6.1/build$ LD_LIBRARY_PATH=/tmp/FOO/lib foo/foo init_extended_pair(COLOR_PAIRS-1, 1, 1): -1 COLOR_PAIRS: 65536 extended_pair_content(COLOR_PAIRS-1, &f, &b): -1 f: 3276 b: -1749703152 The config.log file is attached. My system details are: OS: Ubuntu 16.04.4 LTS uname -a Linux albarino.praecino.net 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux make --version GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- ----------------------------------------- >From there to here, from here to there, funny things are everywhere. -- Theodore Geisel |
config.log.gz
Description: GNU Zip compressed data
[Prev in Thread] | Current Thread | [Next in Thread] |