PAServer can't load dyld: Library
Asked Answered
C

1

2

I am building a Desktop App for Windows and Mac. I am working on a Mac, with Delphi Rad Studio XE6 installed on my Parallel Windows 7. When Im running in Win32 everything runs ok, when I try to run in OSX, my PAServer 14.0 says

dyld: Library not loaded: @rpath/libcgunwind.1.0.dylib
  Referenced from: /Users/administrator/PAServer/scratch-dir/PC-Dionis/Project1.app/Contents/MacOS/Project1
  Reason: image not found

I read as much as possible in SO, I tried to manually copy the libcgunwind.1.0.dylib file into my scratch-dir, but as soon as I run the project, PAServer show the above message and the libcgunwind.1.0.dylib is deleted from the scratch-dir. I tried also launching it from the terminal, but it was the same. I read I can launch the paserver.command file,but I can't find it anywhere. Please some help!!

TIA

Cosmetic answered 9/10, 2014 at 9:42 Comment(7)
Did you follow the steps for deployment as described in the documentation, particularly the part about deploying an app on the Mac OS X platform?Innovate
Did you install PAServer both in Windows and on the Mac and register everything in the IDE? The built-in help describes extensively how to do that.Rights
Thanks @KenWhite! I followed them carefully and finally managed to run it on MAC OS X. I added as files there the dylib library and the .exe files I call using terminal. But I have another problem now. When I run it from delphi the terminal commands does not work properly. In the begging it said permission denied. I fixed that by using chmod 777. Than when I try to create a .txt file it says "Segmentation fault: 11"! And the command that tries to convert a image does not work at all. Anyway both of them work perfectly when i write them in terminal, without using delphi.Cosmetic
this are the lines I wrote to call this two terminal commands:_system(PAnsiChar(AnsiString('./dcmj2pnm '+ pathdcm + ' ' + pathbmp + ' +oj') )); _system(PAnsiChar(AnsiString('./dcmdump '+ pathdcm +' > '+pathtxt) )) ;Cosmetic
"I have another problem now" means you need to start a new question and ask it there, not in the comments here.Innovate
thanks @KenWhite, I am a new member hereCosmetic
PAServer is way too buggy to be used at this stage. Embarcadero may fix it in Delphi XE8 but they will charge us again if we want to use it.Midwife
M
1

PAServer is not stable at this stage. There are MANY reports about this:

PAServer can't load dyld: Library
Delphi XE5 PAServer Unauthorized user
How can i debug my DLL project with Delphi's PAServer
Delphi XE4 iOS can't connect to PAServer
https://stackoverflow.com/questions/28115855/paserver-crashes-on-win64
Delphi Mac OS X

Solution: wait until they release something stable. (You will have to pay again, of course)

Midwife answered 3/3, 2015 at 9:8 Comment(1)
Thanks for your answer @Altar. I am no longer working on this project, the above problem I managed to solve by building from scratch the libraries needed for deploying an app on Max OS X.Cosmetic

© 2022 - 2024 — McMap. All rights reserved.