Skype 4 for FreeBSD


by ross at 06:13:47 on November 27, 2016

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

nVidia problem with Linux emulation

Skip this paragraph if you don't use nVidia.

Linux emulator wants to install OpenGL library which will conflict with NVida's Linux OpenGL library. In order to solve this conflict and force using NVidia's library add to your /etc/make.conf (create it if it does not exist):

.if ${.CURDIR:M*/emulators/linux-c6}

.if ${.CURDIR:M*/graphics/linux-c6-glx-utils}

.if ${.CURDIR:M*/x11-toolkits/linux-c6-qt47-x11}

Install Linux emulation

Add to /etc/sysctl.conf:


Add to /boot/loader.conf:


Install linux emulation:

# cd /usr/ports/emulators/linux-c6
# make install clean


# kldload linux
# sysctl compat.linux.osrelease=2.6.32

If you do use nVidia you should also lock some of the installed ports so pkg will not try to reset them to defaults and deinstall your NVidia driver on next upgrade:

# pkg lock linux-c6
# pkg lock linux-c6-glx-utils
# pkg lock linux-c6-qt47-x11

Of course from now on you will have to upgrade these locked libraries from sources and not via pkg upgrade. If you don't use nVidia just skip this and do not lock.

Install Skype 4

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


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

Skype 4 requires two things: linproc filesystem to even start and a PulseAudio config if you want to hear anything.

Add to /etc/fstab:

linprocfs               /compat/linux/proc linprocfs rw         0       0

Mount it:

# mount /compat/linux/proc

Create pulse config ~/.config/pulse/daemon.conf with this:


Start Skype.

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!
-- 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

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/ no version information available (required by /usr/lib/qt47/
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/ no version information available (required by /usr/lib/
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/ no version information available (required by /usr/lib/qt47/
/usr/local/share/skype/skype: /lib/skype_oss_wrapper/ no version information available (required by /usr/lib/
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.

-- 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 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
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