Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-07

Problem linking TESTIB.PP

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eduardo Lopez

Hello all:

I'm trying to compile te TESTIB.PP and I get the following error:

Linking testib.exe
c:\pp\bin\win32\ldw.exe: cannot find -ldl
testib.pp(89,1) Error: Error while linking
Closing script ppas.bat

What I'm doing wrong?
Thanks in advance.

Eduardo

Unknown author
to Eduardo Lopez
Eduardo Lopez wrote 8 lines
Hello all: I'm trying to compile te TESTIB.PP and I get the following error: Linking testib.exe c:\pp\bin\win32\ldw.exe: cannot find -ldl testib.pp(89,1) Error: Error while linking Closing script ppas.bat
Remove the {$linklib dl} from the source code, or put it between
{$ifndef win32}
{$endif}
it is only needed on Linux.

Michael.

Marco van de Voort
to Unknown author
Show quoted text 16 lines
On Fri, 18 Jul 2003, Eduardo Lopez wrote: > Hello all: > > I'm trying to compile te TESTIB.PP and I get the following error: > > Linking testib.exe > c:\pp\bin\win32\ldw.exe: cannot find -ldl > testib.pp(89,1) Error: Error while linking > Closing script ppas.bat Remove the {$linklib dl} from the source code, or put it between {$ifndef win32} {$endif} it is only needed on Linux.

If it will be fixed in CVS:

It's not needed in *BSD either, so please make it really Linux only.

Unknown author
to Marco van de Voort
Marco van de Voort wrote 20 lines
> On Fri, 18 Jul 2003, Eduardo Lopez wrote: > > > Hello all: > > > > I'm trying to compile te TESTIB.PP and I get the following error: > > > > Linking testib.exe > > c:\pp\bin\win32\ldw.exe: cannot find -ldl > > testib.pp(89,1) Error: Error while linking > > Closing script ppas.bat > > Remove the {$linklib dl} from the source code, or put it between > {$ifndef win32} > > {$endif} > it is only needed on Linux. If it will be fixed in CVS: It's not needed in *BSD either, so please make it really Linux only.

Done.

Michael.