nai
nai

Reputation: 35

Program cannot be run in Linux

I have written a C++ game.

It works perfectly on a distro where I built it (openSUSE), but on another (Lubuntu) it can't run. I use this launcher:

chmod +x Trigonium
export LD_LIBRARY_PATH=""
./Trigonium

And it says: ./Launcher.sh: line 3: ./Trigonium: cannot open binary file

I get the same error when I try to run directly.

Upvotes: 0

Views: 128

Answers (1)

Mr Fooz
Mr Fooz

Reputation: 111986

Is it the same binary on both systems?

Is one system 32-bit and the other 64-bit? Check with uname -a as Gowtham suggests.

Upvotes: 6

Related Questions