OSXvnc icon indicating copy to clipboard operation
OSXvnc copied to clipboard

Error on launch

Open lyleberman opened this issue 7 years ago • 7 comments

Hi. I used Xcode to build the most recent release but the application is crashing with this error:

dyld: Library not loaded: /opt/libjpeg-turbo/lib/libturbojpeg.0.dylib Reason: image not found Trace/BPT trap: 5

Only happens on a machine where turbo-jpeg isn't installed. How can I fix this? Thanks!

lyleberman avatar Mar 01 '17 13:03 lyleberman

How can I fix this?

Maybe add the missing library to your installation?

stweil avatar Mar 02 '17 20:03 stweil

Thanks for this - having problems doing this (XCode newbie) but will try to slog through it. Appreciate your work on this project!

lyleberman avatar Mar 30 '17 15:03 lyleberman

@lyleberman I am having the same trouble! I know there should be a way to include the library in the completed build, but I am no Xcode guru.

@stweil Is it a licensing issue that prevent the turbo-jpeg lib files from being included, or some other reason? Thanks!

noaht8um avatar Oct 07 '17 18:10 noaht8um

@noaht8um, did you try the package from https://github.com/stweil/OSXvnc/releases/tag/V5_0_1?

stweil avatar Oct 07 '17 18:10 stweil

I worked around this by configuring libjpeg-turbo like

$ ./configure --enable-static --disable-shared

now it works on boxes without that installed (I didn't get that problem with V5_0_1 either FWIW).

rdp avatar Dec 07 '17 22:12 rdp

The latest code uses static linking for the JPEG library, so it is no longer necessary for end users to install libjpeg-turbo. See commit 71aeeb97d7bf1dabbf9571bd4f793a2df94aa927 which fixed that problem.

stweil avatar Dec 14 '17 20:12 stweil

@lyleberman, please try the latest release.

stweil avatar Dec 15 '17 16:12 stweil