Compiling tightvnc1.2.7 as non root on Solaris 8.0
Shing-Fat Fred Ma
Tue Dec 17 02:00:01 2002
After reading your link about *.so files,
I recompiled TightVNC 1.2.7 and it worked.
The only difference this time was that I didn't
try to install my own libz stuff. We have some
libz.so files in my LD_LIBRARY_PATH, so I
have no idea why I tried to install my own
last time. For some reason, I thought it was
necessary. Maybe at the time, didn't know
to check my LD_LIBRARY_PATH.
Thanks for your helpful response. This new
TightVNC seems to get around a potentially
catastrophic problem with the old one, that
is an 8-bit desktop crashes if I connect to
it from a 24-bit desktop. That's one way
to inadvertently terminate a simulation that
has been running for weeks.
Thank you again.
Fred Ma, email@example.com
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6
Bonert Brigitte wrote:
>I have done this but not for Solaris8.0 but for Dec Alpha Unix and I suspect
>you have the some of the same problems I encountered.
>I described them:
>but did not get an answer.
>It allowed me however to get a working version of Xvnc which is what
>I needed most.
>I found an answer since via changing the file:
>I attach my changed file since you do not have
>OSF1 (I do) you will change the #else part.
>My change assumes that the jpeg and zlib reside
>(just like tightvnc1.2.2 which libraries)
>If you do not have jpeg and zlib anymore you will to have
>to download them
>For building the vncviewer I just had to change its Imakefile
>in the same way.
>I just read your other email and it seems to me you have a
>problem running Xvnc. It does not find the shared library for jpeg
>(a shared library is something like a dll in Windows but better
>in IMHO. Their names start with lib and end with .so) These libraries
>must be available at runtime and on the box you are running your Xvnc ..
>If these libraries are not in standard locations you must
>define the environment variable LD_LIBRARY_PATH that they can be found
>for example for Korn shell
>mydirectory <directory in which the .so file resides>
>first that you do wreck existing definitions .. if there is
>something just add the additional item by
>Static libraries names start with lib end with .a and are built into
>the executable. It makes the result executables bigger but
>independent of installed libraries on any system you copy
>Xvnc by default is build with almost all static libraries
>(I recommend this ..)
>find something about shared libraries and static libraries for example at:
>or at many other places.
>Hope this helps
> * vnclibs.def - tells Xvnc where to pick up VNC libraries (i.e. libvncauth)
> * Don't forget you need to remake the Makefiles in programs/Xserver
> * and programs/Xserver/hw/vnc whenever you change this file.
>VNCLIBS = $(TOP)/../libvncauth/libvncauth.a
>/* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
>/* Changes for jpeg and zlib include and lib not in /use/local */
>VNCSYSLIBS = $(TOP)/../lib/jpeg/libjpeg.a $(TOP)/../lib/zlib/libz.a
>/* VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a */
>VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz
>VNCCPPFLAGS = -I$(TOP)/../include -I$(TOP)/../lib/jpeg -I$(TOP)/../lib/zlib
>/* VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include */
>Independent Electricity Market Operator
>* 905 855 6102