delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/03/18:11:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [198.142.235.53]
From: "Gareth Pearce" <tilps AT hotmail DOT com>
To: alwagner AT uark DOT edu, cygwin AT cygwin DOT com, ruby-talk AT ruby-lang DOT org
Subject: Re: Compiling Berkeley db for Ruby under Cygwin
Date: Thu, 03 Jan 2002 23:11:00
Mime-Version: 1.0
Message-ID: <F2560XsEFluFU5iJ2Ni000121cb@hotmail.com>
X-OriginalArrivalTime: 03 Jan 2002 23:11:00.0447 (UTC) FILETIME=[E8858EF0:01C194AB]

ummm could it possibly be that the dll is in ruby\bin - and your lib path on 
the compile line is ruby\lib ? - but then the name cygwin-16.dll seems wrong 
so maybe you typed that little snippit out incorrectly.

Gareth

>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/
>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019