From owner-freebsd-ports@freebsd.org Sat Oct 31 11:07:43 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE851A222CD; Sat, 31 Oct 2015 11:07:43 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B564A1BED; Sat, 31 Oct 2015 11:07:39 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA02181; Sat, 31 Oct 2015 13:07:30 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ZsU0Q-000OCb-AI; Sat, 31 Oct 2015 13:07:30 +0200 Subject: Re: skype4 on -current: error while loading shared libraries: libpulse-mainloop-glib.so.0 To: freebsd-ports@FreeBSD.org, xmj@chaot.net, freebsd-emulation@FreeBSD.org References: <201508132340.t7DNeRA7020621@mech-as222.men.bris.ac.uk> Cc: mexas@bris.ac.uk From: Andriy Gapon X-Enigmail-Draft-Status: N1110 Message-ID: <5634A0CD.1020103@FreeBSD.org> Date: Sat, 31 Oct 2015 13:06:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <201508132340.t7DNeRA7020621@mech-as222.men.bris.ac.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2015 11:07:43 -0000 On 14/08/2015 02:40, Anton Shterenlikht wrote: > Anybody else is seeing this? > > $ skype > /usr/local/share/skype/skype: error while loading shared libraries: libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory > > $ pkg info -xl pulse | grep mainloop-glib.so > /usr/local/lib/libpulse-mainloop-glib.so > /usr/local/lib/libpulse-mainloop-glib.so.0 > /usr/local/lib/libpulse-mainloop-glib.so.0.0.5 > It's several months since Anton asked this question and now I have to ask exactly the same one. I've built net-im/skype4 without VIDEO option using poudriere and installed it like this: $ pkg install net-im/skype4 [snip] New packages to be INSTALLED: skype4: 4.3.0.37,1 [poudriere] linux-c6-qt47-x11: 4.7.2_1 [FreeBSD] linux-c6-alsa-lib: 1.0.22_2 [poudriere] linux-c6-qt47: 4.7.2_1 [FreeBSD] linux-c6-hicolor-icon-theme: 0.5_3 [poudriere] linux-c6-dbus-libs: 1.2.24_4 [poudriere] linux-c6-dri: 10.1_1 [poudriere] linux-c6-qt47-webkit: 4.7.2_1 [FreeBSD] linux-skype_oss_wrapper: 0.1.1 [FreeBSD] [snip] Running skype results in: $ skype /usr/local/share/skype/skype: error while loading shared libraries: libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory ldd produces this: $ env LD_LIBRARY_PATH=/lib/skype_oss_wrapper:${LD_LIBRARY_PATH} /compat/linux/bin/bash /compat/linux/usr/bin/ldd /usr/local/share/skype/skype | fgrep pulse /usr/local/share/skype/skype: /lib/skype_oss_wrapper/libpulse.so.0: no version information available (required by /usr/lib/qt47/libphonon.so.4) libpulse-mainloop-glib.so.0 => not found libpulse.so.0 => /lib/skype_oss_wrapper/libpulse.so.0 (0x249c9000) libpulse-mainloop-glib.so.0 => not found With a little bit of help from Google I found this thread and in particular the following post: http://article.gmane.org/gmane.os.freebsd.devel.ports/127782 In the end I had to do a slightly different thing: $ pkg install linux-c6-pulseaudio-libs $ cd /compat/linux $ rpm2archive < ~/tmp/pulseaudio-libs-glib2-0.9.21-21.el6.i686.rpm| tar xvf - x ./usr/lib/libpulse-mainloop-glib.so.0 x ./usr/lib/libpulse-mainloop-glib.so.0.0.4 Where pulseaudio-libs-glib2-0.9.21-21.el6.i686.rpm was downloaded from the Internet in advance. After this skype seems to finally work, but it would be nice if I hadn't to do the extra steps. Maybe I did something wrong before installing skype? BTW, it seems that libpulse-mainloop-glib.so.0 dependency comes from /compat/linux/usr/lib/qt47/libphonon.so.4. -- Andriy Gapon