On 1/24/25 4:11 AM, Michael Van Canneyt via fpc-pascal wrote:
It seems FPC on my OpenSuse installation is broken somehow.
I have removed FPC and installed it directly from the RPM downloads
on the Free Pascal site and it suffered the same problems.
I then re-installed the OpenSuse Tumbleweed version
The problem is a mismatch between the fpc import units and the libraries
installed. A fpc import unit such as ncurses (ocrt,ncrt) describes all the
functions and types in a library. It follows that if the library no longer
offers these functions, the unit is no longer correct and linking will fail
(as you observed).
The conclusion is that opensuse ships different ncurses libraries than
debian, and the fpc units describe the units as found on debian. Up till
a certain version
An OpenSuse user seems to have found the solution. Here is what
Jan Engelhardt found.
ncurses6 ABI has _nc_ prefixes $ nm -CD /usr/lib64/libtinfo.so.6 | grep
stdscr 000000000000ff20 T _nc_stdscr
I am in the process of changing the source on my system. We'll see what
happens.
Frank McCormick
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal