From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Allouche Newsgroups: gmane.lisp.guile.user Subject: Linking statically with libguile on Debian Date: Thu, 9 May 2002 01:28:08 +0200 Sender: guile-user-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1020900649 23974 127.0.0.1 (8 May 2002 23:30:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 May 2002 23:30:49 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 175atV-0006EY-00 for ; Thu, 09 May 2002 01:30:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 175ass-0007x4-00; Wed, 08 May 2002 19:30:10 -0400 Original-Received: from nemesis.xlii.org ([62.4.23.172] helo=nemesis) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 175art-0007nH-00 for ; Wed, 08 May 2002 19:29:09 -0400 Original-Received: from david by nemesis with local (Exim 3.35 #1 (Debian)) id 175aqu-0008TP-00 for ; Thu, 09 May 2002 01:28:08 +0200 Original-To: guile-user@gnu.org X-Mailer: KMail [version 1.3.2] Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:399 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:399 Hello, I am new on this mailing list. I am a TeXmacs developper and I currently have problems with statically=20 linking a binary against libguile 1.4 on Debian. The problem is that: david@nemesis david$ guile-config link -L/usr/lib -lguile -lqthreads -lpthread -lm But at link time, I get the following error: /usr/local/guile-1.4/lib/libguile.a(dynl.o): In function=20 `sysdep_dynl_link': /home/david/Desktop/guile-core-1.4/libguile/dynl.c:243: undefined=20 reference to `lt_dlopenext' The link command being: c++ Objects/basic_group.o [...] Objects/std_widget_group.o -Wl,-Bstatic=20 -L /home/david/Desktop/TeXmacs/TeXmacs-src/TeXmacs-1.0.0.4/lib -lm=20 -Wl,-rpath, -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/guile-1.4/lib=20 -lguile -lm -ldl -o=20 /home/david/Desktop/TeXmacs/TeXmacs-src/TeXmacs-1.0.0.4/bin/texmacs.bin That problem is fixed if I add -lltdl to the link command. That problem do not appear on a Mandrake box on which it tested the=20 compilation. I noticed that, on that system, libguile was compiled=20 without thread support: [david@stefp TeXmacs-src]$ guile-config link -L/usr/lib -lguile -lm So I compiled the debianized guile-core package without thread and tried=20 recompiling my program against that new version (by adding=20 /usr/local/guile-1.4/bin at the beginning of my PATH), but the problem=20 persisted. You may notice that the error messages I provided were produced using=20 that thread-disabled guile installation. I also tried to compile the upstream guile-1.4 package, but compilation=20 failed.=20 Can someone clue me at what is wrong? --=20 -- David -- _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user