Stencyl 3.3.2 is now out. Get it now, talk about it and let us know if you run into any issues.

Stencyl 3.2 on OpenSuSE

andreTux

  • Posts: 4
December 20, 2014, 11:53:54 am
Hi, I am running openSuSE 13.2 and Stencyl itself is running without any problems.

But, when I try to Test a game, it fails to compile.

This is the log entry:

Level:     INFO
When:      2014-12-20 20:56:15
From:      stencyl.sw.util.StreamGobbler

Uncaught exception - load.c(237) : Failed to load library : /home/andre/downloads/games/Stencyl/plaf/neko-linux/regexp.ndll (libpcre.so.3: cannot open shared object file: No such file or directory)

OpenSUSE have no libpcre3, it only has libpcre1. 

It also seems to be missing libneko.so.

ldd regexp.ndll
   linux-vdso.so.1 (0x00007fff9b9ba000)
   libpcre.so.3 => not found
   libneko.so => not found
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4282a17000)
   libc.so.6 => /lib64/libc.so.6 (0x00007f428266f000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f4282e75000)

Has anybody had any success in getting it to work on openSuSE?

THanks
Andre



captaincomic

  • *
  • Posts: 5599
December 20, 2014, 03:24:56 pm
You could try creating a symlink from libpcre.so.3 to libpcre.so.
libneko.so is provided by Stencyl in <install dir>/plaf/neko-linux/libneko.so. No idea why it wouldn't find it.

andreTux

  • Posts: 4
December 20, 2014, 10:07:36 pm
I created the link for libpcre.so.3 and added the path for libneko.so to ld.so.conf and it finds libneko now, but still not libpcre.
Weird

# ls /usr/lib/libpcre.so*
/usr/lib/libpcre.so.1  /usr/lib/libpcre.so.1.2.3  /usr/lib/libpcre.so.3

# ldd regexp.ndll
   linux-vdso.so.1 (0x00007fff68dfc000)
   libpcre.so.3 => not found
   libneko.so => /usr/local/Stencyl/plaf/neko-linux/libneko.so (0x00007ff4cbd2a000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff4cbb0d000)
   libc.so.6 => /lib64/libc.so.6 (0x00007ff4cb765000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007ff4cb560000)
   libgc.so.1 => /usr/lib64/libgc.so.1 (0x00007ff4cb204000)
   libm.so.6 => /lib64/libm.so.6 (0x00007ff4caf03000)
   /lib64/ld-linux-x86-64.so.2 (0x00007ff4cc185000)

Maybe I can build lbpcre3 from the Debian sources

andreTux

  • Posts: 4
December 20, 2014, 10:33:21 pm
OK, so I need to facepalm here.  Don't know where my brain was, probably already on vacation...
I linked to the 32-bit version of libpcre.so, not the 64-bit.

I guess the mention of all the 32-compatibility requirements in the Stencyl installation instructions for Linux got my head stuck on 32-bit.

It is working now, thanks.

So, for openSUSE people,  if you have a 64-bit installation, just create a link to /usr/lib64/libpcre.so

ln -s /usr/lib64/libpcre.so /usr/lib64/libpcre.so.3

I can build an rpm for openSUSE 64-bit if anybody is interested