Hi. I have installed fpc 3.2.2 on Ubuntu 23.04. When I try to import NUMLIB using simple program
program HelloWorld;
uses numlib;
begin
writeln('Hello, World!');
end.
i get following error
/usr/bin/ld: cannot find -lTpNumLib: No such file or directory
I tried to log the compiling process using -vut as suggested on some forums. It is attached. I also tried to configure the .fpc.cfg with
-Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux/$fpcsubarch-$fpcmemorymodel
-Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux/$fpcsubarch-$fpcmemorymodel/*
as suggested. None of that worked.
I also tried multiple of fpc versions (3.2.2, 3.2.0, 2.6.4). All of them with the same result.
Could you please help me? Thanks.