Re: [Php-qt-users] Unable to load dynamic library
Status: Beta
Brought to you by:
tm243
From: Thomas M. <tm...@ph...> - 2007-09-13 14:01:45
|
same here, thanks. On Thursday 13 September 2007 15:26:48 Kendrick Vargas wrote: > Just as a side note, I had the same results with the tutorials on Fedora 7 > x86_64 after getting it compiled and installed. > -peace > > Darren Whitlen wrote: > > Unittests.. if you mean the scripts in the test folder, then some echo > > out a segmentation fault, some complain about missing classes. > > > > The tutorial scripts.. > > T1 - works fine > > T2 - Undefined class constant 'Bold' > > T3 - Segmentation fault (core dumped) > > T4 - Undefined class constant 'Bold' > > T5 - Segmentation fault (core dumped) > > T6 - Segmentation fault (core dumped) > > T7 - Segmentation fault (core dumped) > > T8 - Segmentation fault (core dumped) > > > > Odd that T1 works while others don't > > > > > > -----Original Message----- > > From: php...@li... > > [mailto:php...@li...] On Behalf Of Thomas > > Moenicke > > Sent: 13 September 2007 10:31 > > To: php...@li... > > Subject: Re: [Php-qt-users] Unable to load dynamic library > > > > Yes, of course. Typo. > > > > Do the unittests run? > > > > On Thursday 13 September 2007 11:04:14 Darren Whitlen wrote: > >> I don't know if you meant /usr/local/lib rather than /usr/local/bin, but > >> the lib dir worked rather than the bin dir. > >> > >> > >> > >> But now.. > >> > >> ----- > >> > >> Fatal error: Undefined class constant 'TopToBottom' in > >> /home/darren/Desktop/php_qt/tests/box2buttons.php on line 15 > >> > >> ----- > >> > >> > >> > >> Any ideas? > >> > >> > >> > >> Darren > >> > >> On Thursday 13 September 2007 07:12:39 you wrote: > >>> Nope its 32 bit Ubuntu Feisty. What OS does it work on so far? > >>> > >>> I wish I knew C enough to help get things going, working on each > >>> distro. > >> > >> yeah that would be great. You don't have to know too much about C > >> itself, just > >> > >> how to get things compiled and running is enough. Reporting your issues > >> helps > >> > >> a lot. Btw, it runs fine on Ubuntu/Kubuntu machines. > >> > >> > >> > >> For your problem: please run this: > >> > >> export LD_LIBRARY_PATH=/usr/local/bin:$LD_LIBRARY_PATH > >> > >> > >> > >> in the konsole where your php-qt programm will run. > >> > >>> -----Original Message----- > >>> > >>> From: php...@li... > >>> > >>> [mailto:php...@li...] On Behalf Of Thomas > >>> > >>> Moenicke > >>> > >>> Sent: 12 September 2007 22:27 > >>> > >>> To: php...@li... > >>> > >>> Subject: Re: [Php-qt-users] Unable to load dynamic library - 64 Bit > >>> > >>> > >>> > >>> is it 64 bit? I got it compiled on a 64 bit Kubuntu machine, but it > >> > >> doesn't > >> > >>> run yet, it does not link properly at runtime so far. > >>> > >>> On Wednesday 12 September 2007 12:53:56 Darren Whitlen wrote: > >>>> Hi, > >>>> > >>>> > >>>> > >>>> I've finally got up to getting PHP-QT running under ubuntu now. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Compiled fine following the steps in the documentation, but come to > >>> > >>> running > >>> > >>>> one of the test scripts, it fails. > >>>> > >>>> > >>>> > >>>> Just to mention, I also had to apply the patch just given to Stefan. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> --------- > >>>> > >>>> > >>>> > >>>> darren@darren-laptop:~/Desktop/php_qt$ php tests/box2buttons.php > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Warning: dl(): Unable to load dynamic library > >>>> > >>>> '/usr/lib/php5/20060613+lfs/php_qt.so' - libsmokeqt.so.2: cannot open > >>>> > >>>> shared object file: No such file or directory in > >>>> > >>>> /home/darren/Desktop/php_qt/tests/box2buttons.php on line 3 > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Fatal error: Class 'QBoxLayout' not found in > >>>> > >>>> /home/darren/Desktop/php_qt/tests/box2buttons.php on line 6 > >>>> > >>>> > >>>> > >>>> -------- > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> The libsmokeqt files do exist in /usr/local/lib/ > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Any ideas? > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Darren > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users -- Thomas |