delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20100917T043659-431@post.gmane.org> |
References: | <AANLkTin7p83cXtmpEkNruTQPPM_5swh=_6U-Od3wH6Bc AT mail DOT gmail DOT com> <AANLkTiko81Fw_vjib__K3-y6VbwCFrG=n_KMHOCjYCNY AT mail DOT gmail DOT com> <4C92746C DOT 5080809 AT x-ray DOT at> <AANLkTi=4W89oYwR5D+G-scouZXof5EhxJhONyAJGCqGi AT mail DOT gmail DOT com> <AANLkTi=bG2S2ZkJ-p-WWHhFM9RwY7P25MA35boA7Sf20 AT mail DOT gmail DOT com> <loom DOT 20100916T225518-627 AT post DOT gmane DOT org> <AANLkTinEhA5XdLQwDSk73sBOLKvnmCED-PWjM3vgovji AT mail DOT gmail DOT com> <loom DOT 20100917T043659-431 AT post DOT gmane DOT org> |
Date: | Fri, 17 Sep 2010 09:35:58 +0200 |
Message-ID: | <AANLkTikdMz4Fo-1qauhHxgQsNA=NNecLgrsZTxiTzdL+@mail.gmail.com> |
Subject: | Re: Cygwin + Python: unable to remap |
From: | Reini Urban <rurban AT x-ray DOT at> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
2010/9/17 Mark Geisert: > Al writes: >> 2010/9/16 Mark Geisert: >> >> > =A0=A0 =A0cygncurses5.dll =3D> /home/prefix/gentoo/usr/bin/cygncurs= es5.dll >> >> > (0x10000000) >> > >> > This one is below the sixty million value that Reini described as > suspicious. >> >> Now what do I make of that. Do I tell it to be loaded elsewhere? Any >> helpful link? > > You want 'rebase' from the 'rebase' package. =A0Use setup.exe to install = it > if you don't have it already. =A0After installation, it's documented in a > text file /usr/share/doc/Cygwin/rebase*README. > > You get to choose the base address to rebase the dll to. =A0'rebaseall', > from the same package, defaults to seventy million (=3D 0x70000000) so th= at > could be good. > > If you've built other dlls in the same directory you might as well run > rebase or rebaseall on all of them to avoid future issues of this type. It's not that simple :) rebaseall only rebases the exact dll's which were installed from your packager (setup.exe), but not any other dll's used at run-time - shadowing system dll's as in your case, or added dependencies as with perl or python. python or perl are favorites adding additional dll's to your run-time because you can and should simply add external library bindings by yourself. In your case the simpliest fix would be to remove your /home/prefix/gentoo.= .. prefix from your path. Or, if you have to, rebase your added dll to the same address as the origin= al. imagebase: objdump -p $1 |grep ImageBase |cut -c12- --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |