Option "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes" works :)

Thanks
-Roman

> -----Original Message-----
> From: Anderson Lizardo [mailto:[email protected]]
> Sent: Monday, October 04, 2010 1:39 PM
> To: Lacko Roman
> Cc: Carlos Gonçalves; [email protected]
> Subject: Re: [PySide] build under ubuntu failed
> 
> 2010/10/4 Lacko Roman <[email protected]>:
> > /home/roman/PySide/pyside-pkgsetup/modules/output-py2.6-
> qt4.7.0/bin/ge
> > neratorrunner: error while loading shared libraries:
> > libgenrunner.so.0.6: cannot open shared object file: No such file or
> > directory
> > make[2]: ***
> > [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp]
> > Error 127
> > make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
> > make: *** [all] Error 2
> 
> Try passing this to cmake when building *generatorrunner*:
> 
> -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes
> 
> This is necessary if you want to install to a non-standard path (one not 
> listed
> in /etc/ld.so.conf). Another option is to add the target directory to to
> ld.so.conf and run "ldconfig", or use "LD_LIBRARY_PATH" , like others
> suggested.
> 
> Regards,
> --
> Anderson Lizardo
> OpenBossa Labs - INdT
> Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to