<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Am Do., 22. Okt. 2026 um 15:56 Uhr schrieb Duncan Grisby <<a href="mailto:duncan@grisby.org">duncan@grisby.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2026-10-20 at 09:51 +0200, Daniel Krügler via omniORB-list<br>
wrote:<br>
<br>
[...]<br>
> shared\omnisslTP4.def(1) : warning LNK4093: Drive/Directory component<br>
> ignored in 'LIBRARY' statement<br>
>    Creating library shared/omnisslTP434_rt.lib and object<br>
> shared/omnisslTP434_rt.exp<br>
> libcrypto.lib(libcrypto-lib-e_capi.obj) : error LNK2019: unresolved<br>
> external symbol __imp_CertOpenStore referenced in function<br>
> capi_open_store<br>
<br>
[...]<br>
<br>
> Notice that the created command line does *not* list crypt32.lib<br>
> (whose absence is the cause of above linkage errors), albeit I<br>
> defined<br>
<br>
Where did your OpenSSL build come from?  The one from<br>
<a href="https://slproweb.com/products/Win32OpenSSL.html" rel="noreferrer" target="_blank">https://slproweb.com/products/Win32OpenSSL.html</a> does not have a<br>
dependency on crypt32.lib.<br></blockquote><div><br></div><div>We are using the cmake openssl build from <a href="https://github.com/jimmy-park/openssl-cmake">https://github.com/jimmy-park/openssl-cmake</a> based on the original sources from <a href="https://github.com/openssl/openssl/tree/openssl-3.6.5">https://github.com/openssl/openssl/tree/openssl-3.6.5</a>.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> OPEN_SSL_LIB = $(patsubst %,$(LibPathPattern),$(OPEN_SSL_ROOT)/lib) \<br>
>                libssl.lib libcrypto.lib<br>
> OMNIORB_SSL_LIB += $(OPEN_SSL_LIB) user32.lib crypt32.lib ws2_32.lib<br>
> bcrypt.lib<br>
> <br>
> in my <a href="http://x86_win32_vs_143_64.mk" rel="noreferrer" target="_blank">x86_win32_vs_143_64.mk</a>. <br>
> <br>
> It seems as if the variable  OMNIORB_SSL_LIB is not properly<br>
> considered for the build of  omnisslTP434_rt.lib. For testing<br>
> purposes I instead expanded  OPEN_SSL_LIB as follows<br>
<br>
It is not very well explained in the makefiles, but OMNIORB_SSL_LIB is<br>
used for programs that link with the omniORB SSL transport — it is not<br>
used when linking the omnisslTP library itself.<br>
<br>
> OPEN_SSL_LIB = $(patsubst %,$(LibPathPattern),$(OPEN_SSL_ROOT)/lib) \<br>
>                libssl.lib libcrypto.lib \<br>
>                crypt32.lib bcrypt.lib ws2_32.lib user32.lib<br>
> advapi32.lib<br>
<br>
That is the correct define that is used when building the SSL<br>
transport, so it is the correct place to add any dependant libraries.<br></blockquote><div><br></div><div>Thank you very much for clarification, Duncan!</div><div><br></div><div>- Daniel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Duncan.<br>
<br>
-- <br>
Duncan Grisby <<a href="mailto:duncan@grisby.org" target="_blank">duncan@grisby.org</a>><br>
</blockquote></div></div>