LibraryNotFoundError

new BookmarkLockedFalling
metro
Full Member
***

metro Avatar

Posts: 207

Post by metro on Jul 18, 2009 8:14:45 GMT -5

Hi All
I am using PCLOS2009 and have copied "rb101" to the "/home" directory

as per instructions CD'd to the rb101 folder
Typed ./rpb rb.in
and cranked Rb up
within RunBasic I then set Projects root: to "/home/rb101/projects"
and resources root: to "/home/rb101/public"

I then pasted the code from
runbasic.wikispaces.com/No+Frills+SQL+Demo
and ran it full screen only to get the following


Runtime Error in program 'untitled': sqliteconnect #mySQLdb, "SQLite3Database.db"
LibraryNotFoundError

it appears twice (because the connection is attempted twice)

My first thought is SQLITE is not found

I have installed it through SYNAPTIC and I'm assuming Carl has supplied it in "rb101/linux86

any ideas

thanks in advance

regards

Laurie




Last Edit: Jul 18, 2009 11:19:08 GMT -5 by StefanPendl
Intel Core2 QUAD CPU @2.54 x 4 Mint Linux 19.3 Mate
mackrackit
Full Member
***

mackrackit Avatar

Posts: 231

Post by mackrackit on Jul 18, 2009 16:01:05 GMT -5

I am not familiar with that flavor of Linux, but I think you have RB installed in a ROOT area.
Under the "home" directory is the another directory named what ever your user name is or something like that?

If so then RB should be installed there.
/home/????/rb101/

Just a thought..
Dave[br][br][url]http://www.mackrackit.com:8888[/url][br]
metro
Full Member
***

metro Avatar

Posts: 207

Post by metro on Jul 18, 2009 19:40:28 GMT -5

Thanks for the quick reply mackrackit

I resisted placing rb101 in my username folder in the hope that all users would have access to rb101whilst it was in the /HOME folder
I'm still very much a noob with Linux and RunBasic, permissions are set for all users to rwx

I took your advice and moved rb101 to /HOME/laurie/rb101, launched RunBasic and it works fine.
so I then moved rb101 to several different locations including back to where I had it in the first place
and it works fine.

I did note with the first install DefaultDir$ reported the wrong directory initially it pointed to /HOME/laurie
and not /HOME(where I had it), also I had to change "projects root:" and "resourses root:" manually to reflect RB's location.

Now where ever I move it too the DefaultDir$ is correct and the paths to the default root folders are correct and done automatically.

seems maybe there is a conf file some where that was corrupt initially
???
anyway thanks for your help

regards

Laurie


Intel Core2 QUAD CPU @2.54 x 4 Mint Linux 19.3 Mate
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Jul 19, 2009 3:53:25 GMT -5

Applications are usually placed into /opt/{application folder} (optional content).
Configuration files are placed into /etc/opt/{application folder} (miscellaneous content).
Files, which change frequently, are placed into /var/opt/{application folder} (variable content).

This is as outlined by the System V standard, BSD and others might follow a different approach to organize files.

The /home folder is intended to contain only user profiles, it is not a place to install applications.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
garylscott
New Member
*

garylscott Avatar

Posts: 15