Trying to run standalone (headless) on Linux (Ubuntu) - failed at first hurdle

panagiotis m merakosp at gmail.com
Thu Mar 10 10:32:05 EST 2022


Hello all,

I think libexpat.so.1 is a system lib required by LC apps, so it might be
worth installing it.

I have not done any research, but I would expect that it would be enough to
do something like:

sudo apt-get install expat

or

sudo apt-get install libexpat

Kind regards,
Panos


On Thu, 10 Mar 2022 at 17:15, Ben Rubinstein via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi Stephen,
>
> Built on Mac. I didn't zip it because I've got a folder shared with the
> Docker
> container, so I just dragged it in.
>
> But sensing something behind your question... I just zipped up the
> original
> build folder, dragged that in, and then in the shell unzipped it, invoked
> that
> binary... same result.
>
> Thanks anyway!
>
> Ben
>
> On 10/03/2022 14:56, Stephen Barncard via use-livecode wrote:
> > Hi Ben,
> > Did you make the standalone on mac or win and  zip the file before
> > uploading ?
> > --
> > Stephen Barncard - Sebastopol Ca. USA -
> > mixstream.org
> >
> >
> > On Thu, Mar 10, 2022 at 6:50 AM Ben Rubinstein via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >>
> >> I'm trying to develop an app which will run headless on Linux (actually
> in
> >> a
> >> docker container). I've done this before... so long ago that I can't
> >> remember... with an earlier version of this app. Normally I run this on
> >> Mac
> >> and Windows.
> >>
> >> So (under LiveCode 9.6.6) I simply checked the Linux 64 option in the
> >> Standalone builder, built the app, transported the folder with the
> binary
> >> "MyApp", "Externals" folder, and "revsecurity.so" to the Docker
> container,
> >> and
> >> tried to launch it:
> >>
> >>> # ./MyApp -ui
> >>> ./MyApp: error while loading shared libraries: libexpat.so.1: cannot
> >> open shared object file: No such file or directory
> >>
> >> Can anyone point me in the right direction here? Does this mean that I
> >> need to
> >> do something different in how I build the app, or install something
> >> different
> >> in the environment?
> >>
> >> (The container is running Ubuntu 18.04.2 LTS).
> >>
> >> TIA,
> >>
> >> Ben
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list