Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » TheIDE doesn't start on macOS 11.1
TheIDE doesn't start on macOS 11.1 [message #56016] Thu, 14 January 2021 13:44 Go to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I created following ticket in #2137 that describes that TheIDE bundled with tar can not be executed on latest macOS 11.1 (x86_64 architecture). Error dialog below:
index.php?t=getfile&id=6336&private=0

I saw this issue before. It was when previous macOS was release. My question here is can we make it bulletproff. I mean despite the system update TheIDE should works. Many other apps like Firefox doesn't have this problem after update. So, there might be problem in our macOS build infrastructure.

Klugier


U++ - one framework to rule them all.

[Updated on: Thu, 14 January 2021 13:44]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56053 is a reply to message #56016] Tue, 19 January 2021 10:03 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Thu, 14 January 2021 13:44
Hello,

I created following ticket in #2137 that describes that TheIDE bundled with tar can not be executed on latest macOS 11.1 (x86_64 architecture). Error dialog below:
index.php?t=getfile&id=6336&private=0

I saw this issue before. It was when previous macOS was release. My question here is can we make it bulletproff. I mean despite the system update TheIDE should works. Many other apps like Firefox doesn't have this problem after update. So, there might be problem in our macOS build infrastructure.

Klugier


What does "Report.." say?

Other than that, you are welcome to investigate. I am at the end of the rope with MacOS.

