GNU bug report logs -
#48458
Invalid %host-type on macOS, breaking dynamic loading
Previous Next
To reply to this bug, email your comments to 48458 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#48458
; Package
guile
.
(Sun, 16 May 2021 02:03:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthew Keeter <matt.j.keeter <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Sun, 16 May 2021 02:03:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Good evening,
I’m running into an interesting issue with Guile 3.07, where dynamic-link has stopped working (macOS 10.14).
(details in this thread: https://github.com/libfive/libfive/issues/440)
Hunting through the code, I see that foreign-library.scm defines system-library-extensions by checking
(string-contains %host-type "-darwin-“)
However, my local %host-type is "x86_64-apple-darwin18.7.0” – note the lack of dash after “darwin”, which means this doesn’t match, so it doesn’t look for files ending in “dylib”
Is this a Guile bug, or is the %host-type triple constructed wrong somehow?
(I know that dynamic-link is deprecated, but load-dynamic-library is also broken due to this)
Thanks,
Matt Keeter
This bug report was last modified 3 years and 196 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.