aliens

Author Topic: OpenXcom scm version doesn't start  (Read 6959 times)

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
OpenXcom scm version doesn't start
« on: March 06, 2014, 09:51:04 pm »
Hello guys,

I've compiled the scm version of OpenXcom game. When I run it I receive the following message:
"
Code: [Select]
Error:
/usr/share/openxcom/data/Language/FontBi

Make sure you installed OpenXcom
correctly.
Check the requirements and
documentation for more details.

Press any key to quit
"
Could you please help me to resolve this issue?
Please look at the screenshot in the attachment and let me know if you need additional info.

Thank you in advance

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #1 on: March 07, 2014, 01:11:47 am »
It seems I found the reason of failure:
Code: [Select]
int@sophie ~/.local/share/openxcom $ cat openxcom.log
[07-03-2014 00:58:24] [INFO] Data folder is:
[07-03-2014 00:58:24] [INFO] Data search is:
[07-03-2014 00:58:24] [INFO] - /home/int/.local/share/openxcom/data/
[07-03-2014 00:58:24] [INFO] - /usr/local/share/openxcom/data/
[07-03-2014 00:58:24] [INFO] - /usr/share/openxcom/data/
[07-03-2014 00:58:24] [INFO] - ./data/
[07-03-2014 00:58:24] [INFO] User folder is: /home/int/.local/share/openxcom/
[07-03-2014 00:58:24] [INFO] Config folder is: /home/int/.config/openxcom/
[07-03-2014 00:58:24] [INFO] Options loaded successfully.
[07-03-2014 00:58:24] [INFO] SDL initialized successfully.
[07-03-2014 00:58:24] [INFO] SDL_mixer initialized successfully.
[07-03-2014 00:58:24] [INFO] Attempting to set display to 640x400x8...
[07-03-2014 00:58:24] [INFO] Display set to 640x400x8.
[07-03-2014 00:58:24] [INFO] Using SSE2 2X zoom routine.
[07-03-2014 00:58:24] [INFO] Loading ruleset...
[07-03-2014 00:58:25] [INFO] Ruleset loaded successfully.
[07-03-2014 00:58:25] [INFO] Loading resources...
[07-03-2014 00:58:25] [ERROR] /usr/share/openxcom/data/Language/FontBig.png:Failed loading libpng15.so.15: libpng15.so.15: cannot open shared object file: No such file or directory

but I have a newer version of libpng package:
Code: [Select]
sudo cave show libpng
Password:
* media-libs/libpng
    ::arbor                   1.5.17-r1(~) 1.6.9(~)* {:0}
    ::installed               1.6.9 {:0}
    media-libs/libpng-1.6.9:0::installed
« Last Edit: March 07, 2014, 01:13:35 am by 32bits »

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #2 on: March 07, 2014, 11:01:06 am »
Place the entire game folder content in the 'data' folder of your OXC installation/compilation.

See if it works like that.

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #3 on: March 07, 2014, 01:11:51 pm »
Place the entire game folder content in the 'data' folder of your OXC installation/compilation.

See if it works like that.

kkmic, the reason in the libpng package. I've downgraded to the 1.5 version and openxcom starts perfectly but, unfortunately, it broke other packages in my system :-( So the question is: is it possible to compile openxcom with libpng 1.6 version?

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #4 on: March 07, 2014, 02:31:14 pm »
Sorry, I've read your post in a hurry.

It may simply be the case of a wrong file name, and not of some incompatibility between versions.

Try restoring the 1.6 version of libpng and then create a symbolic link from the 1.6 libpng.so to the "missing" libpng15.so.15 library.

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #5 on: March 07, 2014, 03:24:34 pm »
Well, I've created symlink but I had no success in the OpenXcom launch. Here is the output:
Code: [Select]
openxcom
libpng warning: Application built with libpng-1.5.17 but running with 1.6.9

Any suggestions?

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #6 on: March 07, 2014, 04:15:58 pm »
Ok, I successfully launched openxcom after rebuilding the following dependencies:
dev-libs/yaml-cpp
media-libs/SDL
media-libs/SDL_gfx
media-libs/SDL_image
media-libs/SDL_mixer
x11-dri/glu
x11-dri/mesa

I thinks, we can close this topic :)
Thanks
« Last Edit: March 07, 2014, 04:18:32 pm by 32bits »

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #7 on: March 10, 2014, 10:35:58 am »
Great!


BTW, welcome to the community!

Offline 32bits

  • Squaddie
  • *
  • Posts: 9
  • Talk is cheap, shoe me the code!
    • View Profile
Re: OpenXcom scm version doesn't start
« Reply #8 on: March 10, 2014, 02:47:00 pm »
Thank you :)