Creating the sqlite3.exe stand-alone w/o cygwin dependency
Jose Isaias Cabrera
jicman@outlook.com
Sat Dec 10 16:35:28 GMT 2022
On December 10, 2022 9:48 AM, Eliot Moss expressed:
>
> On 12/9/2022 9:43 PM, Jose Isaias Cabrera wrote:
> >
> > On Friday, December 9, 2022 6:33 PM, Eliot Moss expressed:
> >>
> >> On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote:
> >>
> >> This is a bit of a shot in the dark, but I wonder about search paths
> >> and find the DLL when trying to start the program. Is the necessary
> >> directory on the search path available to Windows and/or passed to
> >> the sqlite3 executable as an environment variable?
> >
> > Thanks, Eliot. I have placed the sqlite3.dll in the same folder of the
> > executable, but, it does not work either. I don't think is the
> > sqlite3.dll that is looking for. It's probably some of the Cygwin
> > libraries.
> >
> > Any thoughts where I can get help?
>
> This list continue to be a place.
>
> I still wonder if there is some path issue. Just because the dll is in
> the same directory does not mean that Windows will look there if . (the
> current directory) is not on your path. As I recall (and I hope someone
> will correct me!) the relevant environment variable is PATH, but it may
> be a different one for finding dlls. (I'm sure someone on the list can
> clarify that point!)
I can tell you that in Windows 10 the search path is the live directory first (.), then the path. But, again, I don't think it's the DLL, because this application does not use the sqlite3.dll or needs it. It's a stand-alone application. It has all it needs inside. For example, if I download the Windows Tool from the Sqlite page, I can place it anywhere in the computer and it will run without anything else.
More information about the Cygwin
mailing list