is sqlite3 package compiled with SQLITE_TEST option?

Asked by Bertrand G

Hello,

I would like to ensure the default sqlite3 package (i.e. 3.4.2-2 in hardy) is NOT compiled with the SQLITE_TEST option as this would fix the random seed, thereby voiding the random function.

How can I check this or can you please check it for me?

It is quite important, for instance for other applications relying on the random functions, such as https://bugs.edge.launchpad.net/exaile/+bug/163355

Thanks in advance.
Berteh.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sqlite3 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nicolas Van Wambeke (nicolasvw) said :
#1

Hey Berteh,

You can check the source for any package in ubuntu by issuing an apt-get source <package>. That will get you the source for the package. The scripts used to create the package from source are all located in <packagename>-<version>/debian directory.

The specific file that governs the building and packaging process is debian/rules, you want to have a look in there primarily. A quick look at the file shows me that there is nothing that looks like SQLITE_TEST option during the build process. So unless the default build from source explicitly sets that option (which I don't think), the package is build without it.

Hope this helps,

Cheers,

Nicolas

Can you help with this problem?

Provide an answer of your own, or ask Bertrand G for more information if necessary.

To post a message you must log in.