[PyKDE] pyqt compilation problem on RedHat Linux 7.1
Donovan Rebbechi
elflord at andromeda.rutgers.edu
Thu Jun 20 17:28:00 BST 2002
On 20 Jun 2002, Karl Schmid wrote:
> Hi,
>
> I tried to compile PyQt-3.2.4 on a RH7.1 system with Qt3.0.4 installed.
>
> When typing 'make', I get the following error:
>
> make all-recursive
> make[1]: Entering directory `/home/schmid/PyQt-3.2.4'
> Making all in features
> make[2]: Entering directory `/home/schmid/PyQt-3.2.4/features'
> ./sip_helper >../sipQtFeatures.h
> ./sip_helper: error while loading shared libraries: libqt.so.3: cannot
> load shared object file: No such file or directory
> make[2]: *** [all-local] Error 127
> make[2]: Leaving directory `/home/schmid/PyQt-3.2.4/features'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/schmid/PyQt-3.2.4'
> make: *** [all] Error 2
>
> However, libqt.so.3 is installed on the system:
>
> [root at mint PyQt-3.2.4]# find /usr -name libqt.so.3
> /usr/local/qt/lib/libqt.so.3
>
> This search path is also included in the Makefile (I am neither a C nor
> a make expert).
>
> Any ideas on how I can solve the problem?
qt needs to be somewhere that the runtime linker can find it, and by
default, it doesn't look in /usr/local/qt/lib. Either put a symbolic
link in an appropriate directory, or add a line to /etc/ld.so.conf and
run /sbin/ldconfig, or add the directory to your LD_LIBRARY_PATH
environment variable.
My suggestion would be to place a symbolic link in /usr/local/lib, and add
/usr/local/lib to /etc/ld.so.conf if it isn't there already.
--
Donovan
More information about the PyQt
mailing list