From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fu-Gangqiang Newsgroups: gmane.lisp.guile.bugs Subject: Re:Re: Can not work with libguile-2.0 Date: Thu, 17 Feb 2011 21:40:19 +0800 (CST) Message-ID: References: <09B52B1E-C4BB-498B-8EDE-7573B1516598@telia.com> <1e640654.925f.12e338022b5.Coremail.lispor@163.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297950055 11058 80.91.229.12 (17 Feb 2011 13:40:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 13:40:55 +0000 (UTC) To: "Hans Aberg" , "Guile bug" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Feb 17 14:40:50 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq46D-0006iB-29 for guile-bugs@m.gmane.org; Thu, 17 Feb 2011 14:40:49 +0100 Original-Received: from localhost ([127.0.0.1]:48316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq46C-0000gH-5Y for guile-bugs@m.gmane.org; Thu, 17 Feb 2011 08:40:48 -0500 Original-Received: from [140.186.70.92] (port=50696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq45w-0000e9-Se for bug-guile@gnu.org; Thu, 17 Feb 2011 08:40:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq45v-0003m8-Jj for bug-guile@gnu.org; Thu, 17 Feb 2011 08:40:32 -0500 Original-Received: from m13-143.163.com ([220.181.13.143]:52759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq45u-0003lQ-Ft for bug-guile@gnu.org; Thu, 17 Feb 2011 08:40:31 -0500 Original-Received: from lispor ( [110.52.62.11] ) by ajax-webmail-wmsvr143 (Coremail) ; Thu, 17 Feb 2011 21:40:19 +0800 (CST) In-Reply-To: <09B52B1E-C4BB-498B-8EDE-7573B1516598@telia.com> X-Originating-IP: [110.52.62.11] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110119(12730.3605.3605) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-TRANSID: j8GowKBbTAREJV1NZJIMAA--.1583W X-CM-SenderInfo: xolv10ru6rljoofrz/1tbipg3op0gYxzRnfwACsd X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 220.181.13.143 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5171 Archived-At: "Hans Aberg" 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