Page 1 of 1

linker error: purebasic.o: could not read symbols: File in w

Posted: Fri Dec 28, 2018 1:57 pm
by robertdeboer
******************************************
PureBasic 5.11 (Linux - x86)
******************************************

Loading external modules...
Starting compilation...
Including source: LogMsg.pbi
256 lines processed.
Creating the executable.
Error: Linker
purebasic.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

Re: linker error: purebasic.o: could not read symbols: File

Posted: Fri Dec 28, 2018 3:12 pm
by ccode
Does the problem only occur with a specific source code, or always?

Mixed 32bit and 64bit libraries?

Re: linker error: purebasic.o: could not read symbols: File

Posted: Mon Dec 31, 2018 11:42 am
by robertdeboer
ccode wrote:Does the problem only occur with a specific source code, or always?

Mixed 32bit and 64bit libraries?
I have version 5.11 and 5.43 installed on RHEL6 server because 5.43 cannot send mails to an exchange server.

lrwxrwxrwx. 1 root root 22 Oct 13 2016 purebasic -> purebasic_5_43_x64_LTS
drwxr-xr-x. 10 purebasic purebasic 4096 Dec 28 14:38 purebasic-5_11_x86
drwxr-xr-x. 11 purebasic purebasic 4096 Dec 28 14:38 purebasic_5_43_x64_LTS

The error occurs Always when I want to compile/link wth 5.11. With 5.43 I have no issues.