Hi,

On Tue, Jun 25, 2013 at 09:50:19PM +0200, Eric Maeker wrote:
> Le 17 juin 2013 à 11:53, Andreas Tille a écrit :
> 
> > I try to have another look into the rpath issue if not yet solved.

Sorry for not beeing able to check this until now. :-(

> I think the best way to correct the rpath issue is:
> - to add to qmake commandline: "CONFIG+=norpath"

Sounds promising.

> - create a bin wrapper that sets the LD_LIBRARY_PATH to the right place 
> according to the application

I do not think that a wrapper is needed at all.  That's the point of the
lintian warning that RPATH should not be set because it is simply
unneeded.  At installation time dpkg is making sure that all installed
libraries will be found and there is no need for extra LD_LIBRARY_PATH.

> /usr/bin/freemedforms.sh -> Wrapper to "/usr/bin/freemedforms" that can be 
> simple bash like this
> #!/bin/sh
> # Here an example for the FreeMedForms EMR
> # May be wildcards can lead to uncorrect behavior
> PLUGINS_PATH="/usr/lib*/freemedforms"
> LIBS_PATH="/usr/lib*/freemedforms-common"
> LD_LIBRARY_PATH=$PLUGINS_PATH:$LIBS_PATH${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
> export LD_LIBRARY_PATH
> exec "freemedforms" ${1+"$@"}
> 
> Then make all launchers point to /usr/bin/freemedforms.sh
> 
> Untested.
> Any comment?

Because I will most probably not manage to check this in the next two
days (at least) I'd recommend you simply try CONFIG+=norpath and see
whether everything works nicely.

Kind regards

       Andreas.


-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130626062158.ga9...@an3as.eu

Reply via email to