EricssonResearch / EricssonResearch/openwebrtc

/usr/lib/ld: -lwayland-egl -EGL not found

Open
#668 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.8k
Forks
531
PR merge metrics
No merged PRs in 30d

Description

/usr/bin/ld: cannot find -lwayland-egl
/usr/bin/ld: cannot find -lEGL
collect2: error: ld returned 1 exit status
Makefile:605: recipe for target 'libopenwebrtc.la' failed
make[3]: *** [libopenwebrtc.la] Error 1
make[3]: Leaving directory '/home/pi/openwebrtc/owr'
Makefile:535: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/pi/openwebrtc/owr'
Makefile:524: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/openwebrtc'
Makefile:435: recipe for target 'all' failed
make: *** [all] Error 2
autoreconf: make failed with exit status: 2
autogen.sh failed

im using raspberry pi 3 and build openwebrtc and I got error over and over again.
even i found library through using this command: find /usr/lib | grep -e libEGL.so -e libwayland-egl.so

output:
/usr/lib/arm-linux-gnueabihf/libwayland-egl.so.1.0.0
/usr/lib/arm-linux-gnueabihf/libwayland-egl.so.1
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
/usr/lib/arm-linux-gnueabihf/libEGL.so.1

Contributor guide

Open the contributing guide

Research direction

Start with the linker failure in Makefile:605 for the libopenwebrtc.la target and review the build prerequisites used by autogen.sh. Check why the located libwayland-egl and libEGL files are not usable by the linker on Raspberry Pi. Done means autoreconf and make complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, raspberry-pi
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.