shared library path inconsistent from one host to another

Posted by yan bellavance on Stack Overflow See other posts from Stack Overflow or by yan bellavance
Published on 2010-03-23T18:32:55Z Indexed on 2010/03/23 18:43 UTC
Read the original article Hit count: 528

I built my qt app so that all the Qt modules it uses are contained in the same directory as the executable. It works on the machine I used to build the app and I made sure to test this by removing those shared libraries everywhere except in the current directory of the app. Doing a ldd shows that its looking for those libraries in the current directory and putting the executable by itself fails to open the exectuable. So this is all good but when I transfer this directory to a host machine it still cant find those libraries. what could be the problem?

© Stack Overflow or respective owner

Related posts about qt

Related posts about shared-libraries