Page 1 of 1

[solved] Error loading library

Posted: Sun Aug 28, 2016 5:11 pm
by bmormede
Hi every one,
I'm using on laptop Linux Mageia 5 64bits and QCAD community version 3.
QCAD is running fine except that I can't load the library. If I configure the path for library, when opening QCAD instance I get the following message:

Plugin LibraryBrowser: cannot connect to DB.
Driver error: Driver not loaded
Database error: Driver not loaded
Database file:
Library browser will not be available

I install also QCAD on my desktop Linux Mageia 32bits and QCAD community version 3. I have the same problem.

Is it a limitation of the community edition or a configuration problem ?

Thank you in advance for your help.
B. Mormede

Re: Error loading library

Posted: Mon Aug 29, 2016 10:27 am
by Clive
Hello bmormede and welcome here to the QCAD forum :)

The library browser should work fine in the community edition, could it be that you need to set permissions?

Re: Error loading library

Posted: Thu Sep 01, 2016 11:45 am
by bmormede
Thank you Clive pour your answer.
I thought also it could be a problem of permission to access the related forders.

The qcad folder is located /usr/share/qcad
and the libraries, plugins, etc in this folder.
I set permissions of qcad folder to 777 to try again

The conf file is located in ~/.config/QCAD/qcad3.conf

With permissions set to 777 -R to qcad folder, it still doesn't work.

BM

Re: Error loading library

Posted: Thu Sep 01, 2016 2:09 pm
by andrew
The error indicates the the data base driver could not be loaded. That's the file plugins/sqldrivers/libqsqlite.so in your QCAD installation directory. This file should be made executable and readable by all.

Re: Error loading library

Posted: Wed Sep 07, 2016 8:36 pm
by bmormede
Hi Andrew,
Thx for your reply.
The folder plugins/sqldrivers was empty. I guess there was a problem with the qcad.rpm package from Mageia dist.
I reinstall Qcad from the source code and it's fine and working well.

Thx a lot for your help.
Bernard