Coder Social home page Coder Social logo

Missing libneon.a in 0.8.1 about davix HOT 4 OPEN

cern-fts avatar cern-fts commented on July 4, 2024
Missing libneon.a in 0.8.1

from davix.

Comments (4)

Axel-Naumann avatar Axel-Naumann commented on July 4, 2024

...and just not linking against neon isn't a solution either:

16:10:46  builtins/davix/DAVIX-prefix/lib/libdavix.a(davixcontext.cpp.o): In function `Davix::backendRuntimeVersion[abi:cxx11]()':
16:10:46  davixcontext.cpp:(.text+0x5d2): undefined reference to `curl_version_info'
16:10:46  builtins/davix/DAVIX-prefix/lib/libdavix.a(CurlSessionFactory.cpp.o): In function `Davix::CurlSessionFactory::makeNewHandle(Davix::Uri const&, Davix::RequestParams const&)':
16:10:46  CurlSessionFactory.cpp:(.text+0x1de): undefined reference to `curl_easy_init'
16:10:46  CurlSessionFactory.cpp:(.text+0x1e6): undefined reference to `curl_multi_init'

Looks like the curl linking shouldn't be that PRIVATE?

from davix.

mpatrascoiu avatar mpatrascoiu commented on July 4, 2024

Hello Axel,

I'm not aware of Davix exporting any CMake targets.

I'll have a look at the issue tomorrow.

from davix.

Axel-Naumann avatar Axel-Naumann commented on July 4, 2024

Any news on this? It blocks our release, I'd very much appreciate some input here. Happy to discuss by videoconf or phone if that reduces latency!

from davix.

Axel-Naumann avatar Axel-Naumann commented on July 4, 2024

Thanks a lot for your help today!

I'll just add this here because it's along the same lines:

FAILED: lib/libRDAVIX.6.27.01.so 
18:57:54  : && /Library/Developer/CommandLineTools/usr/bin/c++ -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -dynamiclib -Wl,-headerpad_max_install_names -m64 -single_module -Wl,-dead_strip_dylibs -compatibility_version 6.27.0 -current_version 6.27.1 -o lib/libRDAVIX.6.27.01.so -install_name @rpath/libRDAVIX.6.27.so net/davix/CMakeFiles/G__RDAVIX.dir/G__RDAVIX.cxx.o net/davix/CMakeFiles/RDAVIX.dir/src/RRawFileDavix.cxx.o net/davix/CMakeFiles/RDAVIX.dir/src/TDavixFile.cxx.o net/davix/CMakeFiles/RDAVIX.dir/src/TDavixSystem.cxx.o  -Wl,-rpath,/Users/sftnight/build/workspace/root-pullrequests-build/build/lib  lib/libNet.6.27.01.so  lib/libRIO.6.27.01.so  builtins/davix/DAVIX-prefix/lib/libdavix.a  builtins/davix/DAVIX-prefix/src/DAVIX-build/deps/curl-install/usr/lib/libcurl.a  builtins/openssl/OPENSSL-prefix/lib/libssl.a  builtins/openssl/OPENSSL-prefix/lib/libcrypto.a  /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libz.tbd  /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libxml2.tbd  lib/libThread.6.27.01.so  lib/libCore.6.27.01.so && :
18:57:54  Undefined symbols for architecture x86_64:
18:57:54    "_CFArrayAppendValue", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _append_cert_to_array in libcurl.a(sectransp.c.o)
18:57:54    "_CFArrayCreate", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_CFArrayCreateMutable", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54    "_CFArrayGetCount", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFArrayGetValueAtIndex", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFDataCreate", referenced from:
18:57:54        _append_cert_to_array in libcurl.a(sectransp.c.o)
18:57:54    "_CFDataGetBytePtr", referenced from:
18:57:54        _pkp_pin_peer_pubkey in libcurl.a(sectransp.c.o)
18:57:54    "_CFDataGetLength", referenced from:
18:57:54        _pkp_pin_peer_pubkey in libcurl.a(sectransp.c.o)
18:57:54    "_CFDictionaryCreate", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFDictionaryGetTypeID", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_CFDictionaryGetValue", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_CFGetTypeID", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_CFRelease", referenced from:
18:57:54        _Curl_sectransp_close in libcurl.a(sectransp.c.o)
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54        _CopyCertSubject in libcurl.a(sectransp.c.o)
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54        ...
18:57:54    "_CFRetain", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFStringCompare", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFStringCreateWithCString", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_CFStringGetCString", referenced from:
18:57:54        _CopyCertSubject in libcurl.a(sectransp.c.o)
18:57:54    "_CFStringGetCStringPtr", referenced from:
18:57:54        _CopyCertSubject in libcurl.a(sectransp.c.o)
18:57:54    "_CFStringGetLength", referenced from:
18:57:54        _CopyCertSubject in libcurl.a(sectransp.c.o)
18:57:54    "_CFURLCreateDataAndPropertiesFromResource", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_CFURLCreateFromFileSystemRepresentation", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_SSLClose", referenced from:
18:57:54        _Curl_sectransp_close in libcurl.a(sectransp.c.o)
18:57:54    "_SSLCopyALPNProtocols", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLCopyPeerTrust", referenced from:
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54        _pkp_pin_peer_pubkey in libcurl.a(sectransp.c.o)
18:57:54        _show_verbose_server_cert in libcurl.a(sectransp.c.o)
18:57:54    "_SSLCreateContext", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetBufferedReadSize", referenced from:
18:57:54        _Curl_sectransp_data_pending in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetNegotiatedCipher", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetNegotiatedProtocolVersion", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetNumberSupportedCiphers", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetSessionState", referenced from:
18:57:54        _Curl_sectransp_check_cxn in libcurl.a(sectransp.c.o)
18:57:54    "_SSLGetSupportedCiphers", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLHandshake", referenced from:
18:57:54        _sectransp_connect_step2 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLRead", referenced from:
18:57:54        _sectransp_recv in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetALPNProtocols", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetCertificate", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetConnection", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetEnabledCiphers", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetIOFuncs", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetPeerDomainName", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetPeerID", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetProtocolVersionMax", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _set_ssl_version_min_max in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetProtocolVersionMin", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _set_ssl_version_min_max in libcurl.a(sectransp.c.o)
18:57:54    "_SSLSetSessionOption", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54    "_SSLWrite", referenced from:
18:57:54        _sectransp_send in libcurl.a(sectransp.c.o)
18:57:54    "_SecCertificateCopyCommonName", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_SecCertificateCopyLongDescription", referenced from:
18:57:54        _CopyCertSubject in libcurl.a(sectransp.c.o)
18:57:54    "_SecCertificateCreateWithData", referenced from:
18:57:54        _append_cert_to_array in libcurl.a(sectransp.c.o)
18:57:54    "_SecCertificateGetTypeID", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_SecIdentityCopyCertificate", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_SecIdentityCreateWithCertificate", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_SecItemCopyMatching", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_SecItemImport", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_SecKeyCopyExternalRepresentation", referenced from:
18:57:54        _pkp_pin_peer_pubkey in libcurl.a(sectransp.c.o)
18:57:54    "_SecPolicyCreateSSL", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustCopyPublicKey", referenced from:
18:57:54        _pkp_pin_peer_pubkey in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustEvaluate", referenced from:
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustGetCertificateAtIndex", referenced from:
18:57:54        _show_verbose_server_cert in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustGetCertificateCount", referenced from:
18:57:54        _show_verbose_server_cert in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustSetAnchorCertificates", referenced from:
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54    "_SecTrustSetAnchorCertificatesOnly", referenced from:
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54    "___CFConstantStringClassReference", referenced from:
18:57:54        CFString in libcurl.a(sectransp.c.o)
18:57:54        CFString in libcurl.a(sectransp.c.o)
18:57:54    "_kCFAllocatorDefault", referenced from:
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54        _append_cert_to_array in libcurl.a(sectransp.c.o)
18:57:54    "_kCFBooleanTrue", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kCFCopyStringDictionaryKeyCallBacks", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kCFTypeArrayCallBacks", referenced from:
18:57:54        _sectransp_connect_step1 in libcurl.a(sectransp.c.o)
18:57:54        _verify_cert in libcurl.a(sectransp.c.o)
18:57:54    "_kCFTypeDictionaryValueCallBacks", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecAttrLabel", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecClass", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecClassIdentity", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecImportItemIdentity", referenced from:
18:57:54        _CopyIdentityFromPKCS12File in libcurl.a(sectransp.c.o)
18:57:54    "_kSecMatchLimit", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecMatchLimitAll", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecMatchPolicy", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54    "_kSecReturnRef", referenced from:
18:57:54        _CopyIdentityWithLabel in libcurl.a(sectransp.c.o)
18:57:54  ld: symbol(s) not found for architecture x86_64
18:57:54  clang: error: linker command failed with exit code 1 (use -v to see invocation)

That's macOS11. I'll post an update once I figured out how to tell CMake to link against the Security framework; for now I just wanted to share yet another good reason for a Davix::Davix target :-)

from davix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.