Sign in Join

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

Mailing lists / fpc-pascal / 2007-07

Linking error under Ubuntu 6.06-LTS

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Robert Wolfe

Good morning, everyone. Just signed up to this mailing list because of a small problem I am having trying to build programs under FPC 2.0.4 and the latest version. When I run ppc386 on a source file, the file and all units compile just fine, but when it gets to the linking stage, I get the following error:

Linking check_snmp
/usr/bin/ld: cannot find -ldl
Error: Error while linking

I am running under Ubuntu 6.06-LTS in an x86 VMWare 6 environment which I use to develop software on. This is the x86 version of Ubuntu. Do I need to upgrade to Ubuntu 7.04 to resolve this issue?

Jonas Maebe
to Robert Wolfe
Robert Wolfe wrote 11 lines
Good morning, everyone. Just signed up to this mailing list because of a small problem I am having trying to build programs under FPC 2.0.4 and the latest version. When I run ppc386 on a source file, the file and all units compile just fine, but when it gets to the linking stage, I get the following error: Linking check_snmp /usr/bin/ld: cannot find -ldl Error: Error while linking

Install the libc-devel package for your distribution (or whatever it is called on your system).

Jonas