Re: [Lazarus] Problems linking with QT4

2008-11-03 Thread Den Jean
On Monday 03 November 2008 14:21:14 Darius Blaszyk wrote:

> /usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when
64bit<>32bit lib mixup

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Problems linking with QT4

2008-11-03 Thread zeljko
On Monday 03 November 2008 14:21, Darius Blaszyk wrote:
> I have some problems with linking to the QT widgetset. Apparently the
> linker does not like my library, but I believe to have correctly
> followed the instructions on the wiki. Is there anything else I need to
> do (or forget)?

What bindings version ? If you downloaded 1.66 then you must have qt-4.4 
installed and use lazarus svn >= 17196 and set define USE_QT_44, otherwise it 
should work.

>
> ldconfig -p | grep libqt4intf
>
> gives:
>   libqt4intf.so (libc6,x86-64) => /usr/local/lib/libqt4intf.so
>
>
> The output of the build process is:
>
> Linking ../lazarus
> /usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when
> searching for -lqt4intf
> /usr/bin/ld: cannot find -lqt4intf
> lazarus.pp(122,1) Error: Error while linking
> /usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when
> searching for -lqt4intf
> /usr/bin/ld: cannot find -lqt4intf
>
> Regards, Darius
>
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Problems linking with QT4

2008-11-03 Thread Darius Blaszyk
I have some problems with linking to the QT widgetset. Apparently the
linker does not like my library, but I believe to have correctly
followed the instructions on the wiki. Is there anything else I need to
do (or forget)?

ldconfig -p | grep libqt4intf

gives:
libqt4intf.so (libc6,x86-64) => /usr/local/lib/libqt4intf.so


The output of the build process is:

Linking ../lazarus
/usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when
searching for -lqt4intf
/usr/bin/ld: cannot find -lqt4intf
lazarus.pp(122,1) Error: Error while linking
/usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when
searching for -lqt4intf
/usr/bin/ld: cannot find -lqt4intf

Regards, Darius

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus