[solved] Error loading library

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Post Reply
bmormede
Newbie Member
Posts: 3
Joined: Sun Aug 28, 2016 4:48 pm

[solved] Error loading library

Post by bmormede » Sun Aug 28, 2016 5:11 pm

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

User avatar
Clive
Moderator / Drawing Help
Posts: 1327
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: Error loading library

Post by Clive » Mon Aug 29, 2016 10:27 am

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?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

bmormede
Newbie Member
Posts: 3
Joined: Sun Aug 28, 2016 4:48 pm

Re: Error loading library

Post by bmormede » Thu Sep 01, 2016 11:45 am

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

User avatar
andrew
Site Admin
Posts: 6412
Joined: Fri Mar 30, 2007 6:07 am

Re: Error loading library

Post by andrew » Thu Sep 01, 2016 2:09 pm

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.

bmormede
Newbie Member
Posts: 3
Joined: Sun Aug 28, 2016 4:48 pm

Re: Error loading library

Post by bmormede » Wed Sep 07, 2016 8:36 pm

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

Post Reply

Return to “QCAD Community Edition”