Great thanks Rush! This exercise did solve the problems :-)
Now I see that this problem with nt.mak has already been pointed out by "Matyas Majzik" in one of his emails to this group. Thanks and regards, -- Qadeer Baig On 6/1/05, Rush Manbert <[EMAIL PROTECTED]> wrote: > Hi Qadeer, > > I just went through the exercise of building the openssl libraries for > Win32 and for the Mac. I also built and installed libxml, libxslt, and > xmlsec. This matters because xmlsec links against openssl. > > I discovered that the generated makefiles for Win32 hard code /MD into > the compiler flags. This causes the link with your program to want the > DLL runtime. (Note your error messages that mention dllimport.) I ran > into all sorts of problems with the xmlsec link until I fixed this. > > I think that you can fix your problem if you edit ms\nt.mak after you > run the configure. Find the line that begins with: > CFLAG= /MD > > Change the /MD to something better, like /MT (multithreaded using > LIBCMT.lib) or /ML (single threaded using LIBC.lib). Whatever you choose > here must be the same as what you use for your program that links > against this library. > > Now run the make and the install and try linking to your program. > > I hope this helps. > > - Rush > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]