delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/13/13:17:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 13 Dec 2011 10:16:25 -0800
Message-ID: <CAGVbXL7YGp-WsEx4QooOCX_44GB2gx_C5hNBKkGbXXT_y3zTEg@mail.gmail.com>
Subject: cyg*.dll, linking
From: Brian Craft <bcboy AT thecraftstudio DOT com>
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-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

I'm building a few libraries which are dependencies of a program I'm
building. Most of them build via autotools. Doing "make install"
installs files *.a, *.la, *.dll.a. Linking the executable succeeds
without error, however when running it, the loader complains that it
can't find cyg*.dll files. E.g. if it was libfoo.a that was installed,
the executable wants cygfoo-6.dll to run.

These cyg-*.dll files exist in the build directories, generally in
src/.libs . The program will run if I add all of these to the PATH.

Seems like either the link or the install isn't working as it should.
Are there docs anywhere that explain how this is supposed to work?

--
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