Re: [m-users.] Completely statical linking
Volker Wysk <[email protected]>
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
Am Sonntag, dem 05.02.2023 um 13:17 +1100 schrieb Julien Fischer: > Hi Volker, > > On Sat, 4 Feb 2023, Volker Wysk wrote: > > > I'm trying to link a program completely statically, by using "--mercury- > > linkage static" and "--linkage static". I get warning messages like this: > > > > /usr/bin/ld: (.text+0x11e): Warnung: Using 'getpwuid_r' in statically linked > > applications requires at runtime the shared libraries from the glibc version > > used for linking > > > > Why does it require shared libraries at runtime? That's what I want to > > circumvent by linking statically! > > That's an issue with glibc, not Mercury. > > More genererally: using --linkage static is difficult on many modern > Linux systems and (practically) impossible on others (e.g macOS) due to > limitations imposed by the OS / system designers. Seems like I need to make an AppImage... Bye, Volker _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmPfRaQACgkQ+K4ydFOs HoWz0g/+OdGIe631fPdYGt/2ga1nvPapaJK7UqRUTxRDB8uinJrIMfiPX916AGQo l8+M3wPxu/Wt+BiHlnoAUKX0Vnt/7ttr26ilaKfUOxu9UGN1ROTumw2lUHST0FI+ RidBcr60duY634DQl9zCht1qwmP08j4NFheRZF9Rka4bYg/SIeYR94FinyIAvtJq gXtDvE7RNZLjbh7Z1nRyk/n/GMhtQqouN9OegxJiF/cS8Sf7wNrBxhcGXwJmFJuD EgeYnXYjZPsVETY6CLrmvb2kRjZeP5AfH+QXjlmqRpoGO7j7Ai3rP4K1eA7jIEHP N9fW4lchWKJCLhJn3MtrcSL3wv0jhgEIEn3iTK+V/BNyMypuzugUOOYrsJbRYYrQ fsS7B2qG1xCeXIc2zIE1BMemj6AgRoyxgmK+kjju41h1Qte+mYAcoI2hxQJ7NyK9 Jc8JWpfbiv6YdEktGqr5ZYFbLAGDRWNR3z4OMPTS20Q/2fDEp/NNJRYg2l4UeBCc KuGvfkqt7ap0iNingoQdb3OwvXZCakYZq7oa0hy+hHS/5ue5rq0nNpHFK/bSpp+l 72ayjxkukBQJ1VN7iPQdRcwWpoeNIMCZZ+SaJdhdtJ4xfRCn6emlXMiuuTmRa6dB FSZ0FpyWbc5VcefVJ1lsT+leUiMnNjnlNYQCYUy3Y4x6jsTD10g= =ZxK9 -----END PGP SIGNATURE-----