qt-interest@trolltech.com
[Top] [All Lists]

Re: qt.conf and shared libraries

Subject: Re: qt.conf and shared libraries
From: Thiago Macieira
Date: Tue, 24 Jun 2008 08:48:36 +0200
Chris Mueller wrote:
>#!/bin/bash
>appname=`basename $0 | sed s,\.sh$,,`
>dirname=`dirname $0`
>LD_LIBRARY_PATH=$PWD/$dirname/
>export LD_LIBRARY_PATH
>"$PWD/$dirname/$appname" $*


>If I append "lib" to the lib path in the shell script:
>
>LD_LIBRARY_PATH=$PWD/$dirname/lib/

Appending "lib" is correct. LD_LIBRARY_PATH should point only to 
directories containing libraries.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech, a Nokia Company
Sandakerveien 116, NO-0402 Oslo, Norway
<Prev in Thread] Current Thread [Next in Thread>