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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to