our scenario (all machines under gentoo linux):
A. tigervnc vncviewer builded with system libjpegturbo, but running
with original libjpeg on other machine.
B. tigervnc server started with vncserver :xx.
C. xorgserver with tigervnc module listen on port 5900.
attempt to connect from A to B:
If you build against libjpeg-turbo, then you have to use libjpeg-turbo
at run time. Building against libjpeg-turbo enables the libjpeg-turbo
colorspace extensions, which improve performance. These are not
available in libjpeg, hence the run-time errors.
All of the below is expected behavior.