cannot start application after 'sudo make install'

Issue #191 resolved
Former user created an issue

valentina: error while loading shared libraries: cannot open shared object file: No such file or directory

the files* and* are not copied into /usr/lib64/ but into /usr/lib/lib/ which is not in the default library search path of a 64bit system.

perhaps this error is only on 64bit systems?

uname -a = Linux saber 3.17.2-200.fc20.x86_64 #1 SMP Tue Nov 4 18:04:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Comments (5)

  1. Roman Telezhynskyi repo owner

    Hi Peter,

    Thanks for helping.

    No it was not only on 64 bit systems. By default qmake installed lib in /usr/lib on 64 bit system too. I made changes and now it should install to /usr/lib64.

    You can customize path if run qmake like this:

    qmake PREFIX=/usr -r

    PREFIX should be global for whole project: /usr, /usr/local and so on.

    Please say if all works.

  2. Former user Account Deleted

    Now i did:

    make clean

    qmake-qt5 PREFIX=/usr/local -r


    sudo make install

    but now the libraries go into /usr/local/ instead of /usr/local/lib64/

    same problem.

    binary goes into /usr/local/bin/ which is correct.

    P.S. I have 3 qmake: qmake,qmake-qt4,qmake-qt5 the naked one is for qt3.3

    please update build instructions

  3. Log in to comment