Summary: | multimedia/ffmpeg: fails to build | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Smith <godevilove> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-multimedia (Nobody) <multimedia> | ||||||
Status: | Closed Unable to Reproduce | ||||||||
Severity: | Affects Only Me | CC: | gerald, jbeich, kwm, multimedia | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
John Smith
2017-02-12 14:38:29 UTC
Can you post "make showconfig" output? > BEGIN /tmp/ffconf.LugjN2Ky.c > 1 extern int glXGetProcAddress(); > 2 int main(void){ glXGetProcAddress(); } > END /tmp/ffconf.LugjN2Ky.c > cc ... -L/usr/local/lib ... -lGL ... > /usr/local/bin/ld: cannot find -lGL > cc: error: linker command failed with exit code 1 (use -v to see invocation) Make sure /usr/local/lib/libGL.so exists and points to a real file. Maybe ports r433892 broke something. Created attachment 179907 [details]
make showconfig
(In reply to Jan Beich (mail not working) from comment #1) '/usr/local/lib/libGL.so' doesn't exist: ls /usr/local/lib/libGL* /usr/local/lib/libGL-NVIDIA.so /usr/local/lib/libGLESv2.so /usr/local/lib/libGL-NVIDIA.so.1 /usr/local/lib/libGLESv2.so.2 /usr/local/lib/libGLESv1_CM.so /usr/local/lib/libGLESv2.so.2.0.0 /usr/local/lib/libGLESv1_CM.so.1 /usr/local/lib/libGLU.so /usr/local/lib/libGLESv2-NVIDIA.so /usr/local/lib/libGLU.so.1 /usr/local/lib/libGLESv2-NVIDIA.so.2 /usr/local/lib/libGLU.so.1.3.1 so where should it point to? Try reinstalling libGL package. $ ls -l /usr/local/lib/libGL.so lrwxr-xr-x 1 root wheel 14 Feb 12 18:31 /usr/local/lib/libGL.so -> libGL.so.1.2.0 $ pkg which -o /usr/local/lib/libGL.so /usr/local/lib/libGL.so was installed by package graphics/libGL (In reply to Jan Beich (mail not working) from comment #4) Thanks, that resolved the issue. Sorry, for wasting your time. |