From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dev.admin@ntlworld.com Newsgroups: gmane.lisp.guile.user Subject: [darwin] building shared libraries (.so) instead of dynamic libraries. Date: Fri, 1 Oct 2010 14:19:52 +0100 Message-ID: <DA76BE17-4F74-43B5-947E-E85F5600DED4@ntlworld.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285939315 713 80.91.229.12 (1 Oct 2010 13:21:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 13:21:55 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Oct 01 15:21:54 2010 Return-path: <guile-user-bounces+guile-user=m.gmane.org@gnu.org> Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from <guile-user-bounces+guile-user=m.gmane.org@gnu.org>) id 1P1fYf-00014E-IX for guile-user@m.gmane.org; Fri, 01 Oct 2010 15:21:53 +0200 Original-Received: from localhost ([127.0.0.1]:37605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1fYf-0002MX-1B for guile-user@m.gmane.org; Fri, 01 Oct 2010 09:21:53 -0400 Original-Received: from [140.186.70.92] (port=53221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1fXd-0002E6-1I for guile-user@gnu.org; Fri, 01 Oct 2010 09:21:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dev.admin@ntlworld.com>) id 1P1fWu-0001Z3-H9 for guile-user@gnu.org; Fri, 01 Oct 2010 09:20:48 -0400 Original-Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]:6189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dev.admin@ntlworld.com>) id 1P1fWu-0001YP-95 for guile-user@gnu.org; Fri, 01 Oct 2010 09:20:04 -0400 Original-Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101001131958.QGIS3075.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for <guile-user@gnu.org>; Fri, 1 Oct 2010 14:19:58 +0100 Original-Received: from cpc8-pete9-2-0-cust178.4-4.cable.virginmedia.com ([86.30.242.179]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20101001131958.QCAV16999.aamtaout01-winn.ispmail.ntl.com@cpc8-pete9-2-0-cust178.4-4.cable.virginmedia.com> for <guile-user@gnu.org>; Fri, 1 Oct 2010 14:19:58 +0100 X-Mailer: Apple Mail (2.936) X-Cloudmark-Analysis: v=1.1 cv=DhNl2YeytwJssBBGe49HJX82LNDFEEVkpVB34RXKaPo= c=1 sm=0 a=NoGW9QHhOqcA:10 a=kj9zAlcOel0A:10 a=c9-K94iI9Oyy_svSwYwA:9 a=FFk9HFPB1gJrVzEqqtbFY3Kouv0A:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions <guile-user.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>, <mailto:guile-user-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/guile-user> List-Post: <mailto:guile-user@gnu.org> List-Help: <mailto:guile-user-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>, <mailto:guile-user-request@gnu.org?subject=subscribe> Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8192 Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.user/8192> I'm building gnuTLS with-guile but I get the following error stating that it can't find the required library. Output from gnuTLS make ----------------------- * Making all in openpgp-certs Making all in guile Making all in modules Making all in src ERROR: In procedure dynamic-link: ERROR: file: "libguile-srfi-srfi-1-v-3", message: "dlopen(libguile- srfi-srfi-1-v-3.so, 9): image not found" make[3]: *** [enum-map.i.c] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 When building guile, the libraries are built as dynamic so the compiler gets sent different options and I get a different suffix. Meanwhile, gnuTLS is looking for shared libraries. I've checked several Makefiles to see if the facility was available to make the shared libraries but didn't find anything that may have helped. Therefore, I believe the answer lies in the configure script extracting and setting various variables. It is possible to fool the system into building shared libraries or a hack. Andrew.