Technical support > Linux

Cant start UFO:AI

<< < (4/6) > >>

MipSpec109:
I apologize for my lack of common sense in computers, I am completely new to Linux so I know how frustrated you all must be.

After using the "cd ufoai" command in Terminal, I got all the contents of the directory. No problems so far.
I then used the "./ufo" command to run the shell script. However, instead of running, I recieve the following message...
"./ufo: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory"

I also attempted the "./ufoai/ufo" command. Instead I got "bash: ./ufoai/ufo: Not a directory"

I suspect there is an issue with the installation because I reinstalled the game multiple times and even when I chose the "Start" option after the install completes, the game does not initialize.

Again, thank you all, and I apologize for the confusion.
 

geever:
please do a:

--- Code: ---sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libvorbis-dev zlib1g-dev gettext libjpeg62-dev libpng12-dev libncurses5-dev libcurl3-dev libsdl-mixer1.2-dev libxml2-dev

--- End code ---

this will install packages you need.
(The file "libSDL_ttf-2.0.so.0" it's missing now is in "libsdl-ttf2.0-0" package which will be installed with "libsdl-ttf2.0-dev")

-geever

MipSpec109:
Geever, I copied the code given and entered it into Terminal. I received the following.


--- Code: ---Reading package lists... Done
Building dependency tree       
Reading state information... Done
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
libpng12-dev is already the newest version.
libpng12-dev set to manually installed.
Package libcurl3-dev is a virtual package provided by:
  libcurl4-openssl-dev 7.18.0-1ubuntu2.1
You should explicitly select one to install.
E: Package libcurl3-dev has no installation candidate

--- End code ---

I don't believe I have libcurl because I received an error message when I was compiling the data that I needed libcurl to perform a certain task in Terminal.

geever:
Try

--- Code: ---apt-get install libcurl4-openssl-dev

--- End code ---
then.

-geever

MipSpec109:
after getting libcurl, i used your given code as got...

--- Code: ---Reading package lists... Done
bash: Reading: command not found
benjamin@benjamin-Neptune:~$ Building dependency tree       
bash: Building: command not found
benjamin@benjamin-Neptune:~$ Reading state information... Done
bash: Reading: command not found
benjamin@benjamin-Neptune:~$ zlib1g-dev is already the newest version.
bash: zlib1g-dev: command not found
benjamin@benjamin-Neptune:~$ zlib1g-dev set to manually installed.
bash: zlib1g-dev: command not found
benjamin@benjamin-Neptune:~$ libpng12-dev is already the newest version.
bash: libpng12-dev: command not found
benjamin@benjamin-Neptune:~$ libpng12-dev set to manually installed.
bash: libpng12-dev: command not found
benjamin@benjamin-Neptune:~$ Package libcurl3-dev is a virtual package provided by:
bash: Package: command not found
benjamin@benjamin-Neptune:~$   libcurl4-openssl-dev 7.18.0-1ubuntu2.1
bash: libcurl4-openssl-dev: command not found
benjamin@benjamin-Neptune:~$ You should explicitly select one to install.
bash: You: command not found
benjamin@benjamin-Neptune:~$ E: Package libcurl3-dev has no installation candidate

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version