Opened 4 years ago

Closed 4 years ago

#61621 closed defect (fixed)

fpc @3.2.0: ld: library not found for -lc

Reported by: sitrucz1 (Curtis Matz) Owned by: kamischi (Karl-Michael Schindler)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: fpc

Description (last modified by sitrucz1 (Curtis Matz))

When compiling on Big Sur I am receiving the error below.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release
_tarballs_ports_lang_fpc/fpc/work/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/opt/local/var/macpo
rts/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_fpc/fpc/wor
k/fpcbuild-3.2.0/fpcsrc/rtl/units/x86_64-darwin -Fix86_64 -FE. -FUx86_64/units/x86_64-darwin -dRELEA
SE    -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew -FE. utils/msg2inc.pp
:info:build ld: library not found for -lc
:info:build An error occurred while linking 
:info:build msg2inc.pp(822,51) Error: Error while linking
:info:build msg2inc.pp(822,51) Fatal: There were 1 errors compiling module, stopping
:info:build Fatal: Compilation aborted

To reproduce I cleaned the port and then tried to install.

xxx@yyyy ~ % sudo port clean fpc
--->  Cleaning fpc
xxx@yyyy ~ % sudo port install fpc
--->  Fetching archive for fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/fpc/fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/fpc
--->  Fetching distfiles for fpc
--->  Verifying checksums for fpc
--->  Extracting fpc
--->  Configuring fpc
--->  Building fpc
Error: Failed to build fpc: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_fpc/fpc/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port fpc failed

Attachments (1)

main.log (60.8 KB) - added by sitrucz1 (Curtis Matz) 4 years ago.
Build Log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by sitrucz1 (Curtis Matz)

Port: fpc added

comment:2 Changed 4 years ago by sitrucz1 (Curtis Matz)

Description: modified (diff)

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Keywords: free pascal removed

comment:4 Changed 4 years ago by kencu (Ken)

log please

Changed 4 years ago by sitrucz1 (Curtis Matz)

Attachment: main.log added

Build Log

comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added
Owner: set to kamischi
Status: newassigned
Summary: fpc 3.2.0: Linker Errorfpc @3.2.0: ld: library not found for -lc
Version: 2.6.4

comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.