Problems with QT

Hi Guys,

Maybe a linux expert could help me with this.

I have installed QT5 on the organelle but there seems to be come problem with it finding

It is there ok:

[root@organelle build]# file /usr/lib/
/usr/lib/ symbolic link to

[root@organelle build]# file /usr/lib/
/usr/lib/ ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/, BuildID[sha1]=4da280cdc46f7f0e4f257556e2ecc6b2eb31afa3, for GNU/Linux 3.17.0, stripped

All its dependencies look ok:

[root@organelle build]# ldd /usr/lib/ => /usr/lib/ (0x76aae000) => /usr/lib/ (0x76a26000) => /usr/lib/ (0x76a03000) => /usr/lib/ (0x767d4000) => /usr/lib/ (0x7665c000) => /usr/lib/ (0x765e1000) => /usr/lib/ (0x765c4000) => /usr/lib/ (0x765b1000) => /usr/lib/ (0x764b3000) => /usr/lib/ (0x7636f000) => /usr/lib/ (0x762e9000) => /usr/lib/ (0x762bc000) => /usr/lib/ (0x76177000)
	/lib/ => /usr/lib/ (0x76f71000) => /usr/lib/ (0x76160000) => /usr/lib/ (0x7613c000) => /usr/lib/ (0x7610c000) => /usr/lib/ (0x760ec000) => /usr/lib/ (0x7604b000) => /usr/lib/ (0x7602c000) => /usr/lib/ (0x76021000) => /usr/lib/ (0x74668000) => /usr/lib/ (0x745f1000) => /usr/lib/ (0x745e5000)

But it can’t be found:

/usr/bin/lrelease: error while loading shared libraries: cannot open shared object file: No such file or directory
[root@organelle build]# ldd /usr/lib/ => not found => /usr/lib/ (0x769fe000) => /usr/lib/ (0x769a9000) => /usr/lib/ (0x7696e000) => /usr/lib/ (0x76908000) => /usr/lib/ (0x768e5000) => /usr/lib/ (0x767a1000) => /usr/lib/ (0x7671d000) => /usr/lib/ (0x766f0000) => /usr/lib/ (0x765ab000)
	/usr/lib/ (0x76eeb000) => /usr/lib/ (0x7659e000) => /usr/lib/ (0x76592000) => /usr/lib/ (0x7657b000) => /usr/lib/ (0x7645e000) => /opt/fsl/lib/ (0x7637f000) => /usr/lib/ (0x76368000) => /usr/lib/ (0x7626a000) => /usr/lib/ (0x761c5000) => /usr/lib/ (0x76194000) => /usr/lib/ (0x7616d000) => /usr/lib/ (0x7615a000) => /usr/lib/ (0x760e3000) => /usr/lib/ (0x760d2000) => /usr/lib/ (0x760c8000) => /usr/lib/ (0x760b3000)

Anyone got any ideas?



why not use pacman for something as involved as QT? why do you need QT for the organelle? I mean i know what it is but what are you wanting to use that requires the QT GUI?

QT was installed with pacman.

I’m trying to get the Supercollider IDE built and that requires QT libs.

i built it for raspberry and i followed a how-to and it worked perfectly for 3.9 [but on raspberry of course]
i assume you have seen or are using this

Thanks for the info.

The problem is it can’t build as the libs installed by pacman don’t work.

I’m building the qt libs myself now to see if I can fix it…

When i first started with Linux if it had QT it was always a difficult build now that seems to be wxPython for me

hang in there and do let me know how you fare


@andyCap - You might need to run ‘sudo ldconfig’ to rebuild the shared library cache if you have installed the shared library yourself. It should be non-destructive to do this, so even if it doesn’t work for you, it shouldn’t hurt your system.

Hope this helps. :slight_smile:

Hi Guys,

Thanks for the interest.

Yep I had run ldconfig, also ldconfig -v lists the so.

The system can find the file but not load it. The QT libs I built are just the same.

I think it is something to do with the interpreter /lib/ installed on the organelle:

[root@organelle qt5]# file /usr/lib/
/usr/lib/ ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/, BuildID[sha1]=4da280cdc46f7f0e4f2

I might try building that and see what happens.

I’ll let you know how it goes…

Ok, I have got to the bottom of this. needs at least 3.15 kernel and we have 3.14 :frowning:

1 Like

Ok built QT 5.3 base and the problem goes away, looks like this is the version supercollider wants anyway.

So fingers crossed we might have the ide soon…

how did it turn out?

Thanks for the interest, I don’t like swearing on forums so I can’t give you the full and frank account of the nightmare so far :slight_smile:

I must admit if I never have to see qmake again I would be very happy.

I have the basics of QT made now but the WebKit is proving quite a problem to get built on the organelle.

During this process I have set up a linux box to cross compile everything which did work. Unfortunately the cmake files this produced are not quite right and the Supercollider build on the organelle doesn’t like them as they reference the cross compiler tools, I couldn’t get round this issue so went back to building on the organelle. Someone who understands the intricacy of qmake/cmake might know whats going on but unfortunately that isn’t me.

I have given up a couple of times so far, but keep coming back to it. Just like scratching an itch!

I am going to try a different approach at building WebKit today, I will keep you updated.

After another 2 days managed to get WebKit built, will ty the SC ide build tomorrow…