I'm trying to get my env setup to write C++ application on linux.
So I have a very basic main.cpp that makes a call to createSession() and returns.
Now when I try to link using,
$ g++ main.o -o main.exe -L /usr/lib -l :liborder2go2.so
I get an error saying liboreder2go2 is not in correct format, linker can not read the file.
I could see the contents of the file using "nm -D liborder2go2.so".
Also, I am quite sure I am using 32-bit version which is required by my system.
Can someone help with what could be wrong here?
thanks!