Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-im/skype-4.2.0.13 problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
10B2
n00b
n00b


Joined: 28 May 2013
Posts: 65

PostPosted: Fri Mar 21, 2014 11:25 am    Post subject: net-im/skype-4.2.0.13 problem Reply with quote

I emerged net-im/skype-4.2.0.13.
I can see its bin is in /opt/bin/.
But, if I start skype, I get the message:

bash: skype: command not found
:? :? :?

Further information that eventually can be useful:

---------------------------------------------------------------------------------------------------------
strace -f /opt/bin/skype

execve("/opt/bin/skype", ["/opt/bin/skype"], [/* 44 vars */]) = -1 ENOENT (No such file or directory)
write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
exit_group(1) = ?
+++ exited with 1 +++

---------------------------------------------------------------------------------------------------------

equery depgraph skype-4.2.0.13
* Searching for skype4.2.0.13 ...

* dependency graph for net-im/skype-4.2.0.13
`-- net-im/skype-4.2.0.13 ~amd64
`-- sys-apps/sed-4.2.2 (>=sys-apps/sed-4) ~amd64
`-- virtual/ttf-fonts-1 (virtual/ttf-fonts) amd64
`-- dev-qt/qtcore-4.8.5-r1 (dev-qt/qtcore) amd64 [abi_x86_32(-)]
`-- dev-qt/qtdbus-4.8.5 (dev-qt/qtdbus) amd64 [abi_x86_32(-)]
`-- dev-qt/qtgui-4.8.5-r1 (dev-qt/qtgui) amd64 [accessibility abi_x86_32(-)]
`-- dev-qt/qtwebkit-4.8.5 (dev-qt/qtwebkit) amd64 [abi_x86_32(-)]
`-- app-emulation/emul-linux-x86-qtlibs-20131008 (>=app-emulation/emul-linux-x86-qtlibs-20120520) M[package.mask]
`-- media-libs/alsa-lib-1.0.27.2 (media-libs/alsa-lib) ~amd64 [abi_x86_32(-)]
`-- app-emulation/emul-linux-x86-soundlibs-20131008-r2 (>=app-emulation/emul-linux-x86-soundlibs-20120520) M[package.mask]
`-- x11-libs/libX11-1.6.2 (x11-libs/libX11) amd64 [abi_x86_32(-)]
`-- x11-libs/libXext-1.3.2 (x11-libs/libXext) amd64 [abi_x86_32(-)]
`-- x11-libs/libXScrnSaver-1.2.2-r1 (x11-libs/libXScrnSaver) amd64 [abi_x86_32(-)]
`-- x11-libs/libXv-1.0.10 (x11-libs/libXv) amd64 [abi_x86_32(-)]
`-- app-emulation/emul-linux-x86-xlibs-20131008 (>=app-emulation/emul-linux-x86-xlibs-20120520) M[package.mask]
`-- sec-policy/selinux-skype-2.20130424-r4 (sec-policy/selinux-skype) amd64
[ net-im/skype-4.2.0.13 stats: packages (16), max depth (1) ]

-----------------------------------------------------------------------------------------------------------------
zcat /proc/config.gz | grep IA32
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y

------------------------------------------------------------------------------------------------------------------
zcat /proc/config.gz | grep CONFIG_KEXEC
CONFIG_KEXEC=y

--------------------------------------------------------------------------------------------------------------------

What's the problem?
:roll: :roll: :roll:
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sat Mar 22, 2014 12:40 am    Post subject: Reply with quote

What is the output of emerge --info net-im/skype ; ls -l /lib*/ld*.so*?
Back to top
View user's profile Send private message
10B2
n00b
n00b


Joined: 28 May 2013
Posts: 65

PostPosted: Mon Mar 24, 2014 10:07 am    Post subject: Reply with quote

This is the output of emerge --info

----------------------------------------------------------------
emerge --info net-im/skype

