1. eusqlite installation on Linux

Merry almost Christmas!

Where does the .so file actually live? /usr/lib/ or /usr/local/lib/? I've got it living in the latter at the moment. The symlink should be created from /usr/lib/ to /usr/local/lib/ - is that correct? Because if it is, my system is choking on that - saying that the file already exists in /usr/local/lib/. Chris maybe you can clear up the instructions on the wiki? TIA...

Duke

new topic     » topic index » view message » categorize

2. Re: eusqlite installation on Linux

dukester said...

Merry almost Christmas!

Where does the .so file actually live? /usr/lib/ or /usr/local/lib/? I've got it living in the latter at the moment. The symlink should be created from /usr/lib/ to /usr/local/lib/ - is that correct? Because if it is, my system is choking on that - saying that the file already exists in /usr/local/lib/. Chris maybe you can clear up the instructions on the wiki? TIA...

Generally, /usr/lib is reserved for your package manager, and /usr/local/lib is for the system administrator (presumably, you). Your system should be able to use it from either location, though you may need to run ldconfig or update LD_LIBRARY_PATH.

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: eusqlite installation on Linux

OK! I'll run ldconfig and see how far I get. Thanks Matt.

Duke

new topic     » goto parent     » topic index » view message » categorize

4. Re: eusqlite installation on Linux

Got it working!

Here are the foolproof steps I took to get sqlite3.x working with Euphoria 3.1.1 on a Linux Xubuntu box:

DL sqlite-3.5.4.so
mv sqlite-3.5.4.so /usr/lib/
cd /usr/lib
sudo ln -s sqlite-3.5.4.so sqlite3.so
sudo ldconfig

DL eusqlite3.zip
unzip into a EUINC directory

Hope this helps someone down the road!

Merry Christmas!

Duke

new topic     » goto parent     » topic index » view message » categorize

5. Re: eusqlite installation on Linux

Hi

Yes, that's pretty much it!

I'll make the wiki clearer

Essentially the library binary has to be installed in /usr/local/lib (for whatever reason)

The symlink to this (sqlite3.so) goes into /usr/lib

eu programs call the symlink in /usr/lib

Other combinations and locations do not seem to work, I have never understood why this is, but since the above locations worked, I stopped trying to.

Chris

new topic     » goto parent     » topic index » view message » categorize

6. Re: eusqlite installation on Linux

ChrisB said...

Essentially the library binary has to be installed in /usr/local/lib (for whatever reason)

Not so on my system :) the library binary physical lives in /usr/lib/

and it works! :)

Duke

new topic     » goto parent     » topic index » view message » categorize

7. Re: eusqlite installation on Linux

Love Linux!

Merry Christmas everyone!

Chris

new topic     » goto parent     » topic index » view message » categorize

8. Re: eusqlite installation on Linux

Unix-family, nothing better :)

and a Merry Christmas to you, yours and the Euphoria community!

Duke

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu