From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14505 invoked by alias); 3 Jan 2002 17:38:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 14478 invoked from network); 3 Jan 2002 17:38:22 -0000 Received: from unknown (HELO mail.uark.edu) (130.184.5.107) by sources.redhat.com with SMTP; 3 Jan 2002 17:38:22 -0000 Received: from uark.edu ([130.184.17.73]) by mail.uark.edu (Netscape Messaging Server 4.15) with ESMTP id GPDIBW01.Q65; Thu, 3 Jan 2002 11:38:20 -0600 Message-ID: <3C34978F.B943BF96@uark.edu> Date: Thu, 03 Jan 2002 09:38:00 -0000 From: "Albert L. Wagner" Organization: University of Arkansas X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Cygwin , "ruby-talk@ruby-lang.org" Subject: Compiling Berkeley db for Ruby under Cygwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00094.txt.bz2 Even as a Linux user, I probably stay as confused about compiling under cygwin as some windows users. I cannot figure out just where the linker is looking to find cygwin-ruby16. The only cygwin-ruby16 on my Win2k machine is D:\ruby\bin\cygwin-16.dll. I installed Ruby1.6.5 from the executable installer into D:\ruby. I also have cygwin installed in D:\cygwin. I have tried several variations of the --with-db-* options and have moved shortcuts of cygwin-16.dll to several different directories. But I still cannot get past the following error. I would appreciate any tips. Thanks ahead for your help. $ make make[1]: Entering directory `/pkg/bdb-0.2.7/src' dllwrap --target=cygwin --as=as --dlltool-name=dlltool --driver-name=gcc --expor t-all -s --def=bdb.def -L/usr/local/cygwin-local/lib -L/cygdrive/d/ruby/lib -L/ usr/local/lib -o bdb.so bdb.o common.o cursor.o delegator.o env.o lock.o log.o r ecnum.o transaction.o -L. -lcygwin-ruby16 -ldb /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann ot find -lcygwin-ruby16 collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make[1]: *** [bdb.so] Error 1 make[1]: Leaving directory `/pkg/bdb-0.2.7/src' make: *** [all] Error 2 -- "It requires wisdom to understand wisdom: the music is nothing if the audience is deaf." - Walter Lippman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/