Re: [Interest] Loading libraries from root folder

2013-09-19 Thread Konrad Rosenbaum
On Monday 09 September 2013 13:05:07 Till Oliver Knoll wrote: > Using the rpath linker option with a /relative/ path like "./lib" (relative > to the binary) worked for me. So I don't quite follow the disadvantage Important note: relative rpathes are not relative to the executable, they are relati

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Thiago Macieira
On segunda-feira, 9 de setembro de 2013 11:05:39, Joseph W Joshua wrote: > Hello all, > > I wish to deploy my application under both Linux and windows. In > windows, the OS automatically looks for libraries in the application > startup path. However in Linux, the OS always complains about missing

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Mitch Curtis
On 09/09/2013 08:07 PM, Joseph W Joshua wrote: > On 09/09/2013 07:05 AM, Till Oliver Knoll wrote: >> >> "The disadvantage of the second approach [rpath] is that the user may >> not have privileges to install into the predetermined path." >> >> > Till, > > It is this particular quote which put me of

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Joseph W Joshua
On 09/09/2013 07:05 AM, Till Oliver Knoll wrote: "The disadvantage of the second approach [rpath] is that the user may not have privileges to install into the predetermined path." Till, It is this particular quote which put me off the second approach in the first place. I have not tried i

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Till Oliver Knoll
Am 09.09.2013 um 17:42 schrieb Joseph W Joshua : > ... >> >> Please see: >> http://qt-project.org/doc/qt-5.0/qtdoc/deployment-x11.html#creating-the-application-package > Thanks, > > LD_LIBRARY_PATH looks like the best option. Using the rpath linker option with a /relative/ path like "./lib"

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Joseph W Joshua
On 09/09/2013 04:36 AM, Mitch Curtis wrote: > On 09/09/2013 05:05 PM, Joseph W Joshua wrote: >> Hello all, >> >> I wish to deploy my application under both Linux and windows. In >> windows, the OS automatically looks for libraries in the application >> startup path. However in Linux, the OS always

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread Mitch Curtis
On 09/09/2013 05:05 PM, Joseph W Joshua wrote: > Hello all, > > I wish to deploy my application under both Linux and windows. In > windows, the OS automatically looks for libraries in the application > startup path. However in Linux, the OS always complains about missing > libs, even though they ar

Re: [Interest] Loading libraries from root folder

2013-09-09 Thread André Hartmann
Hi Josh, try the following in a terminal: LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./application changes the library search path for the current instance of application BR, Andre Am 09.09.2013 17:05, schrieb Joseph W Joshua: > Hello all, > > I wish to deploy my application under both Linux and windo

[Interest] Loading libraries from root folder

2013-09-09 Thread Joseph W Joshua
Hello all, I wish to deploy my application under both Linux and windows. In windows, the OS automatically looks for libraries in the application startup path. However in Linux, the OS always complains about missing libs, even though they are located in the same folder as the app. Is there a wa