Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2012-03

Mint updated to KDE 4.8

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

I have updated my KDE to version 4.8. It looks like QT is version 4.8, too. If I understand right, libc is version 6 (?)

Linking Lazarus for QT bindings gives an error:

/usr/local/lib/libQt4Pas.so: undefined reference to '

$ ldconfig -p | grep Pas
libQt4Pas.so.5 (libc6,x86-64) => /usr/local/lib/libQt4Pas.so.5 libQt4Pas.so (libc6,x86-64) => /usr/local/lib/libQt4Pas.so

$ ls -l /usr/lib/x86_64-linux-gnu/libQtCore.*
-rw-r--r-- 1 root root 680 2012-02-25 09:32
/usr/lib/x86_64-linux-gnu/libQtCore.prl
lrwxrwxrwx 1 root root 18 2012-02-25 09:37
/usr/lib/x86_64-linux-gnu/libQtCore.so -> libQtCore.so.4.8.0 lrwxrwxrwx 1 root root 18 2012-02-25 09:37
/usr/lib/x86_64-linux-gnu/libQtCore.so.4 -> libQtCore.so.4.8.0 lrwxrwxrwx 1 root root 18 2012-02-25 09:37
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8 -> libQtCore.so.4.8.0 -rw-r--r-- 1 root root 2955312 2012-02-25 09:40
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.0

Is there any easy way to fix it?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20120306/e3f6be69/attachment.html>

zeljko
to Juha Manninen
Juha Manninen wrote 26 lines
I have updated my KDE to version 4.8. It looks like QT is version 4.8, too. If I understand right, libc is version 6 (?) Linking Lazarus for QT bindings gives an error: /usr/local/lib/libQt4Pas.so: undefined reference to ' $ ldconfig -p | grep Pas libQt4Pas.so.5 (libc6,x86-64) => /usr/local/lib/libQt4Pas.so.5 libQt4Pas.so (libc6,x86-64) => /usr/local/lib/libQt4Pas.so $ ls -l /usr/lib/x86_64-linux-gnu/libQtCore.* -rw-r--r-- 1 root root 680 2012-02-25 09:32 /usr/lib/x86_64-linux-gnu/libQtCore.prl lrwxrwxrwx 1 root root 18 2012-02-25 09:37 /usr/lib/x86_64-linux-gnu/libQtCore.so -> libQtCore.so.4.8.0 lrwxrwxrwx 1 root root 18 2012-02-25 09:37 /usr/lib/x86_64-linux-gnu/libQtCore.so.4 -> libQtCore.so.4.8.0 lrwxrwxrwx 1 root root 18 2012-02-25 09:37 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8 -> libQtCore.so.4.8.0 -rw-r--r-- 1 root root 2955312 2012-02-25 09:40 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.0 Is there any easy way to fix it?

I have Fedora 16 64bit on my laptop and there's qt-4.8 and it works oob, but I've builded bindings by myself. So, try to build bindings from source. Latest bindings works fine.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20120307/bfeff7f9/attachment.html>

Den Jean
to Juha Manninen: I have updated my KDE to version 4.8. It looks like QT is version 4.8, too. If I…
Juha Manninen wrote
Is there any easy way to fix it?

I can confirm that recompilation on Mint 12 64bit solves this. On Mint 12 32bit I did not notice problems.

quick instructions:
===================
sudo apt-get install -y qt4-dev-tools
wget http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/splitbuild-qt4pas-V2.5_Qt4.5.3.tar.gz tar zxvf splitbuild-qt4pas-V2.5_Qt4.5.3.tar.gz
cd splitbuild-qt4pas-V2.5_Qt4.5.3/
qmake
make -j 4
sudo make install

Note: I you have manually installed the libraries in another place than the qt4 default lib location (qmake -query | grep LIB), you need to manually remove the other libs ofcourse.

kind regards,

Den Jean

Juha Manninen
to Den Jean

2012/3/7 Den Jean

Show quoted text 20 lines
On Tuesday 06 March 2012 21:52:55 Juha Manninen wrote: > Is there any easy way to fix it? I can confirm that recompilation on Mint 12 64bit solves this. On Mint 12 32bit I did not notice problems. quick instructions: =================== sudo apt-get install -y qt4-dev-tools wget http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/splitbuild-qt4pas-V2.5_Qt4.5.3.tar.gz tar zxvf splitbuild-qt4pas-V2.5_Qt4.5.3.tar.gz cd splitbuild-qt4pas-V2.5_Qt4.5.3/ qmake make -j 4 sudo make install Note: I you have manually installed the libraries in another place than the qt4 default lib location (qmake -query | grep LIB), you need to manually remove the other libs ofcourse.

Thanks.
I did basically the same things but partly using graphical tools. I am not a cmd line freak although I like Linux.
For "make" I should maybe use "-j 3" because my AMD processor has only 3 cores. It had 4 but then it was dropped from the manufacturing line, 1 core broke and they decided to sell it as a 3-core processor. :)

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20120307/c41005fc/attachment.html>