Hello, all.

I tried the latest vnc 4.1 for HP-UX. All binaries fail with message
"Unresolved symbol:
_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm". I checked the
library dependencies and all vnc binaries depend on
/usr/local/lib/libstdc++.sl, because they were compiled using gcc. My
version of  /usr/local/lib/libstdc++.sl is probably different from the
one used during the compilation. I would strongly suggest to compile VNC
in a way that it depends only on libraries that are standard part of the
operating system.

A quick and nasty trick to get rid of the dependency on libstdc++.sl is:
- mv /usr/local/lib/libstdc++.*l* /tmp
- /usr/local/lib/libstdc++.a should be left as it is
- compile VNC
- mv /tmp/libstdc++.*l* /usr/local/lib

There are also linker options to achieve the same, e.g append "-lc -lc
-Wl,-aarchive" to the END of the link command (sometimes "-lstream
-lCsup -lc -lc -Wl,-aarchive" is needed).

I would like to ask the nice folks at RealVNC to recompile VNC and get
rid of this dependency. I would do it myself, but I cannot get XFree86
to compile.

Thanks and best regards,

Miro
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to