unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Can't use dynamic-link with any shared object file
@ 2016-12-26 17:25 saffronsnail
  2016-12-26 22:24 ` Jan Wedekind
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: saffronsnail @ 2016-12-26 17:25 UTC (permalink / raw)
  To: guile-user

Hello, 
I am working on a project that involves writing some core
functionality in C/C++ and composing behavior in Guile (as I
understand it, this one of the ways that Guile was intended to be
used). However, I cannot load any libraries with dynamic-link. I first
encountered this with my code, but I'm going to use libc in my
examples since the error message is identical, libc is ubiquitous, and
it is the library that is given as an example in the manual. I am on
Arch Linux and I am fully upgraded; this is the error message that I
get:
ERROR: In procedure dynamic-link:
ERROR: in procedure dynamic-link: file "libc.so", message: "file not
found"
I've seen dynamic-link called with and without the 'so' prefix in
various places, so I have tried using "c", "libc", and "libc.so" as
the argument in my call to dynamic-link. They all produced the same
error message. Other people with a similar problem have been asked to
show the output of `ldd -r` or `ldd -d`. Both of them give me the same
output:
ldd: warning: you do not have execute permission for "/lib/libc.so"not
a dynamic executable
Do you know why this error would occur? Any help you can give me would
be appreciated.
Thanks,saffronsnail


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-27  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26 17:25 Can't use dynamic-link with any shared object file saffronsnail
2016-12-26 22:24 ` Jan Wedekind
2016-12-27  1:17   ` saffronsnail
2016-12-27  6:18   ` Eli Zaretskii
2016-12-26 22:26 ` Chris Vine
2016-12-26 23:18 ` spk121

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).