Portage 2.2.8-r1 (hardened/linux/amd64/no-multilib, gcc-4.8.2, glibc-2.18-r1, 3.13.6-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.13.6-gentoo-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem: 3931724 total, 535776 free
KiB Swap: 524284 total, 520348 free
Timestamp of tree: Mon, 17 Mar 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash: 4.2_p45-r1
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.6, 3.3.4
dev-util/cmake: 2.8.12.2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.14.1
sys-devel/binutils: 2.24-r2
sys-devel/gcc: 4.8.2
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb boost bzip2 cairo cli cracklib crypt cups cxx dbus dri f77 fortran gdbm gtk gtk2 hardened iconv ipv6 java javacblas jpeg justify latex lock mmx modules ncurses nls nptl openmp pam pax_kernel pcre pdf png python qt-static qt3 qt3support qt4 readline samba session spell sse sse2 ssl start-up-notification symlink tcpd thunar tiff trutype udev udisks unicode upcall urandom xtpax zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="
python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

net-im/skype-4.2.0.13 was built with the following:
USE="pax_kernel (-selinux)"

---------------------------------------------------------
this the output of ls -l /lib*/ld*.so*


ls -l /lib*/ld*.so*
-rwxr-xr-x 1 root root 144616 Mar 20 19:17 /lib/ld-2.18.so
lrwxrwxrwx 1 root root 10 Mar 20 19:17 /lib/ld-linux-x86-64.so.2 -> ld-2.18.so
-rwxr-xr-x 1 root root 144616 Mar 20 19:17 /lib64/ld-2.18.so
lrwxrwxrwx 1 root root 10 Mar 20 19:17 /lib64/ld-linux-x86-64.so.2 -> ld-2.18.so
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Tue Mar 25, 2014 2:06 am    Post subject: Reply with quote

You installed an x86 Skype on an amd64 no-multilib system, meaning you do not have the x86 loader. Rebuild Skype for amd64, run it in an x86 chroot, or reinstall with an amd64 multilib system.
Back to top
View user's profile Send private message
archrax
n00b
n00b


Joined: 05 Dec 2011
Posts: 45

PostPosted: Sun Apr 27, 2014 11:10 am    Post subject: Reply with quote

Hi guys,

I think I have the same problem. However, my emerge did not even complete. I get the message;

emerge: there are no ebuilds to satisfy "x11-libs/libXScrnSaver[abi_x86_32(-)]".
(dependency required by "net-im/skype-4.2.0.13" [ebuild])

How would I build Skype specifically for an amd64 no-multilib system? I thought this would be taken care of automatically by Portage?

Any help would be appreciated, thanks.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sun Apr 27, 2014 3:15 pm    Post subject: Reply with quote

you can't, Skype is closed source and 32bit only.

You either need a multilib profile or a 32bit chroot
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
archrax
n00b
n00b


Joined: 05 Dec 2011
Posts: 45

PostPosted: Sun Apr 27, 2014 4:02 pm    Post subject: Reply with quote

Yeah, that's what I thought. The previous reply confused me.

OK, thanks Naib.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sun Apr 27, 2014 6:06 pm    Post subject: Reply with quote

My advice is generic. Running closed source x86 programs is a degenerate case where the option to rebuild is unavailable to everyone outside the vendor who keeps the code secret. If you could obtain the code from Microsoft, that option would be an acceptable solution. Alternately, you could use something for which the code is freely available and avoid the problem that way.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Fri May 30, 2014 6:36 am    Post subject: Reply with quote

I'm getting the same error as here, only with qtdbus:

Code:
# emerge -p @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-qt/qtdbus:4[abi_x86_32(-)]".
(dependency required by "net-im/skype-4.2.0.13" [ebuild])


So far as I know, I have a multilib profile (I build packages with both abi_x86_32 and _64, or one or the other). But qtdbus does not have a use flag for 32-bit, and does not seem to respond to that USE flag; how do I build it to fit what skype needs?

Cheers,

EE
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Sat Nov 15, 2014 11:11 pm    Post subject: Reply with quote

ExecutorElassus:

Wait the new version of dev-qt. It will has the flag abi_x86_32.

This week will upload a mask version!!
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 568

PostPosted: Sat Nov 22, 2014 9:14 pm    Post subject: Reply with quote

I also look forward it qtdbus with the abi_x86_32 use flag. Skype is the only thing that is not working without the emul-linux packages.
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Sun Nov 23, 2014 5:00 am    Post subject: Reply with quote

It is my actually "/etc/portage/package.keywords" for Qt with the flag abi_x86_32:

Code:
=dev-qt/qtchooser-0_p20140613 ~amd64
=dev-qt/designer-4.8.6-r1 ~amd64
=dev-qt/qt3support-4.8.6-r1 ~amd64
=dev-qt/qtcore-4.8.6-r1 ~amd64
=dev-qt/qtdbus-4.8.6-r1 ~amd64
=dev-qt/qtdeclarative-4.8.6-r1 ~amd64
=dev-qt/qtgui-4.8.6-r1 ~amd64
=dev-qt/qtmultimedia-4.8.6-r1 ~amd64
=dev-qt/qtopengl-4.8.6-r1 ~amd64
=dev-qt/qtscript-4.8.6-r1 ~amd64
=dev-qt/qtsql-4.8.6-r1 ~amd64
=dev-qt/qtsvg-4.8.6-r1 ~amd64
=dev-qt/qttest-4.8.6-r1 ~amd64
=dev-qt/qttranslations-4.8.6-r1 ~amd64
=dev-qt/qtwebkit-4.8.6-r1 ~amd64
=dev-qt/qtxmlpatterns-4.8.6-r1 ~amd64


Now, zero mask!!
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 568

PostPosted: Mon Nov 24, 2014 12:46 am    Post subject: Reply with quote

Shortly after my previous post, I found that 4.8.6-r1 of the dev-qt/qt packages were available after running 'emerge --sync', so I finally made Skype (and everything else) work without the emul-linux packages. I am not sure whether the performance is any better, but I am glad to have recent versions of everything without any old, generic, prebuilt packages. I have been switching all of my computers to this method.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum