From: Fu-Gangqiang <lispor@163.com>
To: "Hans Aberg" <haberg-1@telia.com>, "Guile bug" <bug-guile@gnu.org>
Subject: Re:Re: Can not work with libguile-2.0
Date: Thu, 17 Feb 2011 21:40:19 +0800 (CST) [thread overview]
Message-ID: <cd4e65.6662.12e33d9909f.Coremail.lispor@163.com> (raw)
In-Reply-To: <09B52B1E-C4BB-498B-8EDE-7573B1516598@telia.com>
"Hans Aberg" <haberg-1@telia.com> wrote:
>I use the flags
> `guile-config compile`
> `guile-config link`
I try to use guile-config, but have the same problem:
$ gcc -o simple-guile simple-guile.c `guile-config compile` `guile-config link`
~/Test/scm $ ./simple-guile
./simple-guile: error while loading shared libraries: libguile-2.0.so.22: cannot open shared object file: No such file or directory
guile-config and pkg-config have the same effect
$ guile-config compile; guile-config link
-pthread -L/usr/local/lib -I/usr/local/include/guile/2.0
-L/usr/local/lib -lguile-2.0 -lgc
$ pkg-config --cflags --libs guile-2.0
-pthread -L/usr/local/lib -I/usr/local/include/guile/2.0 -L/usr/local/lib -lguile-2.0 -lgc
next prev parent reply other threads:[~2011-02-17 13:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 12:02 Can not work with libguile-2.0 Fu-Gangqiang
2011-02-17 13:02 ` Hans Aberg
2011-02-17 13:40 ` Fu-Gangqiang [this message]
2011-02-17 18:04 ` Mark Harig
2011-02-17 18:23 ` Mark Harig
2011-02-18 8:41 ` Andy Wingo
2011-02-17 19:08 ` Mark Harig
2011-02-18 8:53 ` Andy Wingo
2011-02-18 19:42 ` Mark Harig
2011-02-20 10:13 ` Andy Wingo
2011-02-18 1:39 ` Fu-Gangqiang
2011-02-18 8:34 ` Andy Wingo
2011-02-19 15:30 ` linking with libguile-2.0, rpath Bruno Haible
2011-02-20 10:58 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd4e65.6662.12e33d9909f.Coremail.lispor@163.com \
--to=lispor@163.com \
--cc=bug-guile@gnu.org \
--cc=haberg-1@telia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).