Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: httpd 2.4.34 cmake lbmethod module error. |
|
Author |
|
satsharm
Joined: 27 Jun 2017 Posts: 3 Location: India,Bangalore
|
Posted: Mon 23 Jul '18 7:39 Post subject: httpd 2.4.34 cmake lbmethod module error. |
|
|
Hi,
I am getting below error when I compile httpd-2.4.34 Please help me to resolve it:
Linking C shared library mod_lbmethod_bybusyness.so
Creating library mod_lbmethod_bybusyness.lib and object mod_lbmethod_bybusyne
ss.exp
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_
ap_proxy_balancer_get_best_worker referenced in function find_best_bybusyness
mod_lbmethod_bybusyness.so : fatal error LNK1120: 1 unresolved externals
LINK Pass 1 failed. with 1120
NMAKE : fatal error U1077: '"C:\Program Files (x86)\cmake-3.9.6-win64-x64\bin\cm
ake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\nmake.exe"' : return code '0x2' |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 27 Jul '18 20:40 Post subject: |
|
|
Yeah, the cmakelist.txt file was not updated when the lbmethod module was changed and it now requires linking to mod_proxy. In the MSVC build it has been linked mod_proxy & mod_proxy_balancer modules for quite some time.
I do believe this should work.
1. Find the line (425) with Code: | SET(mod_ldap_extra_defines LDAP_DECLARE_EXPORT) |
2. Add these lines above it Code: | SET(mod_lbmethod_bybusyness_extra_libs mod_proxy mod_proxy_balancer)
SET(mod_lbmethod_byrequests_extra_libs mod_proxy mod_proxy_balancer)
SET(mod_lbmethod_bytraffic_extra_libs mod_proxy mod_proxy_balancer)
SET(mod_lbmethod_heartbeat_extra_libs mod_proxy mod_proxy_balancer)
|
|
|
Back to top |
|
|
|
|
|
|