in folder named myprogram where i hawe my program named testprog im create folder named proglib and copy all files from usr/lib to proglib folder. In folder myprogram its program named testprog. In conzole i wride export LD_LIBRARY_PATH="/home/igor/my program/proglib/" and command echo $LD_LIBRARY_PATH get me result /home/igor/my program/proglib/ when i run program i getnext error: error while loading shared libraries: libQt5PrintSupport.so.5: cannot open shared object file: No such file or directory. If i go in folder proglib and search this file i get two result. libQt5PrintSupport.so.5 and libQt5PrintSupport.so.5.6 Bernhard Voelker je 4.6.2016 ob 21:01 napisal:
On 06/04/2016 08:35 PM, Igor wrote:
hello in one linux im create program in qt designer. With command readelf -d and $ldd im find depentes files and put him to same folder like program and make arhiv. Im this arhv send to another linux. Unpack all files, make program executable with comand chmod a+x. When run program i get info that depentes file can find. (its in same folder like program)
Igor google: LD_LIBRARY_PATH
Have a nice day, Berny
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org