The libs of qutecom-2.2_p20090606 get installed into /usr/lib/qutecom/ instead of /usr/lib/. For qutecom to work this needs to be in your path or you need to move the files. Qutecom will complain about not finding libowbase.so. Reproducible: Always
This is in the path # objdump -p /usr/bin/qutecom | grep qutecom RPATH /usr/lib64/qutecom:/usr/lib64/qt4 RUNPATH /usr/lib64/qutecom:/usr/lib64/qt4 If not, then something went wrong with your build of qutecom.
# objdump -p /usr/bin/qutecom | grep qutecom /usr/bin/qutecom: file format elf32-i386 RPATH /usr/lib/qutecom:/usr/lib/qt4 RUNPATH /usr/lib/qutecom:/usr/lib/qt4 That seems correct then. However when I delete the files in /usr/lib/ again (I copied them there), I get: qutecom: error while loading shared libraries: libowbase.so: cannot open shared object file: No such file or directory I see this on two systems. # emerge --info Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6043 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6043-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.13 Timestamp of tree: Sat, 23 Jan 2010 22:30:18 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r2 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 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.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/cursors/xfree/default/index.theme,/sbin/halt,/sbin/shutdown,/sbin/reboot,/usr/bin/emerge,/usr/share/xmodmap/xmodmap.us_intl-be-deadkeys,/usr/X11R6/lib/X11/xkb/symbols/pc/us-dutch,/usr/X11R6/lib/X11/xkb/rules/xfree86,/usr/X11R6/lib/X11/xkb/symbols.dir,/usr/X11R6/lib/X11/locale/iso8859-15/Compose,/usr/lib/X11/xkb/symbols/pc/us-dutch,/usr/lib/X11/xkb/rules/xfree86,/usr/lib/X11/xkb/symbols.dir,/usr/lib/X11/locale/iso8859-15/Compose,/usr/X11R6/lib/X11/locale/iso8859-15/Compose.xorg,/usr/lib/X11/locale/iso8859-15/Compose.xorg,/usr/X11R6/lib/X11/xkb/rules/xorg,/usr/lib/X11/xkb/rules/xorg,/usr/share/X11/xkb/symbols/pc/us-dutch,/usr/share/X11/xkb/rules/xfree86,/usr/share/X11/xkb/rules/xorg,/usr/share/X11/xkb/symbols.dir,/usr/share/X11/xkb/symbols/us-dutch,/usr/share/X11/locale/iso8859-15/Compose,/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux,/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /var/lib/hsqldb" 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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned psyco sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.gentoo.skynet.be/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.gentoo.skynet.be/pub/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="nl_BE@euro" LC_ALL="nl_BE@euro" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="nl" 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/layman/bazaar /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/ikelos /usr/local/portage/layman/java-overlay /usr/local/portage/layman/liquidx /usr/local/portage/layman/secondlife /usr/local/portage/layman/suka /usr/local/portage/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage/layman/vuze-bin /usr/local/portage/layman/wschlich-testing /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi acpi4linux aiglx alsa applet asf avahi bash-completion be beagle berkdb binary-drivers bluetooth bonobo branding browserplugin bzip2 cairo calendar caps cardbus ccache cdaudio cdda cddax cddb cdr cdrkit cdrom cdrparanoia chipcard chm chroot cjk clamav clamd clanVoice cli codecs colordiff console consolekit cracklib crypt css cuda cups cursors custom-optimization cxx daap dbus dga dhcp dhcpcd dia dict dirac directfb disk-partition distribution divx divx4linux djvu dmi dnd dri dts dv dvd dvdnav dvdr dvdread dvi eap-sim edl eds enblend enca encode equalizer ethereal evo evolution exif faad faad2 fam fasttrack fat fbcon fbcondecor fbsplash ffmpeg firefox flac flash font-server fr freebox freetts freetype ftp fuse gaim galago gamin gammu gatos gb gd gdbm gdl gdm gedit gif gimp gimpprint glibc-omitfp glitz gmail gmailtimestamps gmedia gnokii gnome gnome-keyring gnome-print gnutella gnutls gocr gphoto2 gpm gsm gstreamer gtk gtk2 gui gzip h323 hal hddtemp hibernate-script hou howl hpn ical icons iconv icq id3 id3tag ieee1394 imap inotify insecure-savers ipv6 ipw4965 irc iris irmc java java5 java6 javascript jfs jpeg jpeg2k jrtplib jsapi kdgraphics kerberos keyring kpathsea krb4 lame lcd ldap libburn libnotify libsexy live lm_sensors lzo lzw-tiff mad maps matroska maya-shaderlibrary mbox mbrola mcal md5sum mdb mdnsresponder-compat mime ming mmap mmkeys mmx mmx2 mmxext mng modplug modules monkey mono mozbranding mozp3p mozsvg mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn mudflap muine mule music musicbrainz mythtv nautilus ncurses net network networkmanager nl nl_wolf nls nntp no-seamonkey nocd nograss nptl nptlonly nsplugin ntfs ntlm nvidia nvtv oav obex ofa office ogg openal openct opendoc openft opengl openmp p2p pam pcmcia pcre pcsc-lite pdf perl php pidgin plugin plugin-file plugin-python plugins pmu png pnp policykit pop portaudio postscript ppds pppd prediction ps qt3support quicktime quotes rar rdesktop readline realmedia reflection regex reiser4 reiserfs remote resolvconf rhythmbox rss rtc samba scanner schroedinger serpentine session seti sftp sharedmem sift skype smp sms snmp sound soundtouch speex spell spl srt sse sse-filters sse2 ssl ssse3 startup-notification streamripper subtitles subversion suid svg sysfs taglib tagwriting tcpd tesseract theora thunar tiff timidity tools totem tpmtok tracker transcode trayicon truetype trusted unicode usagi usb userlocales utf8 v4l v4l2 vcd vditool videos visualization vorbis vorbis-psy wavpack webmin-minimal widescreen wifi win32codecs wma wmf wmp x264 x86 xanim xattr xchatdccserver xcomposite xen xext xfs xim xine xinerama xml xmp xorg xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon directory ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" NETBEANS_MODULES="groovy gsf j2ee ide java harness websvccommon nb profiler" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
please attach "ldd /usr/bin/qutecom" output. What appears different on your system is the use of --as-needed.
# ldd /usr/bin/qutecom linux-gate.so.1 => (0xb77c9000) libboost_signals-1_35.so.1.35.0 (0xb77b5000) libboost_thread-mt-1_35.so.1.35.0 (0x44182000) libowutil.so => /usr/lib/qutecom/libowutil.so (0xb7789000) libwebcam.so => /usr/lib/qutecom/libwebcam.so (0xb7762000) libowsl.so => /usr/lib/qutecom/libowsl.so (0xb7751000) libQtCore.so.4 => /usr/lib/qt4/libQtCore.so.4 (0x44397000) libQtGui.so.4 => /usr/lib/qt4/libQtGui.so.4 (0x4463e000) libQtNetwork.so.4 => /usr/lib/qt4/libQtNetwork.so.4 (0x44565000) libQtXml.so.4 => /usr/lib/qt4/libQtXml.so.4 (0xb771f000) libQtSvg.so.4 => /usr/lib/qt4/libQtSvg.so.4 (0x44295000) libQtDBus.so.4 => /usr/lib/qt4/libQtDBus.so.4 (0x441bc000) libpsiidle.so => /usr/lib/qutecom/libpsiidle.so (0xb7719000) libowmemorydump.so => /usr/lib/qutecom/libowmemorydump.so (0xb7709000) libsndfile.so.1 (0xb76a4000) libphapi.so => /usr/lib/qutecom/libphapi.so (0xb75b9000) libpthread.so.0 => /lib/libpthread.so.0 (0x45263000) libasound.so.2 (0xb74df000) libphapiutil.so => /usr/lib/qutecom/libphapiutil.so (0xb74da000) libglib-2.0.so.0 (0x453e8000) libgthread-2.0.so.0 (0x4570c000) libavcodec.so.52 (0x472ca000) libavutil.so.49 (0xb74c7000) libswscale.so.0 (0xb7495000) libpurple.so.0 (0xb73a6000) libX11.so.6 (0x452be000) libcurl.so.4 (0xb7363000) libboost_program_options-1_35.so.1.35.0 (0xb7330000) libboost_serialization-1_35.so.1.35.0 (0xb72bc000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6 (0x455bd000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1 (0x45501000) libc.so.6 => /lib/libc.so.6 (0x450c6000) libdl.so.2 => /lib/libdl.so.2 (0x4525d000) librt.so.1 => /lib/librt.so.1 (0x454ba000) libuuid.so.1 => /lib/libuuid.so.1 (0x45713000) libowbase.so => not found libcrypto.so.0.9.8 (0xb7179000) libssl.so.0.9.8 (0xb7130000) libz.so.1 => /lib/libz.so.1 (0x4527e000) libm.so.6 => /lib/libm.so.6 (0x45234000) libpng12.so.0 (0x45511000) libfreetype.so.6 (0x45537000) libgobject-2.0.so.0 (0x454c5000) libSM.so.6 (0x45a2c000) libICE.so.6 (0x45982000) libXrender.so.1 (0x45700000) libXrandr.so.2 (0x45720000) libXinerama.so.1 (0x4571a000) libfontconfig.so.1 (0x456d4000) libXext.so.6 (0x453d7000) libdbus-1.so.3 (0x45ff6000) libXss.so.1 (0x44339000) libFLAC.so.8 (0xb70f4000) libvorbisenc.so.2 (0xb6ffa000) libvorbis.so.0 (0xb6fcf000) libogg.so.0 (0xb6fc9000) libgmodule-2.0.so.0 (0x456cd000) libowbase.so => not found libsamplerate.so.0 (0x44ec6000) /lib/ld-linux.so.2 (0x4415a000) libdirac_encoder.so.0 (0xb6f34000) libfaad.so.2 (0xb6ef4000) libgsm.so.1 (0xb6ee8000) libmp3lame.so.0 (0xb6e73000) libopenjpeg.so.2 (0xb6e56000) libschroedinger-1.0.so.0 (0xb6dd0000) libspeex.so.1 (0xb6dba000) libtheora.so.0 (0xb6d8a000) libx264.so.65 (0xb6cf6000) libxvidcore.so.4 (0xb6bdd000) libdbus-glib-1.so.2 (0x47292000) libgstfarsight-0.10.so.0 (0x441a4000) libgstbase-0.10.so.0 (0xb6ba1000) libgstinterfaces-0.10.so.0 (0xb6b92000) libgstreamer-0.10.so.0 (0xb6ad6000) libxml2.so.2 (0x45e3e000) libutil.so.1 => /lib/libutil.so.1 (0x44333000) libnsl.so.1 => /lib/libnsl.so.1 (0x47240000) libresolv.so.2 => /lib/libresolv.so.2 (0xb6abe000) libxcb.so.1 (0x4529b000) libldap-2.4.so.2 (0xb6a83000) liblber-2.4.so.2 (0xb6a76000) libgssapi_krb5.so.2 (0xb6a4c000) libkrb5.so.3 (0xb69be000) libk5crypto.so.3 (0x4435d000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x4424e000) libgnutls.so.26 (0x471aa000) libtasn1.so.3 (0x47143000) libgcrypt.so.11 (0x470c9000) libgpg-error.so.0 (0x470c2000) libexpat.so.1 (0x456a6000) liboil-0.3.so.0 (0xb6950000) libXau.so.6 (0x452b8000) libXdmcp.so.6 (0x45293000) libkrb5support.so.0 (0x44254000)
Something else I am seeing (not sure if this is related) is messages like: (warn) 00:50:35 [PhApi] : osip: /var/tmp/portage/net-im/qutecom-2.2_p20090606/work/qutecom-2.2_p20090606/wifo/libosip2/src/osip2/osip_dialog.c:355: Remote UA is not compliant: missing a tag in response! when qutecom is running. Strangely, this mentions portage's temporary build directory. How about messages like this and crash reports, can I post them as bugs upstream without the ebuild process interfering? I mean, when the emerge runs, there are quite some notices that this is "badly written software" with an atypical make process. Should that be addressed first? Thanks
ldd output finds all libraries correctly, so no qutecom bug. I presume the problem is in your toolchain, most likely glibc.
Ah, I spoke too early, it finds only some libraries in /usr/lib/qutecom and others not. libowmemorydump.so => /usr/lib/qutecom/libowmemorydump.so (0xb7709000) libowbase.so => not found Could still be --as-needed problem. Bugging upstream is also possible but you would need to build hg tip.
So I should build without --as-needed to verify? Let me try that soon.
Does this still happen with the most current snapshot?
Hi, sorry. I haven't found time yet to provide you the needed info. Please standby.
I am experiencing this bug with 2.2_p20100620. Taking --as-needed out of my paludis bashrc allows qutecom to run properly.
The ebuild now filters --as-needed from LDFLAGS. Keeping this bug open for a proper fix.
qutecom was removed from tree because it failed to compile with linux-headers-2.6.38 and above, closing as WONTFIX
Reopening.
Closing again as per bug 361181
dropped