When building qwt 6.1.3 with QT 5.10.1 and running make install, the libqwt.so file is excluded from the lib/ directory, giving rise to a library not found error on my application'n build. This has been tested on Fedora 28 and Mint 19 (g++ 8 and 7, respectively).
Steps to reproduce:
tar xjvf qwt-6.1.3.tar.bz2
cd qwt-6.1.3
~/Qt/5.10.1/gcc_64/bin/qmake qwt.pro
make
make install
Output:
ad@ad-VB:~/qwt-6.1.3$ ll lib
total 8
drwxr-xr-x 2 ad ad 4096 Sep 2 14:53 ./
drwxr-xr-x 12 ad ad 4096 Sep 2 14:53 ../
lrwxrwxrwx 1 ad ad 15 Sep 2 14:53 libqwt.so -> libqwt.so.6.1.3
lrwxrwxrwx 1 ad ad 15 Sep 2 14:53 libqwt.so.6 -> libqwt.so.6.1.3
lrwxrwxrwx 1 ad ad 15 Sep 2 14:53 libqwt.so.6.1 -> libqwt.so.6.1.3
(The links are broken)
ad@ad-VB:~/qwt-6.1.3$ ll lib/libqwt.so.6.1.3
ls: cannot access 'lib/libqwt.so.6.1.3': No such file or directory
Anonymous
Here is some relevant output from 'make install'.
I can't confirm this issue on my box with ( here Qt 5.10.0 ).
But the obvious reason for the error seems to be, that lib/libqwt.so.6.1.3 does not exist on your box - even if the command sequence above clearly indicates that it is build right there.
Maybe you can do the following to find out what is going wrong:
cd src
qmake
Now edit the Makefile: search for "ln -s" and add some commands that give you more information to understand, what happens with your lib - like f.e adding a "ls -l ../lib/*" at the end.
make
Last edit: Uwe Rathmann 2018-09-03
Thanks. I'll have a look.