From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: Linking statically with libguile on Debian Date: Fri, 10 May 2002 14:32:53 -0700 Sender: guile-user-admin@gnu.org Message-ID: References: Reply-To: ttn@glug.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021066946 4280 127.0.0.1 (10 May 2002 21:42:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 May 2002 21:42:26 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 176I9i-00016v-00 for ; Fri, 10 May 2002 23:42:26 +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 176I9L-0007Rc-00; Fri, 10 May 2002 17:42:03 -0400 Original-Received: from ca-crlsbd-u5-c4a-a-172.crlsca.adelphia.net ([24.48.214.172] helo=giblet) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176I6Z-0006yO-00 for ; Fri, 10 May 2002 17:39:11 -0400 Original-Received: from ttn by giblet with local (Exim 3.35 #1 (Debian)) id 176I0T-0000BC-00; Fri, 10 May 2002 14:32:53 -0700 Original-To: me@davidallouche.net In-Reply-To: (message from David Allouche on Thu, 9 May 2002 01:28:08 +0200) 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:403 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:403 From: David Allouche Date: Thu, 9 May 2002 01:28:08 +0200 I am a TeXmacs developper and I currently have problems with statically linking a binary against libguile 1.4 on Debian. probably you mean the libguile that was shipped w/ guile-1.4 (which on my system turns out to be libguile.so.9.0.0 -- can you confirm?). /usr/local/guile-1.4/lib/libguile.a(dynl.o): In function `sysdep_dynl_link': /home/david/Desktop/guile-core-1.4/libguile/dynl.c:243: undefined reference to `lt_dlopenext' That problem is fixed if I add -lltdl to the link command. libguile depends on libltdl, so it seems to me "-lltdl" should be added to the "guile-config link" output. historically, libltdl was embedded (no longer the case w/ guile-1.4.1, guile-1.5.x, and later), so this was not necessary. I also tried to compile the upstream guile-1.4 package, but compilation failed. yes, guile-1.4 is known to be slightly broken. if you are adventurous, i would recommend playing w/ guile-1.4.1 (in cvs -- see script below). fwiw, my setup is reproducible via: checkout-hack -a cd hack/core-1-4 sh -x autogen.sh mkdir ../core-1-4.b ; cd ../core-1-4.b # b for "build" ../core-1-4/configure -C --enable-maintainer-mode --with-threads make make check which all depends on automake-1.5, autoconf-2.53, libtool-1.4.2 (installed under /usr/local). w/ this i am working (slowly but maybe faster w/ some help) towards guile-1.4.1 release. see hack/core-1-4/NEWS, also available online: http://www.glug.org/snap/guile-core-1.4/NEWS http://www.glug.org/snap/ (generally) for more info. thi ______________________________________ #! /bin/sh -x # Usage: checkout-hack # checkout-hack -a # "all" includes branches # # Env var: CVSROOT CVSROOT=${CVSROOT-':pserver:anoncvs@subversions.gnu.org:/cvsroot/guile'} export CVSROOT branches="1-4 1-6" cvs co hack if [ x"$1" = x-a ] ; then cd hack for branch in $branches ; do cvs co -d core-$branch -r branch_release-$branch core done fi # checkout-hack ends here _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user