> On Jun 6, 2017, at 09:16, jfbu <j...@free.fr> wrote: > > Le 06/06/2017 à 17:39, Alexander Hansen a écrit : >>> On Jun 5, 2017, at 13:38, jfbu <j...@free.fr> wrote: >>> Undefined symbols for architecture x86_64: >>> "_renameat", referenced from: >>> _force_linkat in force-link.o >>> _force_symlinkat in force-link.o >>> ld: symbol(s) not found for architecture x86_64 >>> clang: error: linker command failed with exit code 1 (use -v to see >>> invocation) >> [snip] >> How about showing us the full compiler line before the error occurs? >> “Similar” may not be applicable here. > > Hi, sorry I lost that console output. > > But I can report I have fixed my problem via these steps: > > 1. cp coreutils-8.27.tar.xz from /sw/src > > 2. untar, apply the patches at > > - > https://github.com/macports/macports-ports/commit/61f1b0d17c631cfd25220ddb283b28a51df49927 > > (this means adding the missing renameat.m4, renameat.c, doing the > two other patches, dropping the MacPorts specific one) > > - > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=e3c51a3357cf9486040e94ee404d26af8ba7276a > > (this is an edit in bootstrap.conf) > > 3. tar again, cp back in /sw/src > > 4. launch fink install coreutils and tell it to ignore that sha sum is wrong > (which is dangerous in so far as malicious code could have > been there, but then earlier attempt with the unmodified > coreutils-8.27.tar.xz would have reported bad sha) > > Success... > > It worked and then I could finish installing imagemagick on my mac os > 10.9.5 > > $ convert --version > Version: ImageMagick 7.0.5-5 Q16 x86_64 2017-06-06 http://www.imagemagick.org > Copyright: © 1999-2017 ImageMagick Studio LLC > License: http://www.imagemagick.org/script/license.php > Features: Cipher DPC HDRI Modules > Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype jbig jng jp2 > jpeg lcms lqr ltdl lzma openexr png rsvg tiff webp wmf x xml zlib > > I can possibly upload somewhere my own patched copy of > coreutils-8.27.tar.xz if that is of any use to people > > Jean-François >
Thanks. It does indeed look like this is a 10.9-specific problem (and earlier, but we aren’t supporting those OS versions). The package description for coreutils can be modified to apply those patches via Fink’s normal methodology, rather than distributing a modified tarball—we don’t generally do that. However, if you send me the tarball, I can use that to generate the patch. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users