Search found 52 matches

by thomb
Fri, 2024-07-12, 18:40
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

Looks like changing the .lib names helps with the configure/generate steps and allows the build to work later. However, the tool exes are still looking for DLLs named: libssl-3-x64.dll and libcrypto-3-x64.dll. I have asked the OpenSSL team if there is a way to set the names during their build proces...
by thomb
Thu, 2024-07-11, 16:25
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

Turns out the library names matter (thought it only mattered when they were downloaded from DCMTK website). I also found out that if the CMake process doesn't find the libraries with those names, it will not find the functions it needs to find to setup OpenSSL/DCMTK for building. I didn't realize th...
by thomb
Wed, 2024-07-10, 19:54
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

Also, I can't build DCMTK because of build issues.
See: https://forum.dcmtk.org/viewtopic.php?t=5396
by thomb
Wed, 2024-07-10, 19:53
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

FYI: I'm on Windows with Visual Studio build system. I'm not building the tools. The INSTALL file suggests I need to have the right library names so I will change them to match the INSTALL file list. I still have a question about the DLLs generated by the build of OpenSSL. They are: libcrypto-3-x64....
by thomb
Wed, 2024-07-10, 18:16
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

Also, the INSTALL file suggests that the libraries have to be named as specified in the CMakeCache.txt file. (Please note also that the library files of all external libraries are always expected in directory named "lib" below the directory which is specified in "WITH_LIBXMLINC",...
by thomb
Wed, 2024-07-10, 17:41
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

This is what I see in the CMakeCache.txt file when using OpenSSL 3.0.8 I built. DCMTK_LIBRARY_DEPENDENCIES:INTERNAL=config;iphlpapi;ws2_32;netapi32;wsock32;iphlpapi;ws2_32;netapi32;wsock32;crypt32;debug;C:/repos/mmi-director-dcmtk-3.6.8/openssl-3.0.8/lib/dcmtkssl_d.lib;optimized;C:/repos/mmi-directo...
by thomb
Tue, 2024-07-09, 17:13
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 366

Re: Changing version of OpenSSL for an already configured build system

And here is what the HAVE_OPENSSLs look like using OpenSSL 1.1.1w provided by DCMTK. //Have symbol struct evp_md_ctx_st *a; EVP_MD_CTX *b=a HAVE_OPENSSL_DECLARATION_NEW_EVP_MD_CTX:INTERNAL=1 //Have symbol ASN1_STRING_get0_data HAVE_OPENSSL_PROTOTYPE_ASN1_STRING_GET0_DATA:INTERNAL=1 //Have symbol DH_...
by thomb
Tue, 2024-07-09, 14:25
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

The directory that the OpenSSL libraries does not contain the DCMTK-build versions of those libraries. That's why I'm asking about this issue. I don't see how they can be selecting the DCMTK-build library names when it is selecting the directory for the libraries I built. There seems to be an issue ...
by thomb
Mon, 2024-07-08, 21:28
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 627

Re: Self built OpenSSL version 3.0.8 names

One last point. Since I'm using the libraries I built, I'd expect to see them referenced in the CMakeCache.txt file. However, I see the names for the DCMTK built OpenSSL libraries. DCMTK_LIBRARY_DEPENDENCIES:INTERNAL=config;iphlpapi;ws2_32;netapi32;wsock32;iphlpapi;ws2_32;netapi32;wsock32;crypt32;de...
by thomb
Mon, 2024-07-08, 21:20
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 366

Re: Changing version of OpenSSL for an already configured build system

Here is what I see in the CMakeCache.txt file generated for the new build system directory. //Configure DCMTK with support for OPENSSL. DCMTK_WITH_OPENSSL:BOOL=ON WITH_OPENSSLINC:PATH=C:/repos/mmi-director-dcmtk-3.6.8/openssl-3.0.8 HAVE_OPENSSL_DECLARATION_NEW_EVP_MD_CTX:INTERNAL= //Have symbol ASN1...
by thomb
Mon, 2024-07-08, 18:10
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 366

Re: Changing version of OpenSSL for an already configured build system

I have created a new build directory as stated before. It seems that the CMake configuration isn't really doing the right thing. I worked with the OpenSSL folks to confirm that this is true The HAVE_OPENSSL_PROTOTYPE_TS_VERIFY_CTS_SET_CERTS is a macro that checks for the existence of the TS_VERIFY_C...
by thomb
Fri, 2024-06-28, 19:02
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 366

Re: Changing version of OpenSSL for an already configured build system

ts_local.h should not be included so there is a problem with how CMake configured the build system based on the info provided by the OpenSSL devs shown below. On 28/06/2024 16:29, BENTLEY Thom via openssl-users wrote: > Thanks. Yes, I saw that they became opaque. > The code I’m building works fine w...
by thomb
Fri, 2024-06-28, 15:53
Forum: DCMTK - Installation
Topic: Vulnerabilities in OpenSSL 1.1.1w
Replies: 8
Views: 344

Re: Vulnerabilities in OpenSSL 1.1.1w

Thanks for the clarification. I didn't get that impression from Michael's replies
by thomb
Fri, 2024-06-28, 14:56
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 366

Re: Changing version of OpenSSL for an already configured build system

Looks like it's defined in
openssl/crypto/ts/ts_local.h:struct TS_verify_ctx {

That file isn't in the installed include directory produced by OpenSSL `nmake install`.
That's seems strange since it's needed by their ts.h file.