From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Readline support in Cygwin Date: Wed, 09 Jan 2013 22:57:34 +0100 Message-ID: <87wqvmj9yp.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357768662 11728 80.91.229.3 (9 Jan 2013 21:57:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2013 21:57:42 +0000 (UTC) Cc: guile-user@gnu.org To: Akop Pogosian Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 09 22:57:59 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tt3ep-0007oB-9R for guile-user@m.gmane.org; Wed, 09 Jan 2013 22:57:59 +0100 Original-Received: from localhost ([::1]:33918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3eZ-0003SE-Kc for guile-user@m.gmane.org; Wed, 09 Jan 2013 16:57:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3eV-0003RR-2S for guile-user@gnu.org; Wed, 09 Jan 2013 16:57:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tt3eT-0002wa-LE for guile-user@gnu.org; Wed, 09 Jan 2013 16:57:38 -0500 Original-Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:39182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tt3eT-0002wP-FQ for guile-user@gnu.org; Wed, 09 Jan 2013 16:57:37 -0500 X-IronPort-AV: E=Sophos;i="4.84,440,1355094000"; d="scan'208";a="189167008" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 09 Jan 2013 22:57:35 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Niv=C3=B4se?= an 221 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Akop Pogosian's message of "Tue, 8 Jan 2013 21:10:34 -0600") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.82 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9836 Archived-At: Hi! Akop Pogosian skribis: > # ERROR: In procedure load-extension: > # ERROR: In procedure dynamic-link: file: "libguilereadline-v-18", > message: "The specified module could not be found." [...] > # $ ls software/packages/guile-2.0.7/lib/ > # guile libguile-2.0.la libguilereadline-v-18.la > # libguile-2.0.a libguilereadline-v-18.a pkgconfig As you can see, you only have a static version of libguilereadline, which is why =E2=80=98dynamic-link=E2=80=99 fails. > CCLD libguilereadline-v-18.la > > *** Warning: This system can not link to static lib archive > ../libguile/libguile-2.0.la. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have. > > *** Warning: linker path does not have real file for library -lreadline. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because I did check the linker path looking for a file starting > *** with libreadline but no candidates were found. (...for file magic tes= t) You would need to look for other such warnings previously in the build process that would explain while no shared version of libguile was produced either. One way to investigate is first to check the output of: grep -A1 shared /path/to/guile/config.log Another is to check whether all of Guile=E2=80=99s dependencies (libunistri= ng, libiconv, libffi, libgc, etc.) have a shared version. If one is lacking, libtool won=E2=80=99t create libguile-2.0.dll. HTH, Ludo=E2=80=99;.