project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - booTheHamster

Pages: [1]
1
Linux / Re: Game is x86_64 only?
« on: June 18, 2010, 05:51:43 pm »
Confirm that.

I download ufoai .run packege. Install via "sudo sh ./ufoai-2.3-linux.run" in default folder. Then type in terminal "ufoai", and get error:
"bash: ./ufo: не удалось выполнить бинарный файл" (bash: ./ufo: cannot execute binary file).

$ uname -a
Linux booc 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux

$ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=

$ ll /usr/local/games/ufoai
итого 11M
drwxr-xr-x 3 root root  4,0K 2010-06-18 19:40 base/
-rwxr-xr-x 1 root root  8,9M 2010-06-18 19:40 ufo*
-rwxr-xr-x 1 root root 1008K 2010-06-18 19:40 ufo2map*
-rwxr-xr-x 1 root root  3,1K 2010-06-18 19:40 ufoai*
-rwxr-xr-x 1 root root  1,1M 2010-06-18 19:40 ufoded*
-rwxr-xr-x 1 root root  1,7K 2010-06-18 19:40 uninstall*

$ ll /usr/local/bin

drwxr-xr-x 2 root root 4,0K 2010-06-07 18:34 lang/
-rwxr-xr-x 1 root root 3,7K 2010-04-30 23:36 freetype-config*
-rwxr-xr-x 1 root root  114 2010-05-04 19:27 hoh*
-rwxr-xr-x 1 root root  247 2010-05-04 19:27 hoh-uninstall*
-rwxr-xr-x 1 root root 2,2M 2010-06-07 18:34 transgui*
lrwxrwxrwx 1 root root   29 2010-06-18 19:40 ufoai -> /usr/local/games/ufoai//ufoai*
-rwxr-xr-x 1 root root 1,6K 2010-05-04 19:30 jd.sh*

$ file ufo
ufo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

2
I found solution. Make symbolic link from /lib/lib64/libcurl.so.4 to /usr/lib/libcurl.so.4 for x86_64 systems.

@sudo ln -s /usr/lib/libcurl.so.4 /lib/lib64/libcurl.so.4

Then I found a bug: game installator install 'ufo.x86_64' binary, but trying to run 'ufo' binary, and get "/home/boo/bin/ufoai: line 124: ./ufo: No such file or directory" error. I think that error in ufoai script.

3
System: Kubuntu 7.10, x86_64.
I install UFO:AI from ufoai-2.2-linux.run. Then I try to start UFO:AI, and get error "./ufo: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory".

@ls -l /usr/lib/libcurl*

/usr/lib/libcurl-gnutls.so.3 -> libcurl-gnutls.so.4
/usr/lib/libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.0.0
/usr/lib/libcurl-gnutls.so.4.0.0
/usr/lib/libcurl.so.3 -> libcurl.so.4
/usr/lib/libcurl.so.4 -> libcurl.so.4.0.0
/usr/lib/libcurl.so.4.0.0

@ls -l /lib/libcurl*

/lib/libcurl.so.4 -> /usr/lib/libcurl.so.4

What I can to do to run UFO:AI

Pages: [1]