Thomas,

 

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-qt-users-bounces@lists.sourceforge.net

> [mailto:php-qt-users-bounces@lists.sourceforge.net] On Behalf Of Thomas

> Moenicke

> Sent: 12 September 2007 22:27

> To: php-qt-users@lists.sourceforge.net

> 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

 

 

 

--

Thomas