That "server program" may be using a statically linked form of the SQLite library. You can determine whether that is so by looking at the names of the files comprising its sources. If you really want the "server program" to use a later version, you can compile it yourself if you can get the sources. That is readily done with most of the programs that are distributed with Ubuntu (or other Linux distros.) Another suggestion: Live with version 3.22 or explain why it does not do what you need so somebody here can offer alternatives.