Mirek
Re: TheIDE doesn't start on macOS 11.1 [message #56061 is a reply to message #56053] Tue, 19 January 2021 16:04 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Here is the report data:
System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: 467A83CB-BA86-3F07-B652-B9256C74080A
Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
  Referenced from: /Volumes/VOLUME/*/theide.app/Contents/MacOS/theide
  Reason: image not found


I have OpenSSL in version 1.1.1.

Klugier


U++ - one framework to rule them all.

[Updated on: Tue, 19 January 2021 16:07]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56087 is a reply to message #56061] Fri, 22 January 2021 20:24 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I try to build TheIDE with embeeded umk that works. I just noticed that "/opt/local/include" doesn't exist and "/usr/include" doesn't posses openssl. So, I modified CLANG.bm to provied valid path:
INCLUDE = "/usr/include;/usr/local/opt/openssl/include";

And the compilation works...

The openssl is install using brew:
brew install openssl


The same is true for library path and it needs to be change to posses openssl:
LIB = "/usr/lib;/usr/local/opt/openssl/lib";


And now TheIDE works on macOS. I highly suggest to update CLANG.bm for mac to above options and trigger new build for that system.

Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 22 January 2021 20:33]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56095 is a reply to message #56087] Sun, 24 January 2021 07:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Fri, 22 January 2021 20:24
Hello,

I try to build TheIDE with embeeded umk that works. I just noticed that "/opt/local/include" doesn't exist and "/usr/include" doesn't posses openssl. So, I modified CLANG.bm to provied valid path:
INCLUDE = "/usr/include;/usr/local/opt/openssl/include";

And the compilation works...

The openssl is install using brew:
brew install openssl


The same is true for library path and it needs to be change to posses openssl:
LIB = "/usr/lib;/usr/local/opt/openssl/lib";


And now TheIDE works on macOS. I highly suggest to update CLANG.bm for mac to above options and trigger new build for that system.

Klugier


Well, I actually suspect that the whole issue is a result of brew upgrading openssl to 1.1...

Mirek
Re: TheIDE doesn't start on macOS 11.1 [message #56097 is a reply to message #56095] Sun, 24 January 2021 13:16 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Yes, this is the problem. The bundled binary links against 1.0 version not 1.1. I see that brew stop offering OpenSSL in version 1.0 and only 1.1 is available. Here is more details (brew OpenSSL@1.1). It is avialable for mac 11.1, 11.15 and 10.14.

We should act somehow here, I think by default we should link with the newer version not older that is currently not available on latest mac's. Alternatively, we could provide OpenSSL on by our-self like we do for Windows.

Klugier


U++ - one framework to rule them all.

[Updated on: Sun, 24 January 2021 13:46]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56098 is a reply to message #56097] Sun, 24 January 2021 13:33 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I wonder how the suggested fix will impact on MacOS 10. To setup the machine to run my program costed me some time and I am now scared to move to MacOS 11. I forgot what I did for openssl.

So if the recent openssl (both .dylib and .a) come with Upp then I would be more than happy.

Thanks,
Luigi

[Updated on: Sun, 24 January 2021 13:35]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56099 is a reply to message #56098] Sun, 24 January 2021 14:06 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Luigi,

For curiosity, I just checked your app Vega (Vega) on macOS 11.1 and everything works fine (no crash at launch). So, the application doesn't link with OpenSSL and the problem doesn't exist. The same is true for VegaTeam.

You should be very careful with migration. First, we need to make sure that upp with OpenSSL works well across different macOS versions. Now, TheIDE only works if you compile it manually with embedded umk with changes to build method.

Klugier


U++ - one framework to rule them all.

[Updated on: Sun, 24 January 2021 14:06]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56103 is a reply to message #56099] Sun, 24 January 2021 18:19 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Klugier wrote on Sun, 24 January 2021 14:06
Hello Luigi,

For curiosity, I just checked your app Vega (Vega) on macOS 11.1 and everything works fine (no crash at launch). So, the application doesn't link with OpenSSL and the problem doesn't exist. The same is true for VegaTeam.

You should be very careful with migration. First, we need to make sure that upp with OpenSSL works well across different macOS versions. Now, TheIDE only works if you compile it manually with embedded umk with changes to build method.

Klugier


Hello Klugier,

thanks a lot for the news about my app on macOS 11. I was unaware of it. Actually I linked OpenSSL statically Cool . I described somewhere on the forum how I did it. I compiled it with Mojave but I do not remember which version I used. I linked statically even mysqlclient.
Each time I setup the machine for macOS I have a headache. Instead I was able to compile the same apps you tried under Raspberry in a much simpler ways.
For the time being I'll continue to maintain my current setup on macOS.

Best regards,
Luigi
Re: TheIDE doesn't start on macOS 11.1 [message #56107 is a reply to message #56103] Mon, 25 January 2021 17:56 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

You can download working TheIDE package for macOS 11.1 that links against OpenSSL 1.1 from here.

Klugier


U++ - one framework to rule them all.

[Updated on: Mon, 25 January 2021 17:59]

Report message to a moderator

Re: TheIDE doesn't start on macOS 11.1 [message #56119 is a reply to message #56107] Thu, 28 January 2021 20:54 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Klugier wrote on Mon, 25 January 2021 17:56
Hello,

You can download working TheIDE package for macOS 11.1 that links against OpenSSL 1.1 from here.

Klugier


Thank you!
Luigi
Re: TheIDE doesn't start on macOS 11.1 [message #56276 is a reply to message #56119] Tue, 16 February 2021 13:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have changed Core/SSL to link static libraries to avoid the mess with SSL in MacOS. Hopefully this will help.

Can you test current nightly please?
Re: TheIDE doesn't start on macOS 11.1 [message #56277 is a reply to message #56276] Tue, 16 February 2021 15:18 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

I can confirm TheIDE from latest nightly on macOS works again out of the box without crash.

Klugier


U++ - one framework to rule them all.
Re: TheIDE doesn't start on macOS 11.1 [message #56278 is a reply to message #56277] Tue, 16 February 2021 15:25 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Tue, 16 February 2021 15:18
Hello Mirek,

I can confirm TheIDE from latest nightly on macOS works again out of the box without crash.

Klugier


Thank you... one step at time, right? Smile
Previous Topic: TheIDE is not respecting the sandbox
Next Topic: Displaying screenshots in Readme (UppHub)
Goto Forum:
  


Current Time: Thu Mar 28 20:28:47 CET 2024

Total time taken to generate the page: 0.01027 seconds