Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291410

Summary: net-misc/nxclient-3.3.0.6: does not connect any more. Shared library error linjpeg.so.62
Product: Gentoo Linux Reporter: tazinblack <verbeamt>
Component: Current packagesAssignee: Gentoo NX Server project <nx>
Status: RESOLVED DUPLICATE    
Severity: major CC: octavsly
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tazinblack 2009-11-01 10:13:18 UTC
I can not use my nxclient any more. It shows "/usr/NX/bin/nxssh: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory" in the detail window.

ldd on /usr/NX/bin/nxssh shows :

	linux-vdso.so.1 =>  (0x00007fff841fe000)
	libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007fd37bb0d000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007fd37b90a000)
	libz.so.1 => /lib/libz.so.1 (0x00007fd37b6f5000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x00007fd37b4de000)
	libjpeg.so.62 => not found
	libm.so.6 => /lib/libm.so.6 (0x00007fd37b25d000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fd37b026000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007fd37ae10000)
	libXcomp.so.3 => not found
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6 (0x00007fd37ab05000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fd37a8de000)
	libc.so.6 => /lib/libc.so.6 (0x00007fd37a595000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fd37a391000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd37be93000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fd37a17a000).

revdep-rebuild does not fix the problem. Reemerge of nxclient doesn't help.




Reproducible: Always

Steps to Reproduce:
1.nxclient
2.try to connect to a nxserver
3.

Actual Results:  
connection error


emerge --info
Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r10 x86_64)
=================================================================
System uname: Linux-2.6.28-tuxonice-r10-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 30 Oct 2009 13:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 apache2 berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt ctype cups dbus dri dts dvb dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fontconfig fortran gdbm gif gnome gpm gstreamer gtk hal iconv io ipv6 isdnlog jbig jpeg jpeg2k kde ldap libnotify lirc mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvram ogg opengl openmp pam pcre pdf perl png ppds pppd projectx python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb v4l vdr vhosts vorbis wmf x264 xml xorg xulrunner xv xvid xvmc 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 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" ELIBC="glibc" FRITZCAPI_CARDS="fcusb2" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" MISDN_CARDS="avmfritz" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sylvain GRIALOU 2009-11-01 14:06:23 UTC
you should try revdep-rebuild, because it looks like exist a libjpeg.so.7.0 file now, you can also simply try "emerge nxclient" and see if it's corrected
Comment 2 Sylvain GRIALOU 2009-11-01 14:09:11 UTC
sorry, i did not read all your post...
perhaps "ln -s /usr/lib/libjpeg.so.7.0.0 /usr/lib/libjpeg.so.62" could fix it ?
Comment 3 Rafał Mużyło 2009-11-01 16:44:18 UTC
nxclient seems to be binary only, so it needs jpeg
compatibility package.
Comment 4 Bernard Cafarelli gentoo-dev 2009-12-15 17:30:22 UTC
Sorry for the delay, I did not see/get the mail when this bug got assigned to nx.

All current nxclient ebuilds in portage depend on:
|| ( media-libs/jpeg-compat <media-libs/jpeg-7 )

so this should not happen to you, what's the output of "emerge -pv nxclient"? It should bring in media-libs/jpeg-compat as a dep
Comment 5 Julien 2009-12-27 23:58:43 UTC
Hi,

I also had this bug. equery files media-libs/jpeg-compat show /usr/lib/libjpeg.so.62 but the file doesn't exist. emerge -1v media-libs/jpeg-compat solved the problem. Maybe a conflict between previous media-libs/jpeg and media-libs/jpeg-compat.
Comment 6 Julien 2009-12-28 00:03:01 UTC
seems to be related to bug #288369 http://bugs.gentoo.org/show_bug.cgi?id=288369
Comment 7 Bernard Cafarelli gentoo-dev 2010-01-05 10:21:37 UTC
Indeed, that's the cause! Thanks for the tip

*** This bug has been marked as a duplicate of bug 288369 ***
Comment 8 Octavian 2010-02-23 18:24:31 UTC
media-libs/jpeg-compat is not anymore in the portage tree. 
Also libjpeg.so.62 is missing. A link from libjpeg.so.7 to libjpeg.so.62 does not solve the problem since the client behaves strangely. 

Do we need new binary ebuilds? 

Regards,
Octavian

P.S. Should I open a new bug or re-open this one?
Comment 9 Octavian 2010-03-06 21:54:59 UTC
media-libs/jpeg has several slots. the (62) contains libjpeg.so.62

Comment 10 Bernard Cafarelli gentoo-dev 2010-03-07 11:39:20 UTC
Please try to remerge nxclient, which should indeed pull in jpeg-6:
RDEPEND=...
    <media-libs/jpeg-7

Also check that you do not have jpeg-compat still lying around (I think it should have been removed with the slot move back to jpeg-6, but better check)
Comment 11 Fabio Oleari 2010-03-09 16:52:19 UTC
I also have the same bug. I've re-emerged nxserver without solving the problem. I also have emerged the last masked version (3.4.0.12) but even this version requires libjpeg.so.62.
Revdep-rebuild does not solve the problem and I don't have jpeg-compat "still lying around".

Comment 12 Bernard Cafarelli gentoo-dev 2010-03-09 17:21:38 UTC
Yes all versions (as they are binary-only) use old media-libs/jpeg:62
What's the output of "equery l media-libs/jpeg"? (or even better equery k)