Hi Martin, Thank you for your reply, apologies for the delayed response, we have been travelling/sightseeing for a few days so I have not had much time for the computer, a little rain has slowed activities today! :-)
I tried the ldd command, but it just returned ’not a dynamic executable’, I assumed that means Linux does not recognize the file as an app, so I looked up what that meant online and found a little more info, then tried the ‘file’ command (as suggested from the search results) and it returned; parallels@ubuntu-linux-22-04-02-desktop:~/Documents/Linux x64$ file HelloWorld HelloWorld: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically lin ked, interpreter /lib64/ld-linux-x86-64.50.2, for GNU/Linux 2.6.32, BuildID[sha1 ]=46300372835d048c44a256611604d7f6b179aba5, not stripped So it seems Ubuntu is recognizing the app, but just not launching it! Tried the same in Debian: parallels@debian-gnu-linux-12:~$ ldd '/home/parallels/Documents/Linux Builds/Linux X64/Hello World' not a dynamic executable parallels@debian-gnu-linux-12:~$ file '/home/parallels/Documents/Linux Builds/Linux x64/Hello World' /home/parallels/Documents/Linux Builds/Linux x64/Hello World: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /1ib64/1d-linux-x86-64.50.2, for GNU/Linux 2.6.32, BuildID[sha1]=46300372835d048c44a256611604d7f6b179aba5, not stripped parallels@debian-gnu-linux-12:~$ Same result. If I try to launch through Terminal; parallels@debian-gnu-linux-12:~$ '/home/parallels/Documents/Linux Builds/Linux X64/Hello World' bash: /home/parallels/Documents/Linux Builds/Linux x64/Hello World: cannot execute binary file: Exec for mat error A little more digging and it seems LC is only building an x86 executable and Parallels installs Linux on ARM64, so they are just not compatible... Quote: Ubuntu Exec Format Error The “Exec format error” in Ubuntu typically indicates that the system cannot recognize the file as a shell script or executable. This can happen due to several reasons, such as a missing shebang (#!) at the start of a script, incorrect file permissions, or running an executable on the wrong architecture. For instance, trying to run an x86 executable on an ARM CPU can cause this error. Adding a shebang at the beginning of your script, ensuring the correct architecture matches, and verifying file permissions can help resolve the issue. Thank you everyone for your help, I’ve learned a little more about Linux now. I’ll send this back to LC for their input. Paul > On Jan 5, 2025, at 07:14, Martin Baxter via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi Paul > > 1 Does the application have executable permission on linux? > > 2 If it does, the issue might perhaps be missing dependencies > check on the linux command line: > > ldd <path to application> > > that will return a list of libraries on which the app depends and the path to > them, you would need to install any that are not present > > Martin > > On 02/01/2025 17:17, Paul - Livecode via use-livecode wrote: >> Hi Tom, thanks for the suggestion. No, there is no browser in the app, it is >> just a simple app for manipulating and editing specific CSV files. It does >> use quite a few modern widget controls though, mainly a Polygrid and a few >> Powerbuttons. Although I also tested a very simple hello world app, and I >> couldn’t get that to run in Linux under Parallels on Mac M2, both my app and >> the simple test run fine in Linux under Parallels on an Intel Mac, so there >> is definitely something odd going on. Not sure if it’s just my setup or if >> it’s a LC/Parallels/M2 thing. >> I’m hoping to send it off to LC today, but I’m going to be travelling for a >> few days after tomorrow, so I may have to follow up with this later next >> week. >> Paul >>> On Jan 1, 2025, at 20:35, Tom Glod via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>> Hi Paul, does your app have a browser in it ? if so, you need to build the >>> linux build on a linux box. >>> Perhaps this is true for some of the other necessary inclusions. >>> Thats the only experience I've had with working linux builds vs not >>> working. >>> Let us know if you figure it out. >>> >>> >>> >>> On Tue, Dec 31, 2024 at 6:32 PM Paul - Livecode via use-livecode < >>> use-livecode@lists.runrev.com> wrote: >>> >>>> >>>> Hi everyone, >>>> >>>> I’ve been a long-time list member, but never really felt the need to ask >>>> for advice until now. I’ve just built a small app using LC 9.6.13 and built >>>> standalones for Mac, Windows, and Linux, which I may look at distributing >>>> once all testing is done. >>>> >>>> I’m using a MacBook Pro M2 for development, and I have Parallels for >>>> testing. The Mac and Windows versions appear to be working fine, but when I >>>> try to launch the Linux standalone in Ubuntu via Parallels, it won’t even >>>> launch. When I double-click the app icon, there is no response. The same is >>>> true if I right-click and choose “Run”. I checked the app and folder >>>> permissions, and they appear to be OK. The app is on the Linux partition, >>>> and I have tried both the standard and x64 versions. >>>> >>>> I’ve never used Linux before, apart from on RPi, so I’m not sure if there >>>> is something that I am missing or doing wrong. Any ideas or advice would be >>>> gratefully received. >>>> >>>> Thank you, and wishing you all a wonderful New Year. >>>> >>>> Paul >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode