delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/22/12:50:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE08D18.1060006@cwilson.fastmail.fm>
Date: Thu, 22 Oct 2009 12:49:28 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with libintl-8
References: <20091022125321 DOT 009ecc39 DOT john AT jcoppens DOT com> <20091022160008 DOT GO16678 AT calimero DOT vinschen DOT de> <20091022132957 DOT 44273e30 DOT john AT jcoppens DOT com>
In-Reply-To: <20091022132957.44273e30.john@jcoppens.com>
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

John Coppens wrote:

> I couldn't find any other solution, so I copied cygintl-8.dll
> to /usr/local/bin (which is where my program installed, and where
> Windows always looks it seems.).

This is usually a very bad idea.  If I release an updated version of
cygintl-8.dll (say, with a bugfix but no API change), that would only
update the one in C:\cygwin\bin, but you'd still have the old (buggy?)
version in /usr/local/bin.  This could cause errors and/or confusion.
They don't call it DLL Hell for nothing.

Changing the PATH, as Corinna suggested, is usually the best approach.

NOTE: on Vista the My Computer->Properties->Advanced System Settings
approach may not work: that only lets you set:

  The global system PATH
  The Administrator user's PATH

Instead, for "regular" users, each one should go into Control
Panel->User Accounts->Change My Environment Variables.
See
http://www.question-defense.com/2009/06/22/modify-a-users-path-in-windows-vista-vista-path-environment-variable/

> Now the program doesn't complain about
> the missing dll anymore, but the application window appears and disappears
> immediately.
> 
> Maybe something is wrong with the X window install.

Can't help you, there.

--
Chuck

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019