On Wed, 13 Mar 2002 23:52:13 -0800 (PST), you wrote:

>On Wed, 13 Mar 2002, David S. Cargo wrote:
>
>> >> The error messages come out after successful compilation (so that the
>> >> Xlib.h was found successfully), but the failure comes from the linking
>> >> step.
>> >
>> >What error messages?
>> 
>> The message can be found here:
>> 
>> http://www.mail-archive.com/[email protected]/msg05702.html
>
>Oh, I tought you were implying that you had new and different error
>messages this time.
>
>> >I assume that the libraries weren't found.
>> 
>> That's my assumption too, but I can't tell why.  How many library
>> files are required?
>
>I don't know for sure, but see two examples below:
>
>$ uname 
>NetBSD
>$ ldd `which blackbox`
>/usr/local/bin/blackbox:
>         -lICE.6 => /usr/X11R6/lib/libICE.so.6
>         -lSM.6 => /usr/X11R6/lib/libSM.so.6
>         -lX11.6 => /usr/X11R6/lib/libX11.so.6
>         -lXext.6 => /usr/X11R6/lib/libXext.so.6
>         -lstdc++.2 => /usr/lib/libstdc++.so.2
>         -lm.0 => /usr/lib/libm387.so.0
>         -lm.0 => /usr/lib/libm.so.0
>         -lc.12 => /usr/lib/libc.so.12
>
># uname ; cat /etc/debian_version 
>Linux
>testing/unstable
># ldd `which blackbox`
>        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4001c000)
>        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40025000)
>        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4003b000)
>        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40117000)
>        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
>(0x40125000)
>        libm.so.6 => /lib/libm.so.6 (0x40170000)
>        libc.so.6 => /lib/libc.so.6 (0x40192000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>  Jeremy C. Reed

Thank you for your ongoing help.  Cygwin does not implement the ldd
command.  However, I looked at the paths that appear in your message
(/usr/X11R6/lib and /lib and /usr/lib) and the same files are there,
expect for the extensions, which are .a instead of .so.

So, in that sense the libs are not missing; they just are not being
found.

escargo

David S. Cargo ([EMAIL PROTECTED])

Reply via email to