Getting duplicate libxml2 symbols trying to link librsslVA from ETA 2.2.x
Hi all:
I am using RHEL8 and GCC8, statically linking ETA and libxml2.
I'm trying to build a sample application using ETA 2.2.3 and libxml2. When linking I am getting duplicate symbols errors like
/opt/rh/gcc-toolset-11/root/usr/bin/ld: /userhome/epederson/.conan/data/libxml2/2.13.5///package/a0eb883ef4c5f6bbed8510d21145a7b12bd3ce89/lib/libxml2.a(libxml2_la-globals.o): in function xmlInitGlobals':
xmlInitGlobals'; /userhome/epederson/.conan/data/rtsdk-eta/2.2.3/third-party/stable/package/86623287cb17dedcf3a3860ff0bc96052d3e2443/lib/librsslVA.a(libxml2_la-globals.o):globals.c:(.text+0x1a): first defined here
/userhome/epederson/.conan/data/libxml2/2.13.5/_/_/build/a0eb883ef4c5f6bbed8510d21145a7b12bd3ce89/src/globals.c:560: multiple definition of
That is one of many such duplicate symbols. When looking at librssVA.a (Specifically ./Cpp-C/Eta/Libs/RHEL8_64_GCC831/Optimized/librsslVA.a), I see that does define the duplicate symbols. For example:
$ nm --defined-only librsslVA.a | grep xmlInitGlobals
000000000000001a T xmlInitGlobals
0000000000000026 T xmlInitGlobalsInternal
When checking the contents of librsslVA.a it appears that somehow the libxml2 object files have been included. For example:
$ ar t librsslVA.a | grep libxml2
libxml2_la-buf.o
libxml2_la-c14n.o
libxml2_la-catalog.o
libxml2_la-chvalid.o
libxml2_la-debugXML.o
libxml2_la-dict.o
libxml2_la-encoding.o
libxml2_la-entities.o
libxml2_la-error.o
libxml2_la-globals.o
libxml2_la-hash.o
libxml2_la-HTMLparser.o
libxml2_la-HTMLtree.o
libxml2_la-list.o
libxml2_la-parserInternals.o
libxml2_la-parser.o
libxml2_la-pattern.o
libxml2_la-relaxng.o
libxml2_la-SAX2.o
libxml2_la-schematron.o
libxml2_la-threads.o
libxml2_la-tree.o
libxml2_la-uri.o
libxml2_la-valid.o
libxml2_la-xinclude.o
libxml2_la-xlink.o
libxml2_la-xmlIO.o
libxml2_la-xmlmemory.o
libxml2_la-xmlmodule.o
libxml2_la-xmlreader.o
libxml2_la-xmlregexp.o
libxml2_la-xmlsave.o
libxml2_la-xmlschemas.o
libxml2_la-xmlschemastypes.o
libxml2_la-xmlstring.o
libxml2_la-xmlunicode.o
libxml2_la-xmlwriter.o
libxml2_la-xpath.o
libxml2_la-xpointer.o
Is this intentional? Is it possible to use both libxml2 and librsslVA in the same program? What is the intention of librsslVA versus librssl?
Thanks,
Answers
-
Thank you for reaching out to us.
I will contact the product team to verify if the libxml2 is really required by the librsslVA.
For now, you may try to link the application with the shared library (librsslVA.so) instead.
The librsslVA is a value added layer built on top of librssl to simplify and compliment the use of the Enterprise Transport API. It provided additional functionalities, such as a connection managment and administration domain model representations.
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.8K Refinitiv Data Platform
- 625 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