Recent

Author Topic: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]  (Read 2005 times)

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« on: April 24, 2022, 05:23:14 pm »
Todays security needs and app store to protect you from hacker code, so it is important you can install your favorite apps that's in that enviroment.
I tried to install Lazarus from Ubuntus appstore but without no success! I know I can get a fix for this in terminal but this is not secure if you don't know, what the code is installing! I been very pissed, when installed gcc for Codeblocks from a link and get the bootsector virus in Win 10 and have to install everything again!
So can I ask for Lazarus team to correct this in Ubuntu appstore.
Best regards and thanks in advance.
Robert  :)
« Last Edit: April 25, 2022, 12:37:12 am by Robert W.B. »
Rob

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11387
  • FPC developer.
Re: Lazarus can't find exeutable! Linux ubuntu...
« Reply #1 on: April 24, 2022, 07:39:33 pm »
That is the Appstore team's task, not Lazarus'.

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
Re: Lazarus can't find exeutable! Linux ubuntu...
« Reply #2 on: April 25, 2022, 12:36:38 am »
Ok. I see. Thanks for the info.
Sicerely
Robert
Rob

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus can't find exeutable! Linux ubuntu...
« Reply #3 on: April 25, 2022, 01:03:52 am »
Sorry Robert, the App Store approach adds absolutely no security to a product like Lazarus. The only way it could is if "they",  were to go over the source code, line by line, looking for something that should not be there. Can you imagine how long that would take each time Lazarus has a release ? And their chance of finding something well hidden ?

Debian them selves do have some FPC/Lazarus people, I doubt the other distros do.

No, they rely on the reputation of the product, they see Lazarus is open source and that people are openly invited to examine and contribute to the code and reason that a conspiracy would be just too hard to hide. In the case of Ubuntu, they just take it from Debian.

So, getting Lazarus from your App Store is no safer, indeed, may be a little less safe because its been through several extra sets of hands, than direct from Lazarus's own distribution means.

https://wiki.freepascal.org/Installing_Lazarus_on_Linux

That being said, I am surprised that the Ubuntu version of Lazarus is broken, they get it pretty much direct from Debian and while its most certainly not how I suggest you set it up, it does work. Hmm, unless you have the one intended for Bullseye, it had a self build problem that has been fixed in BackPorts.

You did not say what version of Ubuntu you are using and I cannot possibly read the error message you posted. Mind if I suggest that as a software developer your self, you should know better than that ?

Davo


Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #4 on: April 25, 2022, 01:12:33 am »
Just a side note - in U22.04, Lazarus is listed in the App Store as "potentially unsafe" !
But at least they have stopped describing anything not their own (such as my app) as "proprietary", that has bugged me for a long time.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11387
  • FPC developer.
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #5 on: April 25, 2022, 02:23:47 pm »
Just a side note - in U22.04, Lazarus is listed in the App Store as "potentially unsafe" !
But at least they have stopped describing anything not their own (such as my app) as "proprietary", that has bugged me for a long time.

I assume that that is because they can't run their lint or whatever automated C code checkers. Or maybe because of the binary needed to bootstrap

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #6 on: April 26, 2022, 05:57:29 am »
No, because its "provided by a third party" - its not an internally (ie Debian or Ubuntu) managed project and its not a SNAP where everything its going to do is controlled by the SNAP container.

The same dire warning applies to most of the apps in the repo.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #7 on: April 26, 2022, 09:21:45 am »
No, because its "provided by a third party" - its not an internally (ie Debian or Ubuntu) managed project and its not a SNAP where everything its going to do is controlled by the SNAP container.

The same dire warning applies to most of the apps in the repo.

Somebody's walking on very thin legal ice: if they automatically (i.e. without being able to provide records of testing) describe apps not provided by themselves as "potentially unsafe" then they're at risk of being held liable if an exploit is found in something they've provided since they've implied it's safe.

Also if MS or Google did that they'd be accused of discouraging users from installing competing apps on their platforms.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #8 on: April 26, 2022, 02:00:06 pm »
Yes, I agree, its unethical.  I don't believe there is a problem that this approach solves any way, never hear of a single exploit vectored via a big distro's repo. I guess it must have happened but I have never heard of it.

Personally, I'm moving away from Ubuntu, been a very long term user (ever since some blithering idiot enabled mouse gestures by default on Fedora). Its this obsession they have with SNAPs thats behind this IMHO, they are desperate to be 'known' for some major product and think its SNAPs so, push it hard !

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #9 on: April 26, 2022, 03:57:53 pm »
Its this obsession they have with SNAPs thats behind this IMHO, they are desperate to be 'known' for some major product and think its SNAPs so, push it hard !

"Snap" is the 4th derivative of position relative to time, i.e. it's like "Jerk" but more so :-)

(And "Snap" is, or course, followed by "Crackle" and "Pop"... and they're all bad for you in excess :-)

I think that the current obsession with containerisation is an unhealthy admission that unix- like Windows etc.- is susceptible to "DLL Hell". However while Docker etc. can be used to sort out networking issues and- to some extent- process migration things like Snap appear pretty weedy by comparison. Frankly, I think that all of them are an admission that the industry badly needs a new platform with things like network pooling and process migration built in from the start.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

PascalDragon

  • Hero Member
  • *****
  • Posts: 5448
  • Compiler Developer
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #10 on: April 27, 2022, 09:04:42 am »
I think that the current obsession with containerisation is an unhealthy admission that unix- like Windows etc.- is susceptible to "DLL Hell".

In my opinion that containerisation introduces more “DLL hell” than exists in typical Linux systems by default (for example if one only installs packages from the package manager that should be rather well contained), because one needs to check that all such app containers are updated when a bug in a library is found...

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Lazarus can't find exeutable! Linux ubuntu...[SOLVED]
« Reply #11 on: April 27, 2022, 09:35:57 am »
In my opinion that containerisation introduces more “DLL hell” than exists in typical Linux systems by default (for example if one only installs packages from the package manager that should be rather well contained), because one needs to check that all such app containers are updated when a bug in a library is found...

...where for security reasons the code running in the context of a container might not be able to contact external repositories.

One of the more laughable examples was when a defence contractor wrote a training simulator for an armoured vehicle, and /boasted/ that for robustness the output of the twelve teams involved was running in twelve separate VMs so that they didn't have to bother about using the same library versions etc.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018