undefined reference to `__res_query’
Question: Trying to link Chilkat (C++) with the following libs: LIBS=-lstdc++fs \ -pthread \ -L${FMT_LIB} -lfmt \ -lspdlog \ /usr/local/lib/libredis++.a \ ${BOOST_LIB}/libboost_json.a \ … … ${CHILKAT_LIB}/libchilkat-9.5.0.a \ -lmongoc-1.0 -lbson-1.0 \ -lpthread \ -ldl \ -lresolv After we went from ubuntu 21 to 22 LTS, using same compiler, it stopped working. Now we get errors: /usr/bin/ld: … libchilkat-9.5.0.a(ChilkatResolve.o): in function `ChilkatResolve::bestMxLookup(char […]