aliens

Author Topic: [OLD] Old OXCE+ discussion thread  (Read 855304 times)

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 9091
    • View Profile
Re: Meridian's resources and mods for X-PirateZ
« Reply #585 on: May 21, 2016, 11:51:01 am »
You need more than the executable.

Translations are linked above.
Or you can wait for next piratez release.

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #586 on: May 22, 2016, 09:49:11 pm »
Hey Meridian thank you for the linux executable! Anyway i am not able at the moment to run the game, the oxextended executable needs some dependencies, i managed to run the vanilla executable one as stated here but not the one you "manufactured" :), in fact i get the error:

Code: [Select]
error while loading shared libraries: libyaml-cpp.so.0.5: cannot open shared object file: No such file or directory
But as i wrote in the above mentioned link i happened to have all the dependencies/libraries installed. Maybe it's some kiond a bug in the binary or what?

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 9091
    • View Profile
Re: Meridian's resources and mods for X-PirateZ
« Reply #587 on: May 22, 2016, 09:54:43 pm »
It works for me.

I'm no linux expert, so I let that for you to play with... I built the executable using "Makefile.simple" if that helps.

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #588 on: May 22, 2016, 09:57:54 pm »
I'm no linux expert,

So am I, sadly  :'(

so I let that for you to play with... I built the executable using "Makefile.simple" if that helps.

Where i may find that Makefile.simple file, if the will to try will take on me? :D

edit: typos
« Last Edit: May 22, 2016, 09:59:51 pm by niculinux »

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 9091
    • View Profile
Re: Meridian's resources and mods for X-PirateZ
« Reply #589 on: May 22, 2016, 10:01:06 pm »

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #590 on: May 22, 2016, 10:03:38 pm »
https://github.com/MeridianOXC/OpenXcom/blob/oxce2.9-plus-proto/src/Makefile.simple

Thanks! But i fear i'll eventually resing until some other more experienced user would kindly provide a solution... :'(

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Meridian's resources and mods for X-PirateZ
« Reply #591 on: May 22, 2016, 10:29:28 pm »
Thanks for all the new exciting options, Meridian! Now I need to include them somehow. :D

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: Meridian's resources and mods for X-PirateZ
« Reply #592 on: May 22, 2016, 11:26:31 pm »
in fact i get the error:

Code: [Select]
error while loading shared libraries: libyaml-cpp.so.0.5: cannot open shared object file: No such file or directory
But as i wrote in the above mentioned link i happened to have all the dependencies/libraries installed. Maybe it's some kiond a bug in the binary or what?

If your system comes up with that error .. chances are it is not stored on one of the standard library paths.

What does the following command return:
Code: [Select]
locate libyaml-cpp

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #593 on: May 23, 2016, 11:12:05 pm »
Thanks R1do! Currently i'm on ubuntu 16.04, right now it's even buggier than win95!

Output of locate:

Code: [Select]
/usr/lib/x86_64-linux-gnu/libyaml-cpp.a
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.5
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.5.2
/usr/share/doc/libyaml-cpp-dev
/usr/share/doc/libyaml-cpp0.5v5
/usr/share/doc/libyaml-cpp-dev/changelog.Debian.gz
/usr/share/doc/libyaml-cpp-dev/copyright
/usr/share/doc/libyaml-cpp0.5v5/changelog.Debian.gz
/usr/share/doc/libyaml-cpp0.5v5/copyright
/var/lib/dpkg/info/libyaml-cpp-dev.list
/var/lib/dpkg/info/libyaml-cpp-dev.md5sums
/var/lib/dpkg/info/libyaml-cpp0.5:amd64.list
/var/lib/dpkg/info/libyaml-cpp0.5:amd64.postrm
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.list
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.md5sums
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.shlibs
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.triggers

Any ideas/clues?

Offline R1dO

  • Colonel
  • ****
  • Posts: 442
    • View Profile
Re: Meridian's resources and mods for X-PirateZ
« Reply #594 on: May 24, 2016, 12:40:28 am »
The lib seems to be in the correct place (for an ubuntu package).

You're a bit out of luck though, the ubuntu version you have wont work with oxc (nor does any of the other packages supplied with 16.04). So even if the loader could locate the correct version of  libyaml-cpp.so.0.5 (yes they can differ) you would have been presented with a different error.

The only way you can play oxc on 16.04 is by getting your hands on the correct version (for regular oxc it is 0.5.x, where x != 2, i don't know if extended needs a newer version). either by finding a ppa or by building libyaml yourself.

Alternatively you can try asking nicely if a version can be build with statically linked libraries (which is something i have no experience with).

I am still puzzled by the loader failure though. Could you provide me with the output of the following command?

Code: [Select]
ldd -v OXC_binary | grep yaml where OXC_binary is the full path to your downloaded version.
Thnx

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #595 on: May 24, 2016, 08:31:24 pm »
typing

Code: [Select]
ldd -v /home/nico/Scrivania/OpenXcom_XPiratez/OpenXcomExPlusElf | grep yaml
gives

Code: [Select]
libyaml-cpp.so.0.5 => not found
hell, apt says it is installed...i guess so it's a seriuos ubuntu 16.04 problem! But since i don't want to downgrade to 14.04 guess i'll have to resing..maybe Yankes may provide some assistence, even helping Meridian with linux binary versions?

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Meridian's resources and mods for X-PirateZ
« Reply #596 on: May 24, 2016, 08:46:39 pm »
typing

Code: [Select]
ldd -v /home/nico/Scrivania/OpenXcom_XPiratez/OpenXcomExPlusElf | grep yaml
gives

Code: [Select]
libyaml-cpp.so.0.5 => not found
hell, apt says it is installed...i guess so it's a seriuos ubuntu 16.04 problem! But since i don't want to downgrade to 14.04 guess i'll have to resing..maybe Yankes may provide some assistence, even helping Meridian with linux binary versions?

Check this here for getting the right YAML lib from github.

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #597 on: May 24, 2016, 08:53:10 pm »
Check this here for getting the right YAML lib from github.

Thanks, but i do not have time to study/invesitigate, so i guess i'll stop now. IN simplier words, the problem lies in ubuntu or in the binary? In the end someone eventually would kindly make a statically linked file cointaining the libs requested? Thanks again guys and keep it up!

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Meridian's resources and mods for X-PirateZ
« Reply #598 on: May 24, 2016, 08:58:31 pm »
Thanks, but i do not have time to study/invesitigate, so i guess i'll stop now. IN simplier words, the problem lies in ubuntu or in the binary? In the end someone eventually would kindly make a statically linked file cointaining the libs requested? Thanks again guys and keep it up!

The problem is that Ubuntu 16.04 uses the 0.5.2 Version of libyaml-cpp. The only thing you can do it either downgrade or upgrade the lib to a working version, version 0.5.1. or 0.5.3 or higher.

Ubuntu is tricky in this regard since they only set a list of packages which does exclude some versions of libs. In this case they picked a broken version of libyaml-cpp which is stupid but it ubuntu... (they really really should check the gitlogs before they pull in"stable" libs...)

niculinux

  • Guest
Re: Meridian's resources and mods for X-PirateZ
« Reply #599 on: May 24, 2016, 09:37:51 pm »
Maybe thete is a noob way to get thrse installed; like a third party- unofficial ppa or a .zip file? Thanks.  :D