issue ::
: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
무식하게 target board 상에 코드를 직접 빌드하고 있어 빌드시간이 어마어마 하게 소요되고 있네요.
약 하루 동안 빌드를 진행하여 확인한 결과가 build error..
그래서 아직 미완료 글입니다. ^^;; (2017-01-06)
Complie error를 잡느니 target에 QT5 & QT Creator를 설치하는 것이 빠를 것 같아 우회 설치하였습니다.
결국 실행이 목적이므로, build error는 나중에 한적한 시간에 ....
Synaptic package manager 설치 후 package 설치로 우회 하였습니다.◆ Synaptic package manager 설치
$ sudo apt-get install synaptic |
Synaptic
은 terminal 설치 이후메뉴 실행 후
추가로 하기와 같은 package를 설치하였습니다.
compile open source QT 5.7.1 (failed)
◆ 설치 OS 정보
:: Lubuntu (Linux, Ubuntu 15.04)
◆ opensource-src-5.7.1. 다운로드 경로
:: http://download.qt.io/official_releases/qt/5.7/5.7.1/single/
:: http://download.qt.io/official_releases/qt/5.7/5.7.1/single/qt-everywhere-opensource-src-5.7.1.tar.gz.mirrorlist
상기의 QT release 경로 상에서 code를 다운로드 후 압축 해제
sudo wget http://download.qt.io/official_releases/qt/5.7/5.7.1/single/qt-everywhere-opensource-src-5.7.1.tar.gz
tar -zxvf qt-everywhere-opensource-src-5.7.1.tar.gz
cd qt-everywhere-opensource-src-5.7.1
./configure
타입 및 설정은 아래와 같이 진행
Type 'o' if you want to use the Open Source Edition.
o
Type 'yes' to accept this license offer.
yes
Creating qmake...
...
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.
./configure 중 상기와 같은 문제가 발생하여 아래와 같이 package 추가 설치 진행
sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
추가 package 설치 후 ./configure 완료, 해당 target 상에서 QT build & run 예정으로 별도의 target이나 host 등의 옵션은 넣지 않고 진행
완료 후 make 또는 sudo make install 진행
...NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
Configure with '-qreal float' to create a build that is binary compatible with 5.1.
Info: creating stash file /home/firefly/qt5/qt-everywhere-opensource-src-5.7.1/.qmake.stash
Info: creating super cache file /home/firefly/qt5/qt-everywhere-opensource-src-5.7.1/.qmake.superQt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Qt-5.7.1Prior to reconfiguration, make sure you remove any leftovers fromthe previous build.
$ make
target 시스템 성능 관계로 ./configure make 등에 상당한 시간이 소요됩니다. 4시간 이상?? 하루 이상 소요 되었습니다.
'Archives' 카테고리의 다른 글
배의 속도 노트와 시속 (배의 속도 이해하기) (2) | 2025.02.15 |
---|---|
나무늘보 중에서 가장 귀여운 녀석은? (2) | 2025.02.15 |
발렌타인의 유래와 의미 (0) | 2025.02.14 |
천마의 효능과 활용 (2) | 2025.02.14 |
아슐리안이 모에요? (2) | 2025.02.14 |