Skype 4 for FreeBSD

Installation

by ross at 13:28:18 on April 7, 2017

I doubt Microsoft will ever publish "Skype for FreeBSD" :) But "Skype for Linux" still works and since FreeBSD 10.3 we can use it too.

Update: Ports have evolved since original publication and now there are almost no hidden catches with Skype and the article is really short.

Linux emulation

First install Linux binary compatibilty as described here.

Install Skype 4

# cd /usr/ports/net-im/skype4
# make install clean

Options:

  • Select VIDEO if you want, although I haven't tested it yet

Skype 4 requires two things: linproc filesystem to even start (described in the article linked above) and a PulseAudio config if you want to hear anything.

Create pulse config in your home ~/.config/pulse/daemon.conf with this:

flat-volumes=yes

Note: Readers suggest that a symlink of /dev/video0 in /compat/linux/dev is needed to use webcam.

Start it.

Comments
I installed skype4 on FreeBSD 10.3 recently, it runs but no sound,
"flat-volumes=yes" - 'command not found'.
All necessary dependencies are installed.
??

The captchas are a disaster!
Regards
-- Ivo
Saturday, April 16, 2016, 15:34:20
"flat-volumes=yes" is not a command, put this line in ~/.config/pulse/daemon.conf file (create it)
-- ross
Sunday, April 17, 2016, 4:59:55
Ahh, thanks.
-- Ivo
Sunday, April 17, 2016, 14:30:33
As I proceed to create the ~/.config/pulse/daemon.conf file ?
-- epor
Tuesday, May 10, 2016, 13:58:52
Do you mean "how do I create it?"

You could run this:

echo "flat-volumes=yes" > ~/.config/pulse/daemon.conf

But this command will overwrite previous contents of the file (if it was there, usually there is no daemon.conf on new system)
-- ross
Saturday, May 14, 2016, 3:21:26
Thanks.

Is that there was no such file and cannot be created when you close the file.
Have you any guidance on how to proceed to properly update all the system and applications? Is that the procedure of the FreeBSD Handbook does not eliminate the vulnerability, and end up giving errors.
-- epor
Sunday, May 22, 2016, 23:04:36
I followed the described steps (although the thing in /etc/make.conf about the nvidia-driver didn't seem to be necessary) and skype does not start:

$ skype
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/libpulse.so.0: no version information available (required by /usr/lib/qt47/libphonon.so.4)
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/libpulse.so.0: no version information available (required by /usr/lib/libpulse-mainloop-glib.so.0)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
$
-- Werner
Wednesday, May 25, 2016, 12:15:26
I updated the article for loading Linux emulation and noted there that nVidia stuff is optional and you should not do it if you don't have nVidia.

As for the warnings I also see them when I launch Skype but after that the app starts successfully and everything works. So I really don't know what is the problem in your case...
-- ross
Wednesday, June 1, 2016, 3:14:48
The problem is the same I mention in the other comment, it seems to be related to the traffic of the internet and all of those packages, this pc is not nivia.

$ skype
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/libpulse.so.0: no version information available (required by /usr/lib/qt47/libphonon.so.4)
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/libpulse.so.0: no version information available (required by /usr/lib/libpulse-mainloop-glib.so.0)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
$
-- epor
Tuesday, October 18, 2016, 15:25:22
hey - I just wanted to say thank you very kindly for sharing these instructions. They worked fine for me (Intel graphics) and now I can Skype like there might not be a tomorrow.

Cheers!
-- CanOfBees
Thursday, June 23, 2016, 14:45:04
Hi! Thank's for post.
-- nero777
Sunday, July 10, 2016, 5:40:43
hi i'm installing skyp4 into FreeBSD-10.3, patched yesterday... i get the same fontconfig error and warning mess'g

additional (seems fatal) error "shared object libgthread-2.0.so.0 not found...

/proc tree seems normal but was missing /compat/linux/usr/bin/gcc

skype and skype-devel does not even compile

also need to install emulators/linux_base-c6 in addition to linux-c6
or maybe *-f10 works ?? ( not tested by me yet )

thanx - tia for the libgthread fix if any
-- skyping
Wednesday, July 27, 2016, 22:51:07
Thanks for your blog. Everything worked perfect on my Freebsd 10.3 installation.I had to run kldload a bit earlier to succeed
-- Robert
Thursday, August 25, 2016, 20:51:47
After upgrading to freebsd11, webcam stop to work. Any idea ?
-- eddie
Monday, October 24, 2016, 8:04:32
The same here. pwcview shows that webcam itself is running.

I think it's somehow connected with linux_v4l2wrapper kernel module. It was a separate port earlier. The documentation says it is now incorporated in FreeBSD kernel, but it seems it is not.
-- vyborg
Saturday, October 29, 2016, 23:01:26
i fixed it but it's a very trivial way
make a symlink of /dev/video0 in /compat/linux/dev, and launch Skype in a term. DON'T USE ANY SHORCUT IN YOUR MENU, YOUR PC WILL REBOOT.
-- eddie
Friday, November 4, 2016, 23:01:25
Can you link me to the section in the handbook for activate linux_v4l2wrapper en FreeBSD?
-- npor
Saturday, October 21, 2017, 9:25:18
Thanks for you tutorial.
No worries for me (send/receive msg with skype), I don't try voice or video call, I don't need it.

Juste a little mistake ("Install Linux emulation" section)
/ets/sysctl.conf => (/etc/sysctl.conf)

Thanks again.
-- Ivanz
Saturday, November 26, 2016, 16:37:39
# uname -srm
FreeBSD 11.0-RELEASE-p9 amd64
Thank you for the article, installed skype works and mikrafon and headphones, the cameras are not available, I'll buy it later. Skye started to work without problems, since previously the device was installed and everything connected with linprocfs was set up earlier. I speak English very badly and use an interpreter.
-- vitalii
Wednesday, October 18, 2017, 17:56:46
Do you speak Russian ?
-- vitalii
Wednesday, October 18, 2017, 18:16:03