On 8/25/05, Kiel Wadner <[EMAIL PROTECTED]> wrote:
> Jay Sprenkle wrote:
> 
> So you are partly correct.  It doesn't appear I have 'ldconfig' in
> Cygwin.    Perhaps this is the root of my problem but I don't believe so.
> 
> Am I correct in saying I would NOT get this error if it was simply a
> matter of mixing debug and release information?

I've got cygwin but don't develop on it so I can't say. ldconfig sets the path
for the linker (ld). If you specify -lMyLib you don't provide the path to the
file libMyLib.a. It's got to find the file so it checks the directories in
the linker path. This is generally set in ldconfig.

You can also get problems with compiling for debug but using the libraries 
compiled for non debug (the names of functions can be different) and vice
versa. Are you linking with libraries that end with a 'd' but using non debug
compiler options?

Reply via email to