public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* setup.exe missing mgwbz2-1.dll?
@ 2008-04-10 12:04 Dr. Frank Lee
  2008-04-10 12:41 ` Brian Dessent
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Frank Lee @ 2008-04-10 12:04 UTC (permalink / raw)
  To: cygwin-apps

Building from CVS goes cleanly but I am unable to run the resulting 
binary from cmd.exe:

"setup.exe - Unable to Locate Component
This application has failed to start because mgwbz2-1.dll was not found. 
Re-installing the application may fix this"

If I run this from cygwin itself the application runs correctly, 
loading mgwbz2-1.dll from /bin. (Verified by renaming that dll file:
setup.exe fails to start, error code 53.)

I was expecting a stand-alone setup.exe - was that incorrect of me? I see 
setup/bz2lib contains only a CVS directory and nothing else, if that's 
relevant.

Yours,

Frank

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setup.exe missing mgwbz2-1.dll?
  2008-04-10 12:04 setup.exe missing mgwbz2-1.dll? Dr. Frank Lee
@ 2008-04-10 12:41 ` Brian Dessent
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dessent @ 2008-04-10 12:41 UTC (permalink / raw)
  To: Dr. Frank Lee; +Cc: cygwin-apps

"Dr. Frank Lee" wrote:

> Building from CVS goes cleanly but I am unable to run the resulting
> binary from cmd.exe:
> 
> "setup.exe - Unable to Locate Component
> This application has failed to start because mgwbz2-1.dll was not found.
> Re-installing the application may fix this"
> 
> If I run this from cygwin itself the application runs correctly,
> loading mgwbz2-1.dll from /bin. (Verified by renaming that dll file:
> setup.exe fails to start, error code 53.)

You're right, it should have linked with the static libbz2 and zlib.  I
made a change in this area recently and didn't notice anything different
because I was using a cross compiler that doesn't have shared versions
of those libs in its sysroot.  I just committed a fix that should take
care of it.

> I was expecting a stand-alone setup.exe - was that incorrect of me? I see
> setup/bz2lib contains only a CVS directory and nothing else, if that's
> relevant.

Setup used to have a bundled libbz2, but that was before there was a
MinGW libbz2 in the distro, so now we just use that.

Brian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-10 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-10 12:04 setup.exe missing mgwbz2-1.dll? Dr. Frank Lee
2008-04-10 12:41 ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).