Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Compiler can't find Qt5 libraries #4

Closed
acxz opened this issue Jun 28, 2019 · 6 comments
Closed

Compiler can't find Qt5 libraries #4

acxz opened this issue Jun 28, 2019 · 6 comments
Labels
patched This issue is patched. Patch needs to be removed later.

Comments

@acxz
Copy link
Member

acxz commented Jun 28, 2019

The same issue is occurring in this package as did in ros-melodic-rviz (ros-melodic-arch/ros-melodic-rviz#4).

g++: error: 0/libQt5Core.so: No such file or directory
make[3]: *** [Makefile:38: "/home/acxz/.cache/yay/ros-melodic-qt-gui-cpp/src/build/devel/lib/python3.7/site-packages/qt_gui_cpp/libqt_gui_cpp_sip".so] Error 1
make[2]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/build.make:61: devel/lib/python3.7/site-packages/qt_gui_cpp/libqt_gui_cpp_sip.so] Error 2
make[1]: *** [CMakeFiles/Makefile2:380: src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: ros-melodic-qt-gui-cpp

Changing the QT_INSTALL_LIB env var to /usr/lib also gives the same error:

/bin/sh: /usr/lib: syntax error: operand expected (error token is "/usr/lib")

Seems like something happened upstream with sip bindings which is causing subsequent builds based of that building/ upstream packages that use sip haven't yet fixed the issue on their end.

Keeping this issue here, until it is posted somewhere upstream (wether it be sip, qt-gui-cpp, or even QT; I honestly don't know) and until this specific package is patched with a similar fix to ros-melodic-arch/ros-melodic-rviz#5.

@bionade24
Copy link
Member

Solved with #5

@acxz
Copy link
Member Author

acxz commented Jun 29, 2019

I think this issue should still be open until an upstream issue somewhere else is made.

@bionade24 bionade24 reopened this Jun 29, 2019
@acxz
Copy link
Member Author

acxz commented Sep 28, 2019

I believe it is fine to close this issue since ros-visualization/python_qt_binding#64 has been merged.

@acxz acxz closed this as completed Sep 28, 2019
@bionade24
Copy link
Member

No, we keep this open with patched label until we remove the patch because we have a new upstream release. It can take months from getting merged to a new release.

@bionade24 bionade24 reopened this Sep 28, 2019
@acxz
Copy link
Member Author

acxz commented Sep 28, 2019

Understood, I will try to reopen the issues we have closed before concerning patches.

@bionade24 bionade24 added the patched This issue is patched. Patch needs to be removed later. label Sep 28, 2019
@acxz acxz mentioned this issue Oct 11, 2019
@acxz
Copy link
Member Author

acxz commented Oct 11, 2019

Closing issue since #10 and ros-melodic-arch/ros-melodic-python-qt-binding#2 got merged.

@acxz acxz closed this as completed Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
patched This issue is patched. Patch needs to be removed later.
Projects
None yet
Development

No branches or pull requests

2 participants