¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: TWS API Linux - Segmentation fault - __bid64_to_string


 

Do you have the 64-bit versions of gcc and the standard libs installed via apt?? Also, I believe that there is something wrong with WSL somehow.? Possibly your specific setup (wrong libs installed?) or possibly some issue with how the libraries are getting loaded (maybe you need some sort of WSL specific thing).? No idea but I strongly suggest you stop trying to get WSL to work.? Unless you are professional C++ dev and are pretty good at it, it is going to be tough going for you.? Just download a Ubuntu VM and fire up VMWare or some other VM and run Ubuntu properly.? Or run it natively as a dual boot.? Or run Ubuntu inside of Docker.? Trying to make it work via WSL is just making your life difficult for no real good reason.

Hunter


On Sunday, January 8, 2023 at 02:49:18 PM PST, <bannerman1985@...> wrote:


Yeah - loading project file in Microsoft visual studio - it defaults to win32. On windows I couldn't get it to compile on 64bit.?
I tried both 32 and 64bit here - indeed running 32bit on this architecture - threw the lib error.

Context of the lib directory?
```
root@flare9x:~/IBJts/source/cppclient/client/lib# ls
eula.txt? libbid.a? libbid.so
```

When i run objdump -f libbid.a

```
root@flare9x:~/IBJts/source/cppclient/client/lib# objdump -f libbid.a
In archive libbid.a:
?
bid64_acos.o:? ? ?file format pe-x86-64
architecture: i386:x86-64, flags 0x00000039:
HAS_RELOC, HAS_DEBUG, HAS_SYMS, HAS_LOCALS
start address 0x0000000000000000
?
?
bid64_acosh.o:? ? ?file format pe-x86-64
architecture: i386:x86-64, flags 0x00000039:
HAS_RELOC, HAS_DEBUG, HAS_SYMS, HAS_LOCALS
start address 0x0000000000000000
```

When i run objdump -f libbid.so

```
root@flare9x:~/IBJts/source/cppclient/client/lib# objdump -f libbid.so
?
libbid.so:? ? ?file format pei-x86-64
architecture: i386:x86-64, flags 0x0000013b:
HAS_RELOC, EXEC_P, HAS_DEBUG, HAS_SYMS, HAS_LOCALS, D_PAGED
start address 0x0000000489e94a60
```


Join [email protected] to automatically receive all group messages.