x11/nvidia-driver 367.27 issues with supplied library blob

Jeremy jeremy.m.cox at gmail.com
Mon Jun 20 05:26:15 UTC 2016

I recently updated the nvidia-driver obtained from the updated patch at


to test if it was working. It compiles and works fine with syscons (I
haven't tried to use it with VT), and with xserver 1.18.3 and KDE 4.14.3. I
am running FreeBSD 10.3 stable r302020

However, while recompiling virtualbox-ose 4.3.38_1, I encountered an error
related to the nvidia-driver. From my limited understanding, the trouble is
with the supplied libnvidia-glcore.so.1 blob from Nvidia, so it is nothing
FreeBSD can do at its end.

Virtualbox failed to compile and stopped at checking for mesa / GLU. When I
checked the configure.log I found this issue at the end of it...

***** Checking Mesa / GLU *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/glu.h>

...bla bla bla clipped...

  printf("found (inactive), OK.\n");
  return 0;
using the following command line:
clang++37  -g -O -Wall -o
"-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to
clang-3.7: error: linker command failed with exit code 1 (use -v to see

So my understanding is that it is an undefined reference issue with the
supplied libnvidia-glcore.so.1 blob from the driver itself. If so, who
should I contact from nvidia to report the issue? I looked at their FreeBSD
developer board and it hasn't been active for 11 months. I know the
community is trying to get the driver updated so they can finally land
xserver 1.18 in the ports tree. This looks like an issue that needs to be
fixed by nvidia now.

Thank you all for your time.

Jeremy Cox

More information about the freebsd-x11 mailing list