Since you export LD_PRELOAD globally, it tells the LD linker to inject libcod.so into *every* process called in your shell script (cat, tail, mkdir and whatnot). So the linker is now supposed to link a 32bit library into 64bit processes, which simply errors out

This might work, just fit the script so it only sets LD_PRELOAD for the cod2_lnxded (and remove the export LD_PRELOAD line on top of that shell script)

LD_PRELOAD=/home/olger/HIGHJUMP/libcod2_1_0_newest.so ./cod2_lnxded "$@"