You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by "Evgeny Kotkov (Jira)" <ji...@apache.org> on 2023/05/31 19:52:00 UTC

[jira] [Updated] (SERF-194) Win32: Linking error when building against OpenSSL 1.1+

     [ https://issues.apache.org/jira/browse/SERF-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgeny Kotkov updated SERF-194:
-------------------------------
    Summary: Win32: Linking error when building against OpenSSL 1.1+  (was: Can't generate sources for WIN64 due to dependency on old OpenSSL libraries)

> Win32: Linking error when building against OpenSSL 1.1+
> -------------------------------------------------------
>
>                 Key: SERF-194
>                 URL: https://issues.apache.org/jira/browse/SERF-194
>             Project: serf
>          Issue Type: Bug
>    Affects Versions: serf-1.3.9
>         Environment: Windows 10 Enterprise x64
>            Reporter: Lyubomyr Pysarenko
>            Priority: Major
>
> Tried to generate sources for serf 1.3.9 on Windows.
> Failed with error:
> {{C:\dev\apache_builder\bin\python\py.exe build/gen_def.py serf.h serf_bucket_types.h serf_bucket_util.h > serf.def}}
>  {{link /nologo /RELEASE /dll /out:libserf-1.dll /implib:libserf-1.lib /LIBPATH:C:\Apache24\Release /LIBPATH:C:\Apache24\Release /LIBPATH:C:\Apache24\lib /LIBPATH:C:\dev\apache_builder\src\openssl\out32dll user32.lib advapi32.lib gdi32.lib ws2_32.lib crypt32.lib mswsock.lib rpcrt4.lib secur32.lib libapr-1.lib libaprutil-1.lib zlib.lib libeay32.lib ssleay32.lib /PDB:libserf-1.pdb /DEBUG context.obj incoming.obj outgoing.obj ssltunnel.obj buckets\aggregate_buckets.obj buckets\allocator.obj buckets\barrier_buckets.obj buckets\buckets.obj buckets\bwtp_buckets.obj buckets\chunk_buckets.obj buckets\dechunk_buckets.obj buckets\deflate_buckets.obj buckets\file_buckets.obj buckets\headers_buckets.obj buckets\iovec_buckets.obj buckets\limit_buckets.obj buckets\mmap_buckets.obj buckets\request_buckets.obj buckets\response_body_buckets.obj buckets\response_buckets.obj buckets\simple_buckets.obj buckets\socket_buckets.obj buckets\ssl_buckets.obj auth\auth.obj auth\auth_basic.obj auth\auth_digest.obj auth\auth_spnego.obj auth\auth_spnego_gss.obj auth\auth_spnego_sspi.obj /def:serf.def}}
>  {color:#d04437}{{LINK : fatal error LNK1181: cannot open input file 'libeay32.lib'}}{color}
>  {{scons: *** [libserf-1.dll] Error 1181}}
>  {{scons: building terminated because of errors.}}
> OpenSSL version 1.1.1 has been used.
> Preliminary problem is in SConstruct file line 338:
>    {color:#205081}env.Append(LIBS=['libeay32.lib', 'ssleay32.lib']){color}
> Since version 1.1.0 OpenSSL used different names for those dlls.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)