delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/09/10:45:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48C68BC3.30502@users.sourceforge.net>
Date: Tue, 09 Sep 2008 09:44:19 -0500
From: "Yaakov (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Python and sqlite3
References: <f68d89470808060112v76ef9cben366ac82c604f70df AT mail DOT gmail DOT com> <20080806131217 DOT GA4524 AT tishler DOT net> <4899C862 DOT 7060305 AT users DOT sourceforge DOT net> <20080808124731 DOT GA3572 AT tishler DOT net> <489CC769 DOT 3030902 AT users DOT sourceforge DOT net> <20080827000402 DOT GA3788 AT tishler DOT net> <20080909132429 DOT GA3996 AT tishler DOT net>
In-Reply-To: <20080909132429.GA3996@tishler.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jason Tishler wrote:
> I did some more investigation and I still don't see how you were able to
> build this module without some kind of workaround.  Empirically, I
> determined that setup.py is trying to find one of the following files:
> 
>     libsqlite3.dll
>     libsqlite3.dylib
>     libsqlite3.a
> 
> in typical library locations (e.g., /usr/lib).
> 
> However, sqlite3 only installs the following in /usr/lib:
> 
>     libsqlite3.dll.a
>     libsqlite3.la
> 
> So, setup.py fails for me in exactly the same way as documented in the
> above bug report.

Ah, the Ports sqlite3 package also provides a static libsqlite3, so that
would explain it.  I'm not sure why the Cygwin package was built
dynamic-only.

> I was able to (temporarily) workaround the problem with the following
> hack:
> 
>     $ ln -s libsqlite3.dll.a /usr/lib/libsqlite3.dll
> 
> Obviously, a better solution is to change setup.py to use the libraries
> provided by sqlite3 directly.  I will try to affect this change.

IOW that it should look for .dll.a on Cygwin; I agree, that should be
done anyway.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkjGi8MACgkQpiWmPGlmQSPB4wCg3q4M4dwAUwO8sw/83dbJUDAF
/40AoNBekP8L8wzlDFjfR5DEQWcK5TIV
=GA0p
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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