Subject: RE: ldconfig???
From: "Robert Collins" <[email-masked]>
To: "Charles Wilson" <[email-masked]>, "Chris Tooley" <[email-masked]>
Cc: <[email-masked]>
Date: Fri, 15 Mar 2002 11:48:49 +1100

> -----Original Message-----
> From: Charles Wilson [mailto:[email-masked]] 
> Sent: Friday, March 15, 2002 11:40 AM
> To: Chris Tooley
> Cc: [email-masked]
> Subject: Re: ldconfig???
> 
> 
> Chris Tooley wrote:
> 
> > I'm having something complain that it can't find ldconfig.  Is this 
> > something that needs to be installed, and if so are there 
> any pointers 
> > as to where to get it, or do I have porting work ahead of me?
> 
> 
> your "something" shouldn't be looking for ldconfig on cygwin. 
>  It isn't 
> used.  ldconfig is used to setup shared libraries (creating the 
> appropriate runtime links, etc) for use by the system.  On windows, 
> setting up a DLL consists of "put the DLL in your PATH".  Period.
> 
> So, no ldconfig.  It's possible that we might want to include a dummy 
> ldconfig (#!/bin/sh  exit 0)  but that might cause more 
> confusion that 
> the current situation.

What about an ldconfig that cehcks the path to the .dll against $PATH,
and updates [autoexec.bat|HKCU/Environment/Path|HKLM... & the current
shell PATH] if it's absent ?

Could be a good little project for someone.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/