<br><tt><font size=2>cognitive.libertarian+ml@gmail.com wrote on 27/04/2011
19:21:17:<br>
[SNIP]</font></tt>
<br><tt><font size=2>> <br>
> That's a typo. Sorry for the confusion. All these packages
are in<br>
</font></tt>
<br><tt><font size=2>No confusion. I just go off what you write . . .</font></tt>
<br>
<br><tt><font size=2>[SNIP]</font></tt>
<br><tt><font size=2>> > I can't see a conflict ???<br>
> <br>
> This is at the top of the output from ldd:<br>
> <br>
> $ ldd /usr/X11R6/bin/nxagent<br>
> /usr/X11R6/bin/nxagent: /usr/NX/lib/libpng12.so.0: no version
<br>
> information available (required by /usr/local/src/nx/nxcomp/libXcomp.so.3)<br>
> /usr/X11R6/bin/nxagent: /usr/NX/lib/libpng12.so.0: no version
<br>
> information available (required by <br>
> /usr/local/src/nx/nxcompext/libXcompext.so.3)<br>
</font></tt>
<br><tt><font size=2>I still can't see a conflict.</font></tt>
<br>
<br><tt><font size=2>> <br>
> When running "ldconfig -p | grep png":<br>
> <br>
> libpng12.so.0 (libc6) => /usr/NX/lib/libpng12.so.0<br>
> libpng12.so.0 (libc6) => /usr/lib/libpng12.so.0<br>
> libpng12.so (libc6) => /usr/NX/lib/libpng12.so<br>
> libpng12.so (libc6) => /usr/lib/libpng12.so<br>
> <br>
> So there are two versions in play. I'm not sure how to go about<br>
> resolving this.<br>
</font></tt>
<br><tt><font size=2>You don't have to. The paths do that for you(if you
set them properly).</font></tt>
<br>
<br><tt><font size=2>> <br>
> > Compile/install all the SERVER stuff, don't use the client libraries.<br>
> <br>
> The guides out there are a bit tangled. They don't name the
server<br>
> and client packages. Is nxagent a server or client?<br>
</font></tt>
<br><tt><font size=2>nxagent is an X server, i.e. a client in normal speak.
Clear ??</font></tt>
<br>
<br><tt><font size=2>[SNIP]</font></tt>
<br><tt><font size=2>> <br>
> I'm at a wall.<br>
> <br>
> Any other ideas?<br>
</font></tt>
<br><tt><font size=2>No, just the same one.</font></tt>
<br><tt><font size=2>Forget your franken-install</font></tt>
<br><tt><font size=2>Forget using the client libs for the server</font></tt>
<br><tt><font size=2>Install the correct debian packages, (but don't ask
me where</font></tt>
<br><tt><font size=2>they are, I don't use it)</font></tt>
<br><tt><font size=2>or</font></tt>
<br><tt><font size=2>if you can't find any, it's easy enough to download
and compile</font></tt>
<br><tt><font size=2>the source.</font></tt>
<br>
<br><tt><font size=2>At the risk of being boring, I'll explain how.</font></tt>
<br>
<br><tt><font size=2>Move to a new a directory where you have wxr</font></tt>
<br><tt><font size=2>Make sure your temp directory is x too</font></tt>
<br>
<br><tt><font size=2>wget and untar the following:-</font></tt>
<br>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxproxy-3.4.0-2.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxproxy-3.4.0-2.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxcomp-3.4.0-7.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxcomp-3.4.0-7.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxcompext-3.4.0-1.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxcompext-3.4.0-1.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxcompshad-3.4.0-3.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxcompshad-3.4.0-3.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nx-X11-3.4.0-4.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nx-X11-3.4.0-4.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxauth-3.4.0-3.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxauth-3.4.0-3.tar.gz</font></tt></a>
<br><a href="http://64.34.161.181/download/3.4.0/sources/nxagent-3.4.0-16.tar.gz"><tt><font size=2>http://64.34.161.181/download/3.4.0/sources/nxagent-3.4.0-16.tar.gz</font></tt></a>
<br>
<br><tt><font size=2>That should give you the following subdirectories:-</font></tt>
<br><tt><font size=2>nxcomp</font></tt>
<br><tt><font size=2>nxcompext</font></tt>
<br><tt><font size=2>nxcompshad</font></tt>
<br><tt><font size=2>nxproxy</font></tt>
<br><tt><font size=2>nx-X11</font></tt>
<br>
<br><tt><font size=2>Check/install devel dependencies, including:-</font></tt>
<br>
<br><tt><font size=2>freetype2-devel</font></tt>
<br><tt><font size=2>libpng-devel</font></tt>
<br><tt><font size=2>glibc-devel</font></tt>
<br><tt><font size=2>libjpeg-devel</font></tt>
<br><tt><font size=2>zlib-devel</font></tt>
<br><tt><font size=2>xorg-x11-libXfixes-devel</font></tt>
<br><tt><font size=2>xorg-x11-libXpm-devel</font></tt>
<br><tt><font size=2>libstdc++44-devel</font></tt>
<br><tt><font size=2>libstdc++-devel</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2>you need the gcc c++ compiler</font></tt>
<br>
<br><tt><font size=2>cd nx-X11</font></tt>
<br><tt><font size=2>make World </font></tt>
<br><tt><font size=2># note the W. Wait for ages whilst it compiles.</font></tt>
<br><tt><font size=2>cd ..</font></tt>
<br><tt><font size=2>cd nxproxy</font></tt>
<br><tt><font size=2>./configure</font></tt>
<br><tt><font size=2>make</font></tt>
<br>
<br>
<br><tt><font size=2>If it all compiles OK, copy the results as root:-</font></tt>
<br>
<br><tt><font size=2>nx-X11/lib/X11/libX11.so*</font></tt>
<br><tt><font size=2>nx-X11/lib/Xext/libXext.so*</font></tt>
<br><tt><font size=2>nx-X11/lib/Xrender/libXrender.so*</font></tt>
<br><tt><font size=2>nxcompext/libXcompext.so*</font></tt>
<br><tt><font size=2>nxcompshad/libXcompshad.so*</font></tt>
<br><tt><font size=2>nxcomp/libXcomp.so*</font></tt>
<br>
<br><tt><font size=2> . . . to where your libraries go eg.</font></tt>
<br><tt><font size=2>/usr/lib/NX/lib</font></tt>
<br>
<br><tt><font size=2>and</font></tt>
<br>
<br><tt><font size=2>nx-X11/programs/Xserver/nxagent</font></tt>
<br><tt><font size=2>nx-X11/programs/nxauth/nxauth</font></tt>
<br><tt><font size=2>nxproxy/nxproxy</font></tt>
<br>
<br><tt><font size=2> . . to where your executables go eg.</font></tt>
<br><tt><font size=2>/usr/lib/NX</font></tt>
<br>
<br><tt><font size=2>You can strip nxagent and libX11.so.6.2 to</font></tt>
<br><tt><font size=2>save a bit of memory.</font></tt>
<br>
<br><tt><font size=2>Set that wrapper back to how it was</font></tt>
<br><tt><font size=2>and</font></tt>
<br><tt><font size=2>put it in /usr/bin</font></tt>
<br><tt><font size=2>make it chown root and chmod rx for all.</font></tt>
<br>
<br><tt><font size=2>Clean up all the stuff you copied etc</font></tt>
<br>
<br><tt><font size=2>Say thank-you to those nice clever Italians.</font></tt>
<br>