Hi, Brigitte,

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

--
Fred Ma, [EMAIL PROTECTED]
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6



Bonert Brigitte wrote:

Hi,
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:
http://sourceforge.net/mailarchive/message.php?msg_id=2656964
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:
../vnc_unixsrc1.2.7/Xvnc/config/cf/vnclibs.def 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
in ../vnc_unixsrc1.2.7/lib
(just like tightvnc1.2.2 which libraries)

If you do not have jpeg and zlib anymore you will to have
to download them
http://www.ijg.org/files/
http://www.gzip.org/zlib/

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
during execution.
for example for Korn shell
mydirectory <directory in which the .so file resides>
export LD_LIBRARY_PATH=mydirectory
do echo $LD_LIBRARY_PATH first that you do wreck existing definitions .. if there is
something just add the additional item by export LD_LIBRARY_PATH=mydirectory:$LD_LIBRARY_PATH


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
them to.
Xvnc by default is build with almost all static libraries
by default.

(I recommend this ..)
find something about shared libraries and static libraries for example at:
http://herbert.the-little-red-haired-girl.org/en/c-tips/unix/
or at many other places.

Hope this helps
Brigitte


/*
* 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

#ifdef OSF1Architecture
/* 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 */
#else
VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz
#endif
VNCCPPFLAGS = -I$(TOP)/../include -I$(TOP)/../lib/jpeg -I$(TOP)/../lib/zlib
/* VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include */


Independent Electricity Market Operator
* [EMAIL PROTECTED]
* 905 855 6102
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to