delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/06/13:22:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE,TW_LR,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
Message-ID: <4BBB6DD7.7070702@x-ray.at>
Date: Tue, 06 Apr 2010 19:22:31 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Prob installing Perl DBI - can't find cygperl5_10.dll on 1.7.3
References: <4BBAAFB7 DOT 4030802 AT gmail DOT com>
In-Reply-To: <4BBAAFB7.4030802@gmail.com>
X-IsSubscribed: yes
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

David Vergin schrieb:
> g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
> -Wl,--stack,8388608 -Wl,--e
> nable-auto-image-base -L/usr/local/lib -fstack-protector DBI.o -o
> blib/arch/auto/DBI/DBI.dl
> l \
> /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll \
>
> g++.exe: /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll: No such
> file or directory
> make: *** [blib/arch/auto/DBI/DBI.dll] Error 1
> -------------8<----------------------------------------------
>
> So... cygperl5_10.dll seems to be inaccessable. Let's copy/paste the
> full path into an 'ls' command and take a look:
> -------------8<----------------------------------------------
> admin AT DavidDell ~/DBI-1.609
> $ ls -l /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll
> lrwxrwxrwx 1 admin root 24 2010-04-05 15:47
> /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll ->
> /usr/bin/cygperl5_10.dll
> -------------8<----------------------------------------------
>
> It's a link. Okay, let's look at the actual file:
> -------------8<----------------------------------------------
> admin AT DavidDell ~/DBI-1.609
> $ ls -l /usr/bin/cygperl5_10.dll
> -rwxr-xr-x 1 admin root 1590565 2009-12-19 08:20 /usr/bin/cygperl5_10.dll
> -------------8<----------------------------------------------
>
> That looks to me like it should be accessable. I've deleted the entire
> cygwin directory a couple times, re-installed cygwin, and started fresh
> again. Same result each time.
>
> Am I miss-reading the meaning of the error message?

No. Strange.

> Does g++ dislike following links? It would be easy to replace the link
> with a dup copy of the file, but that could break stuff like future
> updates to cygwin itself so I'd rather not go there unless advised so by
> well-practiced cygwinians.

I do that symlink trick since a few years with success.

Maybe your g++.exe or ld.exe is mingw? The mingw linker does not 
understand cygwin symlinks.

You can try to copy the dll to the CORE dir instead.


> This seems so straight-forward; I am out of things to investigate or try.
>
> I can find no reference to this issue on the entire GoogleWeb. (Not to
> say the cygwin.com site). Is it perhaps new with 1.7.3?
>
> Any solutions, clues, advice, diagnostics to try, manual references,
> etc. would be greatly appreciated. Getting up and running with a working
> perl-mysql connection is, um, sorta crucial to a lot of stuff for me.
-- 
Reini Urban
http://phpwiki.org/  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

- Raw text -


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