X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 327633858C35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1722450476;
	bh=Tc2X/Cz5OkLG3B3BGhxgBF9kItPBWlSYd4pv0/RxfBY=;
	h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=IYw+lcm9L5t0D5pl13bdy7zErnorCt1XjXuoTrSs+qji06Zh08j7PNs0WUa7lLv6s
	 RhWmxanE3JExyuJnn0m679HVQC5nHYiQF/+TS+hjiN0L+ZHPplB5tTALL0LqewWUSW
	 tXx4eNrGMsnrXEVp8pcwzetk+dEvpFBMP847kXn4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE9523858C56
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EE9523858C56
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722450453; cv=none;
 b=Ys55z6B/Khj8ZTzGgNK6E2BQGd87tzMVakQ+N3BG5n+EnPF9oipL8njzVHWMrx6n6Qniz0SDudtWU5uY4x3llyVtaIPCJUdZXLi4qeA5uNjgv6xeFsZY/ENM4CFgmWLW80icLPIm0jfU5Myr83y6hKmjsqo05z+SE/0WBJOoBTk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1722450453; c=relaxed/simple;
 bh=SED4ly9jpaRZ9NAetVZJBsmYBik3MzMooT/EBGj1K+o=;
 h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
 b=RWzMy1+72r0xpNBAMhEEv4mjTl2puZNiGjc6YFPm+0eQO1XWfIbXwXXvjH/WQv+YJY5w5kHnD4moM7HZDpwPAHYU+kV6u5BIwg0icxnn86dMZaUgqWIp6Wz4p0g5ri/WBgduVdDHCFaXpl54/CNwH2R7sX/P15i0vIwmHqTPIM4=
ARC-Authentication-Results: i=1; server2.sourceware.org
To: cygwin@cygwin.com
Subject: Re: mbrtoc32 not found following update.
In-Reply-To: <CAKFuvzaWeqJZ4Pd61CVxSz7SR6DQ9aopcZF+9emXWKpy8L2q+A@mail.gmail.com>
 (Eric J. Korpela via Cygwin's message of "Tue, 30 Jul 2024 17:58:59
 -0700")
References: <CAKFuvzaWeqJZ4Pd61CVxSz7SR6DQ9aopcZF+9emXWKpy8L2q+A@mail.gmail.com>
Date: Wed, 31 Jul 2024 20:27:18 +0200
Message-ID: <87le1hmn7d.fsf@Gerda.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
X-purgate-type: clean
X-purgate: clean
X-purgate-size: 2074
X-purgate-ID: 155817::1722450445-2DFF9A4B-7B6C7493/0/0
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,
 RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: ASSI via Cygwin <cygwin@cygwin.com>
Reply-To: ASSI <Stromeko@nexgo.de>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Eric J Korpela via Cygwin writes:
> Following an update of the packages I have installed, multiple programs are
> failing silently when executed from the shell, especially "man" and "wget".
>
> If I run them under strace, I get a pop-up window stating "The procedure
> entry mbrtoc32 could not be located in the dynamic link library ..."  For
> man the library is "cygman-2-12-1.dll".  For wget the library is "wget.exe".

The error means the Windows loader failed to find the entry point in a
DLL and mbrtoc32 is a character conversion function in the standard
C/C++ library.

> I assume this means that something didn't update properly and that
> reinstalling one package would solve, but I don't see any indication in the
> logs of a failure.  I'd rather not reinstall everything to fix the problem,
> if possible.

You can see what packages were installed last (and before that if you
haven't cleard the file out) in /var/log/setup.log and the last attempt
at setup has a more detailed log in /var/log/setup.log.full that may
show you more details about the error if it was indeed happening at
install time.

> Any thoughts on how where I should look?

Run cygcheck and ldd on the affected executables, that should tell you
which libraries will be needed and you can then compare compare with
your strace which one was missing.  If you'e replaced a library while
you were still using it, then you will need to reboot before the
replacement gets activated, setup left a warning to that effect in the
logs in this case.  If any library that was installed earlier is
entirely missing, please check the logs of any antivirus product you may
be using if it was quarantined or something like that.  Some of these
products are way too trigger happy when they see a new library that
hasn't been widely circulated or whitelisted yet.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
