Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: nano on January 23, 2015, 01:04:20 AM

Title: Qt5 app didn't find lib at /usr/local/lib
Post by: nano on January 23, 2015, 01:04:20 AM
I have an Qt5 application to run on tinycore. I installed all needed extension, but appears that my Qt5 app only check /usr/lib and don't check /usr/local/lib for needed library, such as /usr/lib/share/X11/xkb and says that didn't find some libs. When I compile my app with qt4 it works correctly.

Can I load tce extension into /usr instead of /usr/local?
OR
What should I do?

Title: Re: Qt5 app didn't find lib at /usr/local/lib
Post by: Juanito on January 23, 2015, 01:11:12 AM
the tinycore standard for extensions is for them to be compiled to /usr/local.

Since things work with qt4, you probably need a small adjustment to the ./configure switches or Makefile for them to work with qt5.
Title: Re: Qt5 app didn't find lib at /usr/local/lib
Post by: nano on January 23, 2015, 03:17:03 PM
you probably need a small adjustment to the ./configure switches or Makefile for them to work with qt5.
Sorry. Could you explain a bit more for me... How say qt to also check /usr/local at runtime?
How set qt to also check /usr/local/share after /usr/share ?

the tinycore standard for extensions is for them to be compiled to /usr/local.

Why the standard path is /usr/local instead of /usr ?