Forum > Packages and Libraries

cannot find -lTpNumLib: No such file or directory

(1/1)

hertz99:
Hi. I have installed fpc 3.2.2 on Ubuntu 23.04. When I try to import NUMLIB using simple program

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---program HelloWorld;uses numlib; begin   writeln('Hello, World!');end. i get following error

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---/usr/bin/ld: cannot find -lTpNumLib: No such file or directoryI 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

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ----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.

marcov:
"numlib" was an attempt to build an DLL with all functions for windows 3.x. It is currently not used.

Use the individual units (SPE, Eig etc) directly, rather than via the numlib dll.

Navigation

[0] Message Index

Go to full version