Which package provides -lGL on Ubuntu 18.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm trying to install the pip3
python package wxpython
which fails due to
g++ -shared -fPIC -o /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0 gldll_glcmn.o gldll_glx11.o gldll_gtk_glcanvas.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -Wl,-soname,libwx_gtk3u_gl-3.0.so.0 -pthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lX11 -lXxf86vm -lSM -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng -lz -ljpeg -ltiff -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lwx_gtk3u_core-3.0 -lwx_baseu-3.0 -lGL -lGLU -lz -ldl -lm
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_html-3.0.so libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0.4.0 libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0 libwx_gtk3u_html-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_stc-3.0.so libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0.4.0 libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0 libwx_gtk3u_stc-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_webview-3.0.so libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0.4.0 libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0 libwx_gtk3u_webview-3.0.so)
/usr/bin/x86_64-linux-gnu-ld: -lGL kann nicht gefunden werden
collect2: error: ld returned 1 exit status
Makefile:16113: recipe for target '/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0' failed
make: *** [/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet â¦
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_adv-3.0.so libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0.4.0 libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0 libwx_gtk3u_adv-3.0.so)
g++ -o wxrc wxrc_wxrc.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -pthread -lwx_baseu_xml-3.0 -lexpat -lwx_baseu-3.0 -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lz -ldl -lm
make[1]: Verzeichnis âÂÂ/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/utils/wxrcâ wird verlassen
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build.py", line 1295, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 498, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (3m27.477s)
Finished command: build (3m27.478s)
Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c0hbjq4b/wxpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dt7af70p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-c0hbjq4b/wxpython/
libgl-dev
referes to libgl1-mesa-dev
which is already installed as well as libglw1-mesa-dev
which seems the only other possible candidate based on the auto-completion of sudo apt-get install libgl
.
The installation with pip
for Python 2.x succeeds.
apt package-management dependencies compiling
add a comment |Â
up vote
1
down vote
favorite
I'm trying to install the pip3
python package wxpython
which fails due to
g++ -shared -fPIC -o /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0 gldll_glcmn.o gldll_glx11.o gldll_gtk_glcanvas.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -Wl,-soname,libwx_gtk3u_gl-3.0.so.0 -pthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lX11 -lXxf86vm -lSM -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng -lz -ljpeg -ltiff -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lwx_gtk3u_core-3.0 -lwx_baseu-3.0 -lGL -lGLU -lz -ldl -lm
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_html-3.0.so libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0.4.0 libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0 libwx_gtk3u_html-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_stc-3.0.so libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0.4.0 libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0 libwx_gtk3u_stc-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_webview-3.0.so libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0.4.0 libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0 libwx_gtk3u_webview-3.0.so)
/usr/bin/x86_64-linux-gnu-ld: -lGL kann nicht gefunden werden
collect2: error: ld returned 1 exit status
Makefile:16113: recipe for target '/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0' failed
make: *** [/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet â¦
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_adv-3.0.so libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0.4.0 libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0 libwx_gtk3u_adv-3.0.so)
g++ -o wxrc wxrc_wxrc.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -pthread -lwx_baseu_xml-3.0 -lexpat -lwx_baseu-3.0 -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lz -ldl -lm
make[1]: Verzeichnis âÂÂ/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/utils/wxrcâ wird verlassen
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build.py", line 1295, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 498, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (3m27.477s)
Finished command: build (3m27.478s)
Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c0hbjq4b/wxpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dt7af70p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-c0hbjq4b/wxpython/
libgl-dev
referes to libgl1-mesa-dev
which is already installed as well as libglw1-mesa-dev
which seems the only other possible candidate based on the auto-completion of sudo apt-get install libgl
.
The installation with pip
for Python 2.x succeeds.
apt package-management dependencies compiling
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installedlibgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.
â Karl Richter
May 24 at 19:24
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
@SebastianSTark That's an idea worth checking out, but I even installedlibgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.
â Karl Richter
May 24 at 19:27
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to install the pip3
python package wxpython
which fails due to
g++ -shared -fPIC -o /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0 gldll_glcmn.o gldll_glx11.o gldll_gtk_glcanvas.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -Wl,-soname,libwx_gtk3u_gl-3.0.so.0 -pthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lX11 -lXxf86vm -lSM -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng -lz -ljpeg -ltiff -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lwx_gtk3u_core-3.0 -lwx_baseu-3.0 -lGL -lGLU -lz -ldl -lm
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_html-3.0.so libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0.4.0 libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0 libwx_gtk3u_html-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_stc-3.0.so libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0.4.0 libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0 libwx_gtk3u_stc-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_webview-3.0.so libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0.4.0 libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0 libwx_gtk3u_webview-3.0.so)
/usr/bin/x86_64-linux-gnu-ld: -lGL kann nicht gefunden werden
collect2: error: ld returned 1 exit status
Makefile:16113: recipe for target '/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0' failed
make: *** [/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet â¦
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_adv-3.0.so libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0.4.0 libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0 libwx_gtk3u_adv-3.0.so)
g++ -o wxrc wxrc_wxrc.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -pthread -lwx_baseu_xml-3.0 -lexpat -lwx_baseu-3.0 -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lz -ldl -lm
make[1]: Verzeichnis âÂÂ/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/utils/wxrcâ wird verlassen
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build.py", line 1295, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 498, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (3m27.477s)
Finished command: build (3m27.478s)
Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c0hbjq4b/wxpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dt7af70p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-c0hbjq4b/wxpython/
libgl-dev
referes to libgl1-mesa-dev
which is already installed as well as libglw1-mesa-dev
which seems the only other possible candidate based on the auto-completion of sudo apt-get install libgl
.
The installation with pip
for Python 2.x succeeds.
apt package-management dependencies compiling
I'm trying to install the pip3
python package wxpython
which fails due to
g++ -shared -fPIC -o /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0 gldll_glcmn.o gldll_glx11.o gldll_gtk_glcanvas.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -Wl,-soname,libwx_gtk3u_gl-3.0.so.0 -pthread -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lX11 -lXxf86vm -lSM -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng -lz -ljpeg -ltiff -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lwx_gtk3u_core-3.0 -lwx_baseu-3.0 -lGL -lGLU -lz -ldl -lm
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_html-3.0.so libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0.4.0 libwx_gtk3u_html-3.0.so.0; ln -s libwx_gtk3u_html-3.0.so.0 libwx_gtk3u_html-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_stc-3.0.so libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0.4.0 libwx_gtk3u_stc-3.0.so.0; ln -s libwx_gtk3u_stc-3.0.so.0 libwx_gtk3u_stc-3.0.so)
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_webview-3.0.so libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0.4.0 libwx_gtk3u_webview-3.0.so.0; ln -s libwx_gtk3u_webview-3.0.so.0 libwx_gtk3u_webview-3.0.so)
/usr/bin/x86_64-linux-gnu-ld: -lGL kann nicht gefunden werden
collect2: error: ld returned 1 exit status
Makefile:16113: recipe for target '/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0' failed
make: *** [/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/libwx_gtk3u_gl-3.0.so.0.4.0] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet â¦
(cd /tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib/; rm -f libwx_gtk3u_adv-3.0.so libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0.4.0 libwx_gtk3u_adv-3.0.so.0; ln -s libwx_gtk3u_adv-3.0.so.0 libwx_gtk3u_adv-3.0.so)
g++ -o wxrc wxrc_wxrc.o -L/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/lib -pthread -lwx_baseu_xml-3.0 -lexpat -lwx_baseu-3.0 -lwxregexu-3.0 -pthread -Wl,--version-script,/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/version-script -lz -ldl -lm -lz -ldl -lm
make[1]: Verzeichnis âÂÂ/tmp/pip-build-c0hbjq4b/wxpython/build/wxbld/gtk3/utils/wxrcâ wird verlassen
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build.py", line 1295, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 498, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")
File "/tmp/pip-build-c0hbjq4b/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (3m27.477s)
Finished command: build (3m27.478s)
Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c0hbjq4b/wxpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-dt7af70p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-c0hbjq4b/wxpython/
libgl-dev
referes to libgl1-mesa-dev
which is already installed as well as libglw1-mesa-dev
which seems the only other possible candidate based on the auto-completion of sudo apt-get install libgl
.
The installation with pip
for Python 2.x succeeds.
apt package-management dependencies compiling
edited May 24 at 19:28
asked Apr 30 at 14:54
Karl Richter
2,25073361
2,25073361
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installedlibgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.
â Karl Richter
May 24 at 19:24
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
@SebastianSTark That's an idea worth checking out, but I even installedlibgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.
â Karl Richter
May 24 at 19:27
add a comment |Â
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installedlibgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.
â Karl Richter
May 24 at 19:24
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
@SebastianSTark That's an idea worth checking out, but I even installedlibgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.
â Karl Richter
May 24 at 19:27
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installed
libgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.â Karl Richter
May 24 at 19:24
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installed
libgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.â Karl Richter
May 24 at 19:24
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
@SebastianSTark That's an idea worth checking out, but I even installed
libgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.â Karl Richter
May 24 at 19:27
@SebastianSTark That's an idea worth checking out, but I even installed
libgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.â Karl Richter
May 24 at 19:27
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
This is rather two questions. If I take your question literally, an approach would be using apt-file
to search for packages containing the file you are looking for:
$ apt-file search libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
libglvnd-dev: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.340.106
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.340.106
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so.1
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so.1
If you haven't got apt-file installed, install it and initialise its database first using:
$ sudo apt install apt-file
$ sudo apt-file update
To check if the linker can actually find the installed library, run this:
$ ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
As to why the wxPython build using pip3 is not picking up either of them is a question I can not answer.
add a comment |Â
up vote
0
down vote
I had the same problem.
apt said that libgl1-mesa-dev
was already installed, but I couldn't find a package in /var/cache/apt
.
This helped:
sudo apt-get remove --purge libgl1-mesa-dev
(After this, DO NOT make a sudo apt autoremove
.)
sudo apt-get install libgl1-mesa-dev
After this compiling worked.
That doesn't help, unfortunately. The fact that a package can't be found in/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this becausenvidia: probe of 0000:01:00.0 failed with error -1
until reboot.
â Karl Richter
May 5 at 19:45
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This is rather two questions. If I take your question literally, an approach would be using apt-file
to search for packages containing the file you are looking for:
$ apt-file search libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
libglvnd-dev: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.340.106
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.340.106
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so.1
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so.1
If you haven't got apt-file installed, install it and initialise its database first using:
$ sudo apt install apt-file
$ sudo apt-file update
To check if the linker can actually find the installed library, run this:
$ ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
As to why the wxPython build using pip3 is not picking up either of them is a question I can not answer.
add a comment |Â
up vote
1
down vote
This is rather two questions. If I take your question literally, an approach would be using apt-file
to search for packages containing the file you are looking for:
$ apt-file search libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
libglvnd-dev: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.340.106
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.340.106
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so.1
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so.1
If you haven't got apt-file installed, install it and initialise its database first using:
$ sudo apt install apt-file
$ sudo apt-file update
To check if the linker can actually find the installed library, run this:
$ ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
As to why the wxPython build using pip3 is not picking up either of them is a question I can not answer.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
This is rather two questions. If I take your question literally, an approach would be using apt-file
to search for packages containing the file you are looking for:
$ apt-file search libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
libglvnd-dev: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.340.106
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.340.106
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so.1
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so.1
If you haven't got apt-file installed, install it and initialise its database first using:
$ sudo apt install apt-file
$ sudo apt-file update
To check if the linker can actually find the installed library, run this:
$ ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
As to why the wxPython build using pip3 is not picking up either of them is a question I can not answer.
This is rather two questions. If I take your question literally, an approach would be using apt-file
to search for packages containing the file you are looking for:
$ apt-file search libGL.so
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
libglvnd-dev: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/i386-linux-gnu/libGL.so.340.106
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.340.106
primus-libs: /usr/lib/x86_64-linux-gnu/primus/libGL.so.1
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11: /usr/lib/virtualbox/additions/libGL.so.1
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so
virtualbox-guest-x11-hwe: /usr/lib/virtualbox/additions/libGL.so.1
If you haven't got apt-file installed, install it and initialise its database first using:
$ sudo apt install apt-file
$ sudo apt-file update
To check if the linker can actually find the installed library, run this:
$ ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
As to why the wxPython build using pip3 is not picking up either of them is a question I can not answer.
edited May 30 at 18:34
answered May 27 at 8:52
![](https://i.stack.imgur.com/33gTl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/33gTl.jpg?s=32&g=1)
Sebastian Stark
4,663938
4,663938
add a comment |Â
add a comment |Â
up vote
0
down vote
I had the same problem.
apt said that libgl1-mesa-dev
was already installed, but I couldn't find a package in /var/cache/apt
.
This helped:
sudo apt-get remove --purge libgl1-mesa-dev
(After this, DO NOT make a sudo apt autoremove
.)
sudo apt-get install libgl1-mesa-dev
After this compiling worked.
That doesn't help, unfortunately. The fact that a package can't be found in/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this becausenvidia: probe of 0000:01:00.0 failed with error -1
until reboot.
â Karl Richter
May 5 at 19:45
add a comment |Â
up vote
0
down vote
I had the same problem.
apt said that libgl1-mesa-dev
was already installed, but I couldn't find a package in /var/cache/apt
.
This helped:
sudo apt-get remove --purge libgl1-mesa-dev
(After this, DO NOT make a sudo apt autoremove
.)
sudo apt-get install libgl1-mesa-dev
After this compiling worked.
That doesn't help, unfortunately. The fact that a package can't be found in/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this becausenvidia: probe of 0000:01:00.0 failed with error -1
until reboot.
â Karl Richter
May 5 at 19:45
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I had the same problem.
apt said that libgl1-mesa-dev
was already installed, but I couldn't find a package in /var/cache/apt
.
This helped:
sudo apt-get remove --purge libgl1-mesa-dev
(After this, DO NOT make a sudo apt autoremove
.)
sudo apt-get install libgl1-mesa-dev
After this compiling worked.
I had the same problem.
apt said that libgl1-mesa-dev
was already installed, but I couldn't find a package in /var/cache/apt
.
This helped:
sudo apt-get remove --purge libgl1-mesa-dev
(After this, DO NOT make a sudo apt autoremove
.)
sudo apt-get install libgl1-mesa-dev
After this compiling worked.
edited May 27 at 8:20
valiano
782313
782313
answered May 5 at 17:37
Martin
91
91
That doesn't help, unfortunately. The fact that a package can't be found in/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this becausenvidia: probe of 0000:01:00.0 failed with error -1
until reboot.
â Karl Richter
May 5 at 19:45
add a comment |Â
That doesn't help, unfortunately. The fact that a package can't be found in/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this becausenvidia: probe of 0000:01:00.0 failed with error -1
until reboot.
â Karl Richter
May 5 at 19:45
That doesn't help, unfortunately. The fact that a package can't be found in
/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this because nvidia: probe of 0000:01:00.0 failed with error -1
until reboot.â Karl Richter
May 5 at 19:45
That doesn't help, unfortunately. The fact that a package can't be found in
/var/cache/apt
doesn't necessarily indicate that it's not properly installed. I had to restart my laptop after this because nvidia: probe of 0000:01:00.0 failed with error -1
until reboot.â Karl Richter
May 5 at 19:45
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030163%2fwhich-package-provides-lgl-on-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did you install it for the right architecture?
â Sebastian Stark
May 24 at 19:04
@SebationStark I have an amd64 system (afaik i386 has been retired anyway). i installed
libgl1-mesa-dev:i386
in order to try whether this is what you could mean, but the error remains the same. I'd appreciate an explanation what you mean be the "right" architecture.â Karl Richter
May 24 at 19:24
I meant just that you probably installed the :i386 package by accident or so.
â Sebastian Stark
May 24 at 19:25
@SebastianSTark That's an idea worth checking out, but I even installed
libgl1-mesa-dev:amd64
explicitly and it was installed as described in the quesiton.â Karl Richter
May 24 at 19:27