public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Dessent <brian@dessent.net>
To: "Dr. Frank Lee" <rl201@cam.ac.uk>
Cc: cygwin-apps@cygwin.com
Subject: Re: setup.exe missing mgwbz2-1.dll?
Date: Thu, 10 Apr 2008 12:41:00 -0000	[thread overview]
Message-ID: <47FE0AE8.70118D79@dessent.net> (raw)
In-Reply-To: <alpine.DEB.0.99.0804101255480.7705@gath>

"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

      reply	other threads:[~2008-04-10 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 12:04 Dr. Frank Lee
2008-04-10 12:41 ` Brian Dessent [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FE0AE8.70118D79@dessent.net \
    --to=brian@dessent.net \
    --cc=cygwin-apps@cygwin.com \
    --cc=rl201@cam.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).