Re: csm -static: could not find linked extension
Felix Winkelmann via Chicken-users <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
On Mon Aug 24, 2026 at 5:43 PM CEST, Matto Fransen via Chicken-users wrote: > Hi, > > I installed Chicken Scheme 6.0.0 from the targz on FreeBSD 15.1 > and wanted to compile my program that uses modules. > > When I try to build using csm with -static, I get an error > "csc: could not find linked extension". > Without the -static, it builds fine. > > I tried to bring it back to the minimum as an example: >[...] > and trying to build with: > > csm -static -program hello -main hello-main.scm > > which will generate the error: > csc: could not find linked extension: hello-print There has been a change how csm names objects and so csc (from the chicken core) wasn't able to find the module/link file. I apologize for breaking this - please try a more recent CHICKEN version, from git, if possible or by downloading a development snapshot that I will prepare in the next days, hopefully. Note that the "-main hello-main.scm" seems wrong, the program should build fine without it (also: -main wants a module name, not filename). thanks for reporting the problem. cheers, felix