1. eusqlite installation on Linux
- Posted by dukester Dec 23, 2010
- 1400 views
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
2. Re: eusqlite installation on Linux
- Posted by mattlewis (admin) Dec 23, 2010
- 1402 views
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
3. Re: eusqlite installation on Linux
- Posted by dukester Dec 23, 2010
- 1376 views
OK! I'll run ldconfig and see how far I get. Thanks Matt.
Duke
4. Re: eusqlite installation on Linux
- Posted by dukester Dec 24, 2010
- 1372 views
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
5. Re: eusqlite installation on Linux
- Posted by ChrisB (moderator) Dec 24, 2010
- 1335 views
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
6. Re: eusqlite installation on Linux
- Posted by dukester Dec 24, 2010
- 1291 views
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
7. Re: eusqlite installation on Linux
- Posted by ChrisB (moderator) Dec 25, 2010
- 1250 views
Love Linux!
Merry Christmas everyone!
Chris
8. Re: eusqlite installation on Linux
- Posted by dukester Dec 25, 2010
- 1197 views
Unix-family, nothing better :)
and a Merry Christmas to you, yours and the Euphoria community!
Duke