Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Locked
pigbaby
Posts: 2
Joined: Wed Oct 19, 2016 1:18 am

Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Post by pigbaby »

Dear Sir
I try to compile 4.0.7 using Visual Studio 2008/2012
but
linker has error message
linker can't found
libcrypto-38.lib libssl-39.lib libtls-11.lib

Has any one can tell me .where can download or get it ?
thanks.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Post by Syzop »

You can now download the libraries used for UnrealIRCd 4.0.7's build at https://www.vulnscan.org/unrealwin32dev
Extract all these to c:\dev

I use the following make command to build official UnrealIRCd (from c:\dev\unrealircd-4.0.7 or similar):

Code: Select all

nmake -f makefile.win32 USE_ZIPLINKS=1 USE_SSL=1 OPENSSL_INC_DIR="C:\dev\libressl\include" OPENSSL_LIB_DIR="C:\dev\libressl\x86" USE_REMOTEINC=1 LIBCURL_INC_DIR="c:\dev\curl-ssl\include" LIBCURL_LIB_DIR="C:\dev\curl-ssl\builds\libcurl-vc-x86-release-dll-ssl-dll-ipv6-sspi-obj-lib" CARES_LIB_DIR="C:\dev\c-ares\msvc110\cares\dll-release" CARES_INC_DIR="C:\dev\c-ares" CARESLIB="cares.lib" TRE_LIB_DIR="C:\dev\tre\win32\release" TRE_INC_DIR="C:\dev\tre" TRELIB="tre.lib" PCRE2_INC_DIR="c:\dev\pcre2\build" PCRE2_LIB_DIR="c:\dev\pcre2\build\release" PCRE2LIB="pcre2-8.lib"
nmake -f makefile.win32 SYMBOLFILE
nmake -f makefile.win32 USE_ZIPLINKS=1 USE_SSL=1 OPENSSL_INC_DIR="C:\dev\libressl\include" OPENSSL_LIB_DIR="C:\dev\libressl\x86" USE_REMOTEINC=1 LIBCURL_INC_DIR="c:\dev\curl-ssl\include" LIBCURL_LIB_DIR="C:\dev\curl-ssl\builds\libcurl-vc-x86-release-dll-ssl-dll-ipv6-sspi-obj-lib" CARES_LIB_DIR="C:\dev\c-ares\msvc110\cares\dll-release" CARES_INC_DIR="C:\dev\c-ares" CARESLIB="cares.lib" TRE_LIB_DIR="C:\dev\tre\win32\release" TRE_INC_DIR="C:\dev\tre" TRELIB="tre.lib" PCRE2_INC_DIR="c:\dev\pcre2\build" PCRE2_LIB_DIR="c:\dev\pcre2\build\release" PCRE2LIB="pcre2-8.lib"
This is with Visual Studio 2012
pigbaby
Posts: 2
Joined: Wed Oct 19, 2016 1:18 am

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Post by pigbaby »

thank you a lot
:D
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Win32 compile error about libcrypto-38.lib libssl-39.lib libtls.lib

Post by Syzop »

Since these instructions were missing I've now created a new page on the wiki/docs: https://www.unrealircd.org/docs/Compili ... on_Windows
Locked