Re: On Mac Ventura, Pike v9 missing GMP symbols
Mike Kilmer <[email protected]> Mon, 11 Mar 2024 09:15:49 -0500
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_BE193CD8-C1EA-4C69-AD6E-3335218E7118 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Poking around further, linker_options contains: = /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a Chris says that his (Debian) install includes the -lgmp option at the = end of that path. config.status contains: S["LIBS"]=3D" -lgmp" Makefile: MODULE_LDFLAGS=3D-L/usr/local/opt/ruby/lib = -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib \ -L/usr/local/lib -framework Foundation -framework System = -framework CoreServices \ = -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo= lchain/usr/lib/clang/14.0.3 \ -ldl -lutil -lm -lpoll -framework CoreServices -lgmp gmp_machine.h: #define HAVE_GMP_H 1 #define HAVE_LIBGMP 1 Mike= --Apple-Mail=_BE193CD8-C1EA-4C69-AD6E-3335218E7118 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;">Poking around = further, linker_options contains:<div><br></div><div><div><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/modul= e.a</div></div><div><br></div><div>Chris says that his (Debian) install = includes the -lgmp option at the end of that = path.</div><div><br></div><div>config.status = contains:</div><div><div><br></div><div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>S["LIBS"]=3D" = -lgmp"</div></div><div><br></div><div>Makefile:</div><div><br></div><div><= span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>MODULE_LDFLAGS=3D-L/usr/local/opt/ruby/lib = -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib = \</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span>-L/usr/local/lib -framework Foundation -framework System = -framework CoreServices \</div><div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> = </span>-L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul= t.xctoolchain/usr/lib/clang/14.0.3 \</div><div><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> = </span> -ldl -lutil -lm -lpoll -framework CoreServices = -lgmp</div><blockquote style=3D"margin: 0 0 0 40px; border: none; = padding: = 0px;"><div><br></div></blockquote>gmp_machine.h:<div><br></div><blockquote= style=3D"margin: 0 0 0 40px; border: none; padding: = 0px;"><div><div>#define HAVE_GMP_H 1</div></div><div><div>#define = HAVE_LIBGMP 1</div></div><div><br></div></blockquote>Mike</body></html>= --Apple-Mail=_BE193CD8-C1EA-4C69-AD6E-3335218E7118--