Summary: | /usr/lib64/NX/bin/nxagent: symbol lookup error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joseph <syscon780> |
Component: | [OLD] Server | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joseph
2012-07-09 22:25:44 UTC
When I run: nm -D /usr/lib64/libX11.so | grep XGetRequest I get: 0000000000047600 T _XGetRequest The above result is on the server where I get error conneting to. When I run the same command on the server that freenx is working OK nm -D /usr/lib64/libX11.so | grep XGetRequest There is no output: the "libX11.so" does not contain: 0000000000047600 T _XGetRequest Apology server Info was from anohter system, here is correct information: Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.1.10-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.1.10-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.1 Timestamp of tree: Mon, 09 Jul 2012 17:30:01 +0000 ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.1.5, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo voip ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/openvpn/easy-rsa /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/voip" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam fbdev firefox flac foomaticdb fortran gdbm gif gimp gpm gtk iconv ipv6 java jpeg lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nplt nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline scanner sdl session spell sse sse2 ssl startup-notification svg tcpd tetex thunar tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="fujitsu" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I've been experiencing the same issue since updating xorg to 1.12.2 It does not appear to be related to any kernel settings, as these have remained unchanged. The same error affects both nxserver-freenx and x2go, which both rely on the nx package for nxagent. Re-emerging didn't accomplish anything. I even let the system re-emerge world overnight just to be sure. (In reply to comment #3) ... > > Re-emerging didn't accomplish anything. I even let the system re-emerge > world overnight just to be sure. I don't think re-emerging the system will solve your problem. I've unmerged net-misc/nxserver-freenx and emerged net-misc/nxserver-freeedition Here are some hints, where to find the ssh-key for the client etc.: http://www.nomachine.com/documentation/admin-guide.php freeedition worked for me. (In reply to comment #4) > Here are some hints, where to find the ssh-key for the client etc.: I had no issue at all with the initial setup. The application was working flawlessly until I updated Xorg and it appears to be a new library problem. I expect nxserver-freeedition works simply because it's a binary package. I did a little experimenting and discovered a strange interaction between libX11 and libXtst that appears to trigger it. What I found is that libX11 cannot be on version 1.5.0 when you build libXtst or it'll cause the error when executing nxagent, even if you rebuild the nx package. You can build either version of libXtst in the repo while libX11 1.4.4 is installed and it won't exhibit the issue. You can even update libX11 afterward and nxagent will continue to work so long as you do not recompile libXtst. libXtst 1.2.1 built with libX11 1.5.0: ----- # nm -D /usr/lib64/libXtst.so.6 | grep XGetRequest U _XGetRequest # nm -D /usr/lib64/libX11.so.6 | grep XGetRequest 000000000004e840 T _XGetRequest # nxagent --unrecognizedoption ./nxagent: symbol lookup error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest ----- libXtst 1.2.1 built with libX11 1.4.4: ----- # nm -D /usr/lib64/libXtst.so.6 | grep XGetRequest # nm -D /usr/lib64/libX11.so.6 | grep XGetRequest # nxagent --unrecognizedoption Unrecognized option: --unrecognizedoption use: X [:<display>] [option] (list of usage options snipped) ----- Updating libX11 to 1.5.0 while leaving libXtst alone (just for curiosity's sake): ----- # nm -D /usr/lib64/libXtst.so.6 | grep XGetRequest # nm -D /usr/lib64/libX11.so.6 | grep XGetRequest 000000000004e840 T _XGetRequest # nxagent --unrecognizedoption Unrecognized option: --unrecognizedoption use: X [:<display>] [option] (list of usage options snipped) ----- So long as libXtst contains no reference to _XGetRequest, nxagent behaves itself. For the time being I've downgraded to libX11 1.4.4 and recompiled everything X-related (All of Xorg's components look for _XGetRequest if they were built with libX11 1.5), but it seems to me that it's the nx package that needs to be fixed to cope with the new library version. Have you run revdep-rebuild since upgrading? Did you at least rebuild x11-libs/libXtst? (In reply to comment #6) > Have you run revdep-rebuild since upgrading? Did you at least rebuild > x11-libs/libXtst? Yes, I run revdep-rebuild several times during upgrade. NO, there was no speicific instruction to rebuild x11-libs/libXtst. I wouldn't even know that that lib causing the problem unless xenon.kay had mentioned it. *** This bug has been marked as a duplicate of bug 423855 *** |