This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: dlopen error
- To: "Gary V. Vaughan" <gary@oranda.demon.co.uk>, "Mumit Khan" <khan@xraylith.wisc.EDU>
- Subject: RE: dlopen error
- From: "Suhaib M. Siddiqi" <ssiddiqi@inspirepharm.com>
- Date: Sun, 11 Jul 1999 20:45:43 -0400
- Cc: "Cygwin-Xfree@Sourceware.Cygnus.Com" <cygwin-xfree@sourceware.cygnus.com>
Gary,
Thanks. Your ldd gives a real picture. It will be great tool
for development.
Regards
Suhaib
bash-2.02$ ldd /usr/local/lib/ggi/display/glide-0-0-0.dll
glide-0-0-0.dll -> /usr/local/lib/ggi/display/glide-0-0-0.dll
libgg-0-0-6.dll -> /usr/local/lib/ggi/display/libgg-0-0-6.dll
libggi-2-0-0.dll -> /usr/local/lib/ggi/display/libggi-2-0-0.dll
libgii-0-0-6.dll -> /usr/local/lib/ggi/display/libgii-0-0-6.dll
cygwin1.dll -> /e/pgi/cygusr/H-I586~1/bin/cygwin1.dll
glide2x.dll -> /usr/local/lib/ggi/display/glide2x.dll
kernel32.dll -> /WINNT/system32/kernel32.dll
ntdll.dll -> /WINNT/system32/ntdll.dll
ddraw.dll -> /usr/local/lib/ggi/display/ddraw.dll
advapi32.dll -> /WINNT/system32/advapi32.dll
user32.dll -> /WINNT/system32/user32.dll
gdi32.dll -> /WINNT/system32/gdi32.dll
rpcrt4.dll -> /WINNT/system32/rpcrt4.dll
winmm.dll -> /WINNT/system32/winmm.dll
> -----Original Message-----
> From: cygwin-xfree-owner@sourceware.cygnus.com
> [mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of Gary V.
> Vaughan
> Sent: Sunday, July 11, 1999 7:30 PM
> To: Mumit Khan
> Cc: Suhaib M. Siddiqi; Cygwin-Xfree@Sourceware.Cygnus.Com
> Subject: Re: dlopen error
>
>
> On Sun, Jul 11, 1999 at 02:20:59PM -0500, Mumit Khan wrote:
> > "Suhaib M. Siddiqi" <ssiddiqi@inspirepharm.com> writes:
> > >
> > > Ok, now when I ran objdump I get the listing.
> > >
> > > DLL Name"
> > > DLL Name: libgg-0-0-6.dll
> > > DLL Name: libggi-2-0-0.dll
> > > DLL Name: libgii-0-0-6.dll
> > > DLL Name: cygwin1.dll
> > > DLL Name: Glide2x.dll
> > > DLL Name: kernel32.dll
> > >
> > > So what I did I copied all these DLLs into the same directory where
> > > glide-0-0-0.dll is. Now the error message changed from 127 to 12, i.e
> > > The specified module could not be found.
> > > I do not which other module it is searching.
> > > This a Windows NT, machine with Banshee/Voodoo card and its drivers
> > > installed. Therefore, hardware cannot be an issue.
> >
> > But each of these can be dependent on other DLLs that your machine may
> > not have. The one in particular is DDRAW.DLL, which I know nothing about
> > but needed by GLIDE2X.DLL. That's why I suggested using the debugger
> > which prints out the various DLLs as they're being loaded. You can run
> > `objdump -p | grep "DLL Name"' on the DLLs as well to see what they
>
> I am still maintaining the (rather slow) shell version of ldd for
> cygwin which extracts the entire dependency tree from any executable
> or dll and elminated duplicates (much like the real ldd on unix), it
> is available from my homepage (see .sig).
>
> Cheers,
> Gary.
> --
> ___ _ ___ __ _
> email:gary@oranda.demon.co.uk
> / __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___
> gary@gnu.org
> | (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
> \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
> home page: /___/ /___/ pgp-2
> public key:
> http://www.oranda.demon.co.uk
> http://www.oranda.demon.co.uk/pgp
>