trouble on Ubuntu

Deploying to Linux? Get penguinated here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Johan_VH
Posts: 67
Joined: Fri Mar 28, 2014 2:46 pm

trouble on Ubuntu

Post by Johan_VH » Wed Jul 01, 2015 3:26 pm

I tried to run a program I made on Windows on a Linux computer (Ubuntu and Scientific) but it doesn't work. It just fails to start. I tried both a Linux standalone and a windows standalone under Wine.

I then decided to install Livecode on Ubuntu to compile from there, but the stack won't even open... it just crashes Livecode. I'm guessing my Ubuntu installation is needing some libraries or whatnot, but which ones??

I'm running the latest distro of Ubuntu, clean install.

Thanks in advance!

Johan

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5393
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: trouble on Ubuntu

Post by FourthWorld » Wed Jul 01, 2015 3:37 pm

Is your Ubuntu version 32- or 64-bit, and are you using the 32- or 64-bit LiveCode build for Linux?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Johan_VH
Posts: 67
Joined: Fri Mar 28, 2014 2:46 pm

Re: trouble on Ubuntu

Post by Johan_VH » Wed Jul 01, 2015 3:43 pm

both are the 32-bit version

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5393
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: trouble on Ubuntu

Post by FourthWorld » Wed Jul 01, 2015 5:34 pm

We may be able to identify any unmet library dependencies with ldd, e.g.:

Code: Select all

ldd ./LiveCode
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Johan_VH
Posts: 67
Joined: Fri Mar 28, 2014 2:46 pm

Re: trouble on Ubuntu

Post by Johan_VH » Thu Jul 02, 2015 10:42 am

I tried that, installed libc6 which seemed to be missing but still nothing.

I can open some projects, but the one that has to ship for an exhibition tomorrow just refuses to open. I even put every single line of code in (block)comment, and even then it crashes! I have no idea what is causing this...

Johan_VH
Posts: 67
Joined: Fri Mar 28, 2014 2:46 pm

Re: trouble on Ubuntu

Post by Johan_VH » Thu Jul 02, 2015 11:08 am

after a lot of trial and error, I finally found what the problem is: the crash happens the moment my program tries to show a jpg. Png's are displayed without a hitch.

If anyone knows, I'd be glad to hear it, I'm googling for it but so far to no avail...

*EDIT
I tried to start a new project on ubuntu LiveCode, imported a jpg, no problem
I tried to import a jpg as a referenced object however results in a crash. I can use linked png without a problem. What is missing in my ubuntu distro??

*EDIT2
In the meantime I've reported is a bug and the LiveCode-minions are working on resolving it!

Should anyone have the same problem: save it as legacy and open it in LC 6.5. When you make a standalone there it works just fine!

Post Reply

Return to “Linux”