View Single Post
Old 06-25-2015, 06:57 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Sure, happy to help!

And if you ever have problems like that, I find pkgfile is an excellent tool for tracking down which package was supposed to supply the file you are missing.

The original error was:
Code:
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,--version-script=pictureflow.exp -Wl,-O1 -shared -o libpictureflow.so pictureflow.o sippictureflowcmodule.o sippictureflowPictureFlow.o sippictureflowFlowImages.o moc_pictureflow.o  -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread  
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
So we are looking for a shared library to be linked ("-l") which is called "GLESv2", so that would be libGLESv2.so

Code:
[eschwartz@arch ~]$ pkgfile -v libGLESv2.so
extra/mesa 10.6.0-1                	/usr/lib/mesa/libGLESv2.so
extra/mesa-libgl 10.6.0-1          	/usr/lib/libGLESv2.so
extra/nvidia-304xx-libgl 304.125-1 	/usr/lib/libGLESv2.so
extra/nvidia-340xx-libgl 340.76-2  	/usr/lib/libGLESv2.so
extra/nvidia-340xx-utils 340.76-2  	/usr/lib/nvidia/libGLESv2.so
extra/nvidia-libgl 352.21-1        	/usr/lib/libGLESv2.so
extra/nvidia-utils 352.21-1        	/usr/lib/nvidia/libGLESv2.so
ARM-extra/mesa 10.6.0-1/files      	usr/lib/mesa/libGLESv2.so
ARM-extra/mesa-libgl 10.6.0-1/files	usr/lib/libGLESv2.so
(I added the ARM repos to pkgfile to search them, since I am on i686.)

Last edited by eschwartz; 06-25-2015 at 07:10 PM.
eschwartz is offline   Reply With Quote