Bug 98320 - phytec bitbake recipe for i.MX6 deployment does not produce libGL
Summary: phytec bitbake recipe for i.MX6 deployment does not produce libGL
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLU (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium major
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 14:29 UTC by Pat Sandt
Modified: 2016-10-19 16:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pat Sandt 2016-10-19 14:29:28 UTC
I'm working under the assumption that mesa provides libGL. If not, please tell me who does provide it (hardware specific). I am building mesa for a Phytec module for an i.MX6 development board. I downloaded the recipes-graphics/mesa/mesa_%.bbappend and bitbaked mesa. As long as I delete the tmp directory and deploy directory, the build completes successfully. However, when I tried to build FreeGLUT, I was told that libGL did not exist when it tries to build libGLU. The actual message is "cannot find -lGL". I can provide the log output, but it doesn't provide much additional information. I tried to find the library location with 

find . -name libGL.so
No files were found (and the command should have found libGL.so.* matches.)
Comment 1 Eero Tamminen 2016-10-19 15:37:53 UTC
(In reply to Pat Sandt from comment #0)
> I'm working under the assumption that mesa provides libGL. If not, please
> tell me who does provide it (hardware specific). I am building mesa for a
> Phytec module for an i.MX6 development board. I downloaded the
> recipes-graphics/mesa/mesa_%.bbappend and bitbaked mesa. As long as I delete
> the tmp directory and deploy directory, the build completes successfully.
> However, when I tried to build FreeGLUT, I was told that libGL did not exist
> when it tries to build libGLU. The actual message is "cannot find -lGL".

Does it configure GL support to be built, or only GLES?

Did your build log have a line where Mesa configure outputs:
        OpenGL:          yes

And if yes, did the log have a line about installing libGL?


Did you run ldconfig so that dynamic linker knows about the new library?

 I
> can provide the log output, but it doesn't provide much additional
> information. I tried to find the library location with 
> 
> find . -name libGL.so
> No files were found (and the command should have found libGL.so.* matches.)

To match libGL.so.*, you should use: "find . -name 'libGL.so*'".

For general help on building Mesa, mesa mailing list would be better than Bugzilla.  But as your issue seems to be with bitbake Mesa recipe, I think you should contact the recipe author.
Comment 2 Emil Velikov 2016-10-19 16:24:29 UTC
Hi Pat, I'm not sure how one can help with {bitbake,yocto,other} build recipe considering there's no link to one ;-)

That said, traditionally vendors are the ones who provide their individual libGL.so and/or other modules, although that is about to change with GLVND.

Going through configure --help is strongly recommended, as in there you'll see amongst others that your platform isn't yet in the supported list ;-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.