Subj : Re: Thanks see forward to maybe have fmail as well from git ?
To   : Benny Pedersen
From : Wilfred van Velzen
Date : Tue Jul 23 2024 09:21 am

* Originally in FUTURE4FIDO
* Crossposted in FMAIL_HELP

Hi Benny,

On 2024-07-22 23:24:50, you wrote to me:

WvV>> It's a link problem, because it doesn't link to the right library
WvV>> file.

BP> could this be a prefix problem ?, if it compiles and installed it
BP> would on gentoo be with prefix of /usr/local, while all ebuilds is in
BP> /usr, is linker libs search only in /usr/local/lib64 or both
BP> /usr/local/lib64 and /usr/lib64 in that order ?

I don't know about gentoo, but cmake should take care automatically of such issues. Was there anything in the cmake output?
Maybe cmake isn't configured right?

BP> what are your own output from linked elfs from fmail ftools fconfig ?,
BP> this will revail where ncurses is installed, next i think og is what

(Only fconfig uses ncurses)

# ldd fconfig
       linux-vdso.so.1 (0x00007ffef25f1000)
       libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f861bac3000)
       libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f861b88f000)
       libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f861b50a000)
       libm.so.6 => /lib64/libm.so.6 (0x00007f861b209000)
       libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f861aff2000)
       libc.so.6 => /lib64/libc.so.6 (0x00007f861ac49000)
       libdl.so.2 => /lib64/libdl.so.2 (0x00007f861aa45000)
       /lib64/ld-linux-x86-64.so.2 (0x00005650bea44000)

BP> ncurses version have you ?

# rpm -qi ncurses-devel
Name        : ncurses-devel
Version     : 5.9
Release     : 53.4
Architecture: x86_64
Install Date: Fri Mar  4 13:16:38 2016
Group       : Development/Libraries/C and C++
Size        : 26257165
License     : MIT
Signature   : RSA/SHA256, Sun Oct 25 06:48:17 2015, Key ID b88b2fd43dbdc284
Source RPM  : ncurses-5.9-53.4.src.rpm
Build Date  : Sun Oct 25 06:47:41 2015
Build Host  : build75
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://invisible-island.net/ncurses/ncurses.html
Summary     : Include Files and Libraries mandatory for Development


But I also tested on a newer system with this ncurses version:

# rpm -qi ncurses-devel
Name        : ncurses-devel
Version     : 6.1
Release     : 150000.5.24.1
Architecture: x86_64
Install Date: Tue Apr  9 09:55:20 2024
Group       : Development/Libraries/C and C++
Size        : 17229428
License     : MIT
Signature   : RSA/SHA256, Mon Feb 19 16:22:21 2024, Key ID 70af9e8139db7c82
Source RPM  : ncurses-6.1-150000.5.24.1.src.rpm
Build Date  : Mon Feb 19 16:21:17 2024
Build Host  : h04-ch2a
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : SUSE LLC <https://www.suse.com/>
URL         : http://www.invisible-island.net/ncurses/ncurses.html
Summary     : Development files for the ncurses6 terminal control library

BP> my /usr/local/lib64 is empty, so here only libs installed from
BP> emerges, maybe i just need to install ncurses as non root user, just
BP> like fmail is ?, will it make sense ?

I don't think so...


Bye, Wilfred.

--- FMail-lnx64 2.3.2.4-B20240523
* Origin: FMail development HQ (2:280/464)