* RE: Path to dynamic libraries
@ 2002-09-30 6:50 Vince Hoffman
0 siblings, 0 replies; 8+ messages in thread
From: Vince Hoffman @ 2002-09-30 6:50 UTC (permalink / raw)
To: 'Pierre Habraken', cygwin
I believe Matt Swift wrote a script to do this but his link isnt valid any
more. hmm but acutal doesnt cygcheck <programname> do this ? (although for
some reason not if i give the full pasth od the program)
-----Original Message-----
From: Pierre Habraken [mailto:Pierre.Habraken@imag.fr]
Sent: 30 September 2002 13:36
To: cygwin@cygwin.com
Subject: Path to dynamic libraries
Hello,
I installed the full Cygwin distribution but apparently it does not
include the command 'ldd'.
Is there another command which can be used to get the list of dynamic
libraries (and their path) that a given executable depends on ?
Does it make sense to use the environment variable LD_LIBRARY_PATH with
Cygwin ?
Thanks for any help,
Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
--
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/
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Path to dynamic libraries
@ 2002-11-03 3:25 Matthew Swift
2002-11-03 9:13 ` Christopher Faylor
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Swift @ 2002-11-03 3:25 UTC (permalink / raw)
To: cygwin
>> From: Vince Hoffman <Vince dot Hoffman at uk dot circle dot com>
>> To: "'Pierre Habraken'" <Pierre dot Habraken at imag dot fr>, cygwin
at cygwin dot com
>> Date: Mon, 30 Sep 2002 13:58:23 +0100
>> Subject: RE: Path to dynamic libraries
>> I believe Matt Swift wrote a script to do this but his link isnt
valid any
>> more. hmm but acutally doesn't cygcheck <programname> do this ?
(although for
>> some reason not if I give the full pasth of the program)
I'll be danged -- cygcheck! And a principal author of cygcheck,
Christopher Faylor, contributed to that thread in September without
mentioning that his program already did the equiv. of "ldd" and had been
in the essential distribution for more than a year. It also happens to
be 125 times faster than my script (.22 seconds versus 27.56 on one .exe
file with many dependencies).
FWIW my script is actually still posted at
http://www2.primushost.com/~swift/ldd.cygwin.txt. It does work on
absolute file names :)
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Path to dynamic libraries
2002-11-03 3:25 Matthew Swift
@ 2002-11-03 9:13 ` Christopher Faylor
0 siblings, 0 replies; 8+ messages in thread
From: Christopher Faylor @ 2002-11-03 9:13 UTC (permalink / raw)
To: cygwin
On Sun, Nov 03, 2002 at 06:24:40AM -0500, Matthew Swift wrote:
>>>I believe Matt Swift wrote a script to do this but his link isnt valid
>>>any more. hmm but acutally doesn't cygcheck <programname> do this ?
>>>(although for some reason not if I give the full pasth of the program)
>
>I'll be danged -- cygcheck! And a principal author of cygcheck,
>Christopher Faylor, contributed to that thread in September without
>mentioning that his program already did the equiv. of "ldd" and had
>been in the essential distribution for more than a year.
Let's see. The message that you are replying to is more than a month
old. I didn't contribute to the thread. And, I'm not the principal author
of cygcheck. DJ Delorie was the original author and was the person who
added that particular functionality.
Anyway, if you take a look at the output from cygcheck you might see
that it is not an exact replacement for ldd.
cgf
--
Please do not send me personal email with cygwin questions or observations.
Use the resources at http://cygwin.com/ .
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Path to dynamic libraries
@ 2002-09-30 6:58 Vince Hoffman
0 siblings, 0 replies; 8+ messages in thread
From: Vince Hoffman @ 2002-09-30 6:58 UTC (permalink / raw)
To: Vince Hoffman, 'Pierre Habraken', cygwin
erk umm
s/actual/actualy
s/pasth od/path of
-----Original Message-----
From: Vince Hoffman [mailto:Vince.Hoffman@uk.circle.com]
Sent: 30 September 2002 13:58
To: 'Pierre Habraken'; cygwin@cygwin.com
Subject: RE: Path to dynamic libraries
I believe Matt Swift wrote a script to do this but his link isnt valid any
more. hmm but acutal doesnt cygcheck <programname> do this ? (although for
some reason not if i give the full pasth od the program)
-----Original Message-----
From: Pierre Habraken [mailto:Pierre.Habraken@imag.fr]
Sent: 30 September 2002 13:36
To: cygwin@cygwin.com
Subject: Path to dynamic libraries
Hello,
I installed the full Cygwin distribution but apparently it does not
include the command 'ldd'.
Is there another command which can be used to get the list of dynamic
libraries (and their path) that a given executable depends on ?
Does it make sense to use the environment variable LD_LIBRARY_PATH with
Cygwin ?
Thanks for any help,
Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
--
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/
--
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/
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Path to dynamic libraries
@ 2002-09-30 6:00 Pierre Habraken
2002-09-30 7:11 ` Gerrit P. Haase
0 siblings, 1 reply; 8+ messages in thread
From: Pierre Habraken @ 2002-09-30 6:00 UTC (permalink / raw)
To: cygwin
Hello,
I installed the full Cygwin distribution but apparently it does not
include the command 'ldd'.
Is there another command which can be used to get the list of dynamic
libraries (and their path) that a given executable depends on ?
Does it make sense to use the environment variable LD_LIBRARY_PATH with
Cygwin ?
Thanks for any help,
Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Path to dynamic libraries
2002-09-30 6:00 Pierre Habraken
@ 2002-09-30 7:11 ` Gerrit P. Haase
2002-09-30 10:57 ` Pierre Habraken
0 siblings, 1 reply; 8+ messages in thread
From: Gerrit P. Haase @ 2002-09-30 7:11 UTC (permalink / raw)
To: Pierre Habraken; +Cc: cygwin
Pierre schrieb:
> I installed the full Cygwin distribution but apparently it does not
> include the command 'ldd'.
> Is there another command which can be used to get the list of dynamic
> libraries (and their path) that a given executable depends on ?
cd bin && cygcheck cygwin1.dll
> Does it make sense to use the environment variable LD_LIBRARY_PATH with
> Cygwin ?
No. All the DLL's need to be in a directory that is included in your
PATH environment variable like e.g. /bin. PATH always needs to be existent.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Path to dynamic libraries
2002-09-30 7:11 ` Gerrit P. Haase
@ 2002-09-30 10:57 ` Pierre Habraken
2002-10-01 1:05 ` Gerrit P. Haase
0 siblings, 1 reply; 8+ messages in thread
From: Pierre Habraken @ 2002-09-30 10:57 UTC (permalink / raw)
To: Gerrit P. Haase; +Cc: cygwin
Thanks to everyone who replied to my question.
The actual problem I am faced to is that I compiled (and tested) a
program (ddd) under Cygwin installed as H:\Cygwin and then distributed
the binaries to students who are supposed to install it on their own
box.
The problem is that the program does not operate as expected on the
students machines, apparently because most of them installed Cygwin as
C:\Cygwin and the program does not find some dll's.
So I am looking for a way to easily "translate" library path's from a
given "compile machine" to "target machines".
Any idea someone ?
Pierre
"Gerrit P. Haase" wrote:
>
> Pierre schrieb:
>
> > I installed the full Cygwin distribution but apparently it does not
> > include the command 'ldd'.
> > Is there another command which can be used to get the list of dynamic
> > libraries (and their path) that a given executable depends on ?
>
> cd bin && cygcheck cygwin1.dll
>
> > Does it make sense to use the environment variable LD_LIBRARY_PATH with
> > Cygwin ?
>
> No. All the DLL's need to be in a directory that is included in your
> PATH environment variable like e.g. /bin. PATH always needs to be existent.
>
> Gerrit
> --
> =^..^=
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Path to dynamic libraries
2002-09-30 10:57 ` Pierre Habraken
@ 2002-10-01 1:05 ` Gerrit P. Haase
0 siblings, 0 replies; 8+ messages in thread
From: Gerrit P. Haase @ 2002-10-01 1:05 UTC (permalink / raw)
To: Pierre.Habraken; +Cc: cygwin
Pierre schrieb:
> Thanks to everyone who replied to my question.
> The actual problem I am faced to is that I compiled (and tested) a
> program (ddd) under Cygwin installed as H:\Cygwin and then distributed
> the binaries to students who are supposed to install it on their own
> box.
> The problem is that the program does not operate as expected on the
> students machines, apparently because most of them installed Cygwin as
> C:\Cygwin and the program does not find some dll's.
> So I am looking for a way to easily "translate" library path's from a
> given "compile machine" to "target machines".
> Any idea someone ?
As stated before, the DLL's on which your application depends need to be
in a directory that is included in the PATH setting. If invoked from a
Cygwin/bash shell session then it is the Cygwin PATH, else the Windows
PATH setting.
I have c:\cygwin\bin included in my Windows PATH setting so I am able to
invoke Cygwin applications from a CMD shell window without launching
bash.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-11-03 17:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-30 6:50 Path to dynamic libraries Vince Hoffman
-- strict thread matches above, loose matches on Subject: below --
2002-11-03 3:25 Matthew Swift
2002-11-03 9:13 ` Christopher Faylor
2002-09-30 6:58 Vince Hoffman
2002-09-30 6:00 Pierre Habraken
2002-09-30 7:11 ` Gerrit P. Haase
2002-09-30 10:57 ` Pierre Habraken
2002-10-01 1:05 ` Gerrit P. Haase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).