aliens

Author Topic: Linux, error : "undefined symbol"  (Read 3441 times)

Offline Tchey

  • Sergeant
  • **
  • Posts: 32
    • View Profile
Linux, error : "undefined symbol"
« on: May 28, 2017, 08:55:49 pm »
Hello,

I wanted to try again this game, but i have trouble installing it. I have the game's data from Steam, so i use PlayOnLinux to install X-COM with Steam Windows, then make a copy the folder.

I had a working version before, it was "1.0.518a651-dirty". I didn't really play it, it was just a test, and it was about one year ago i think, but i could launch a game and all was fine.

So i tried to remove it to installed the latest Nightly :

Code: [Select]
sudo remove openxcom

I follow the steps on the webpage for Linux Ubuntu (i'm on Mint but it's more or less the same) :

Code: [Select]
sudo add-apt-repository ppa:knapsu/openxcom-beta
sudo apt-get update
sudo apt-get install openxcom

Then i go to /home/tchey/.local/share/openxcom/UFO/

and i copy the files from my X-COM vanilla into it and replace the previous ones.

Then i open a terminal like i used to do for the "dirty" version :

Code: [Select]
openxcom
 Now i have this error :

Code: [Select]
~ $ openxcom
openxcom: symbol lookup error: openxcom: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E

What did i do wrong ? Thanks for reading.

Online Yankes

  • Commander
  • *****
  • Posts: 3207
    • View Profile
Re: Linux, error : "undefined symbol"
« Reply #1 on: May 29, 2017, 01:17:38 am »
check what version of yaml-cpp you have.

Offline Stoddard

  • Colonel
  • ****
  • Posts: 485
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: Linux, error : "undefined symbol"
« Reply #2 on: May 29, 2017, 02:30:16 am »
Code: [Select]
sudo apt-get install libyaml-cpp0.5v5=0.5.3-1

might fix it.

Offline Tchey

  • Sergeant
  • **
  • Posts: 32
    • View Profile
Re: Linux, error : "undefined symbol"
« Reply #3 on: May 29, 2017, 11:12:03 am »
Hi,

sudo apt-get install libyaml-cpp0.5v5=0.5.3-1

Code: [Select]
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: La version « 0.5.3-1 » de « libyaml-cpp0.5v5 » n'a pu être trouvée

It says in french "version can't be found".



When i try auto completion to find yam....

Code: [Select]
$ sudo apt-get install yam
yamagi-quake2       yamdi               yaml-mode           
yamagi-quake2-core  yamllint            yample         



edit : found it ! This works and the game launches, version 1.0.75d7278, is it correct ?

Code: [Select]
libyaml-cpp0.5v5 libyaml-cpp0.5v5:i386
Thanks
« Last Edit: May 29, 2017, 11:20:52 am by ( Tchey ) »