xscreensaver and egl undefined symbol error

Hi, when I run xscreensaver and choose a GL screensaver trow me this error:

Code:
ld-elf.so.1: /usr/local/bin/xscreensaver-hacks/glsnake: Undefined symbol "eglGetPlatformDisplay"

Using nvidia driver (V390)
I read somewhere that error if some extra flag in the nvidia driver or something like that, when include egl support?
 
Add this to /etc/make.conf:
Makefile:
.if ${.CURDIR:M*/x11/xscreensaver}
CONFIGURE_ARGS+= --with-glx
.endif
, and rebuild+reinstall
x11/xscreensaver
port.

that do the trick, thanks , but for some reason the port dont read the argument in /etc/make.conf
I had to add manualy to the Makefile in the port folder
 
Add this to /etc/make.conf:
Makefile:
.if ${.CURDIR:M*/x11/xscreensaver}
CONFIGURE_ARGS+= --with-glx
.endif
, and rebuild+reinstall
x11/xscreensaver
port.
Hi thanks for info.
nvidia 340.108 driver here
i did
Code:
pkg install xscreensaver
portmaster -di xscreensaver
all passed good
but still have
Code:
ld-elf.so.1: /usr/local/bin/xscreensaver-hacks/splodesic: Undefined symbol "eglGetPlatformDisplay"
 
Hi thanks for info.
nvidia 340.108 driver here
i did
Code:
pkg install xscreensaver
portmaster -di xscreensaver
all passed good
but still have
Code:
ld-elf.so.1: /usr/local/bin/xscreensaver-hacks/splodesic: Undefined symbol "eglGetPlatformDisplay"

Hi , I made it this way:


Diff:
cd /usr/ports/x11/xscreensaver

nano Makefile

and add this line:
(in line 8 you see it)

Code:
CONFIGURE_ARGS= --enable-locking \
                --with-app-defaults=${PREFIX}/lib/X11/app-defaults \
                --with-configdir=${PREFIX}/share/xscreensaver/config/ \
                --with-dpms-ext \
                --with-gl \
                --with-gle \
                --with-gtk \
                --with-glx \
                --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
                --with-jpeg=${LOCALBASE} \
                --with-pam \
                --with-pixbuf \
                --with-randr-ext \
                --with-xdbe-ext \
                --with-xf86gamma-ext \
                --with-xf86vmode-ext \
                --with-xft \
                --with-xinerama-ext \
                --with-xshm-ext \
                --without-kerberos \
                --without-shadow

next, compile the port and done..for some reason the port is not follow the instruccion from make.conf
 
Thanks for quick reply.
Sorry for my dumb question, i noob at bsd at while.
Tell me please.
If i do
Code:
cd /usr/ports/x11/xscreensaver
nano Makefile

CONFIGURE_ARGS= --enable-locking \
                --with-app-defaults=${PREFIX}/lib/X11/app-defaults \
                --with-configdir=${PREFIX}/share/xscreensaver/config/ \
                --with-dpms-ext \
                --with-gl \
                --with-gle \
                --with-gtk \
                --with-glx \
                --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
                --with-jpeg=${LOCALBASE} \
                --with-pam \
                --with-pixbuf \
                --with-randr-ext \
                --with-xdbe-ext \
                --with-xf86gamma-ext \
                --with-xf86vmode-ext \
                --with-xft \
                --with-xinerama-ext \
                --with-xshm-ext \
                --without-kerberos \
                --without-shadow
i am not needed make.cfg at /etc from above?
for apply new flags i need to do
Code:
portmaster -di xscreensaver
again for recompilation?
 
Thanks for quick reply.
Sorry for my dumb question, i noob at bsd at while.
Tell me please.
If i do
Code:
cd /usr/ports/x11/xscreensaver
nano Makefile

CONFIGURE_ARGS= --enable-locking \
                --with-app-defaults=${PREFIX}/lib/X11/app-defaults \
                --with-configdir=${PREFIX}/share/xscreensaver/config/ \
                --with-dpms-ext \
                --with-gl \
                --with-gle \
                --with-gtk \
                --with-glx \
                --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
                --with-jpeg=${LOCALBASE} \
                --with-pam \
                --with-pixbuf \
                --with-randr-ext \
                --with-xdbe-ext \
                --with-xf86gamma-ext \
                --with-xf86vmode-ext \
                --with-xft \
                --with-xinerama-ext \
                --with-xshm-ext \
                --without-kerberos \
                --without-shadow
i am not needed make.cfg at /etc from above?
for apply new flags i need to do
Code:
portmaster -di xscreensaver
again for recompilation?

No problem :) , In this case no, (modifying /etc/make.cfg, dont work for me)
So, I edit the Makefile directly in the port folder

is simple,modify the Makefile in the port folder
(/usr/ports/x11/xscreensaver)
and next do a :
make install clean

and your'done....
if you have install xscreesaver before,before compile the port uninstall it
pkg delete xscreensaver
 
Back
Top