EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Deployment of SecureBlackbox X RC 3 in OS-X (Delphi XE3)

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#21806
Posted: 10/03/2012 11:07:35
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

I have a FireMonkey project in Delphi XE3, and it compiles ok with SBB X RC 3 dcus.

But when I try to run it from the IDE, the following exception is raised in the Mac:

Library not loaded: @rpath/c
referenced from ...
reason: image not found

Must I add any library in the Mac profile option of the project ?.
#21807
Posted: 10/03/2012 11:14:30
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Could you please describe your debug configuration, so we'll be able to reproduce the same problem locally.
#21808
Posted: 10/03/2012 11:25:07
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Just to make sure - can you successfully deploy any sample project, which doesn't use SBB DCU's?
#21809
Posted: 10/03/2012 12:29:50
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

Yes, I can successfully deploy and run the same project if I delete the dependencies of the SBB DCU's.

I use the following units:

SBPublicKeyCrypto
SBCryptoProvBuiltIn


The .dpr has this lines:

// Minimize file size
{$RTTI EXPLICIT METHODS([]) FIELDS([]) PROPERTIES([])}
{$IFDEF MSWINDOWS}
// Only in Windows -> http://qc.embarcadero.com/wc/qcmain.aspx?d=98693
{$WEAKLINKRTTI ON}
{$ENDIF}


{$IFDEF CPUX64}
{$EXCESSPRECISION OFF}
{$ENDIF}


Project options ->

Search path: SecureBlackbox.VCL\Units\Delphi17\MacOS

Debug configuration: The standar Delphi XE3 configuration, except this params:
Use debug .dcus True
Overflow checking True
Range checking True

But the same problem occurs deploying with the Release configuration.
#21810
Posted: 10/03/2012 12:47:49
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

We will try to reproduce this problem with XE3.
Some time ago we checked Mac OS deployment with XE2, and everything worked fine.
#21811
Posted: 10/03/2012 13:33:32
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

Steps to reproduce in a new project.

File -> New -> FireMonkey desktop application.

Save.

Project options -> Add Mac Os X as target platform.

Build & Run. Ok.

Add the units SBPublicKeyCrypto and SBCryptoProvBuiltIn to the project.

Build & Run.

Library not loaded: @rpath/c
referenced from ...
reason: image not found
#21815
Posted: 10/04/2012 07:53:05
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. We were able to reproduce this error.
We will investigate it and answer here soon.
#21835
Posted: 10/04/2012 13:51:31
by Eugene Mayevski (EldoS Corp.)

Looks like a linker bug - @rpath/c is not a valid library name+path. I've posted the question to Embarcadero forums and if we are lucky enough, we'll have a contact with developers. The worst is that it's not some particular line of code that causes the garbage to be generated and we can't reproduce the issue on a simple test case in order to post it to Embarcadero.


Sincerely yours
Eugene Mayevski
#21941
Posted: 10/11/2012 06:58:11
by Alexander Brazda (Standard support level)
Joined: 10/23/2006
Posts: 1

I have XE3 and XE2 in two machines, both app give the same halt code
So the problem is not from xe3 version

Regards
Alexander Brazda
#21942
Posted: 10/11/2012 07:00:32
by Eugene Mayevski (EldoS Corp.)

Yes, both linkers have the same bug.

In SecureBlackbox X release we've added a "workaround" which is not really a cure but only a removal of the symptom. I am afraid that we might end up with some other code broken by the linker.


Sincerely yours
Eugene Mayevski
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 6075 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!