슬랙웨어에서 qwt가 빌드되지 않는 문제 해결하기
sbopkg -i qwt
를 실행했을 때 다음과 같은 오류가 났다.
linking ../bin/plotmatrix /usr/bin/ld: obj/PlotMatrix.o: in function `PlotMatrix::updateLayout()': PlotMatrix.cpp:(.text+0x962): undefined reference to `QwtPlot::setAxisVisible(int, bool)' collect2: error: ld returned 1 exit status make: *** [Makefile:438: ../bin/plotmatrix] Error 1
빌드하면서 시스템에 이미 설치된 이전 버전의 qwt로 링크되고 있었다. 다음과 같이 설치된 라이브러리 파일을 임시로 옮긴 다음 빌드하니까 제대로 설치되었다.
mv /usr/lib64/libqwt-qt5* /tmp
sbopkg -i qwt