Recent

Author Topic: cannot find -lTpNumLib: No such file or directory  (Read 628 times)

hertz99

  • Newbie
  • Posts: 1
cannot find -lTpNumLib: No such file or directory
« on: October 01, 2023, 11:17:54 pm »
Hi. I have installed fpc 3.2.2 on Ubuntu 23.04. When I try to import NUMLIB using simple program
Code: Pascal  [Select][+][-]
  1. program HelloWorld;
  2. uses numlib;
  3.  
  4. begin
  5.    writeln('Hello, World!');
  6. end.
  7.  
i get following error
Code: Bash  [Select][+][-]
  1. /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
Code: Bash  [Select][+][-]
  1. -Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux/$fpcsubarch-$fpcmemorymodel
  2. -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

  • Administrator
  • Hero Member
  • *
  • Posts: 11074
  • FPC developer.
Re: cannot find -lTpNumLib: No such file or directory
« Reply #1 on: October 02, 2023, 09:44:55 am »
"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.

 

TinyPortal © 2005-2018