From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Update libsqlite3-dev on OPKG

Solved!
Go to solution

Thanks, Scott.

0 Kudos
Message 11 of 15
(2,042 Views)

What's the difference between that and "packagegroup-core-buildessential-dev"?

0 Kudos
Message 12 of 15
(2,042 Views)

"-dev" packages usually contain headers, static libraries and other artefacts needed if you want to do development work on the tools/libraries installed by the main package (i.e. if you want to do work on the stuff contained in packagegroup-core-buildessential)

Btw. "-dbg" has the debug symbols.

Message 13 of 15
(2,042 Views)
Solution
Accepted by topic author Staab_Engineering

Thanks to everyone at NI for helping us figure this out. Here's our final solution for anyone else looking to get a newer version of SQLite than is currently on the opkg server:

(Note: You'll have to change the URL to point to whichever version of hte library you want.)

#!/bin/bash

# Notice:

#

# Due to the limited memory available on the cRio-9066, we had to first uninstall most of the NI software packages installed before running the make script.

#

#

#this is to get the dependencies necessary for the sqlite install

#wget is to make --no-check-certificate work

opkg install binutils

opkg install binutils-symlink

opkg install packagegroup-core-buildessential-dev

opkg install wget

opkg install make-dev

#get the sqlite tarball

wget --no-check-certificate https://www.sqlite.org/2015/sqlite-autoconf-3081002.tar.gz

#untar it

tar -C /home/admin/ -xf sqlite-autoconf-3081002.tar.gz

#remove the tarball

rm ~/sqlite-autoconf-3081002.tar.gz

cd ~/sqlite-autoconf-3081002

#compile sqlite

./configure

make

make install

cd ~

rm -r ~/sqlite-autoconf-3081002

0 Kudos
Message 14 of 15
(2,042 Views)

# Due to the limited memory available on the cRio-9066, we had to first uninstall most of the NI software packages installed before running the make script.

Untested, but it might be sufficient to temporarily set overcommit to the default, instead of uninstalling software:

# echo 0 > /proc/sys/vm/overcommit_memory

0 Kudos
Message 15 of 15
(2,042 Views)