Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
TestCppClient doesn't compile for Ubuntu 20.04 (focal)
Running make on the newly-downloaded TWS SDK produces the following:
g++ -pthread -Wall -Wno-switch -Wpedantic -Wno-unused-function -std=c++11 -I../../../source/cppclient/client -I../../../source/cppclient ../../../source/cppclient/client/*.cpp ./*.cpp ../../../source/cppclient/client/lib/libbid.a -oTestCppClientStatic collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /home/linuxbrew/.linuxbrew/bin/ld: BFD (GNU Binutils) 2.37 assertion fail reloc.c:8489 ../../../source/cppclient/client/lib/libbid.a(bid64_string.o):bid64_string.c:(.pdata+0x0): dangerous relocation: make: *** [makefile:11: TestCppClientStatic] Error 1 I've seen a few threads (i.e. this and ) that recommend swapping the IBKR bundled libbid.a or libbid.so with libintelrdfpmath-dev . The only problem is that that library isn't available for Ubuntu 20.04 (focal). Is there any way I can build with something else, or with the attached libraries? |
This fix works but only if I upgrade to Ubuntu 22.04.3 LTS.
libintelrdfpmath-dev isn't available for older versions of Ubuntu. |
to navigate to use esc to dismiss