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: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#21980
Posted: 10/13/2012 15:03:41
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

Now it compiles ok, thanks.
#21981
Posted: 10/14/2012 22:19:44
by DWS DWS (Priority Standard support level)
Joined: 02/24/2011
Posts: 17

Hi, I am having exactly the same issue with the same linker error when deploying the app to mac. i have tried the workaround but it has not worked for me as i am getting the same error. i can however successfully compile using source but the linked error is still coming. can you advise what could be missing.?

regards,
Manpreet
#21990
Posted: 10/15/2012 03:04:44
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. Please check the sources you have. There in the bottom of SBCRLStorage.pas unit should be some text about Delphi XE2-XE3, and line CRLManagerAddRef should be commented out (or, be inside of {$ifndef DELPHI_MAC} which is defined for Delphi XE2-3).
Btw, the quick way to check if there is a linker error, without deployment, is to open resulting Mac OS executable file with hex editor (like built-in of FAR Manager) and check the section with framework paths for the "@rpath/c".
#21995
Posted: 10/15/2012 04:35:25
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

Mykola, I have the sources with the line CRLManagerAddRef inside of {$ifndef DELPHI_MAC}, but it does not solve the error.

But if I change some lines in my code, the error disappears, even restoring the call to CRLManagerAddRef.

It seems to be a compiler/linker problem, and as Eugene commented in QC, "this is not a real workaround, as we are probably seeing only symptoms of some deeper problem".


The resolution of the problem depends on Embarcadero.
#22121
Posted: 10/23/2012 03:41:49
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. Finally the issue is resolved, actually it is a typo in our code.
Because linker sometimes cut erroneus code out we were searching in a wrong direction.
You should on unit SBRandom and change
Code
function  arc4random() : DWORD; cdecl; external 'c';

to
Code
function  arc4random() : DWORD; cdecl; external '/usr/lib/libc.dylib' name '_arc4random';
#22147
Posted: 10/24/2012 02:23:16
by listapro  (Standard support level)
Joined: 03/23/2010
Posts: 10

Ok, problem is solved now.

Thanks for your support.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 6076 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!