How do i get all the shared libs that my app needs?
-
wrote on 18 Jun 2015, 02:21 last edited by
Hi! How do i get all the shared libs and copy to a folder with my app?
i run ldd App and get all the names of the libs, but how to copy? -
wrote on 18 Jun 2015, 03:51 last edited by
If you have the names, then you know what to copy... Or you can design a small script which parses the output of ldd and performs the needed cp. But remember that on linux having all the libs in the same directory as the executable doesn't mean you're OK. If you do so you'll have to set LD_LIBRARY_PATH.
-
If you have the names, then you know what to copy... Or you can design a small script which parses the output of ldd and performs the needed cp. But remember that on linux having all the libs in the same directory as the executable doesn't mean you're OK. If you do so you'll have to set LD_LIBRARY_PATH.
wrote on 18 Jun 2015, 03:55 last edited byThis post is deleted!
1/3