Registered Member
|
Hi,
I had not used sqlcipher until now, but since it is not an option any more, I have installed it and try to compile Skrooge 2.7.0, but:
Where may be the problem? Thanks! |
Moderator
|
Hi,
You have to install libsqlcipher-dev first. Regards. |
Registered Member
|
uhmmm ... most likely i should know, but I don´t ... where can I get libsqlcipher-dev?
I have google it but only find Ubunto packages and not sources. Thanks |
Moderator
|
Did you try to install sqlcipher-devel ?
|
Registered Member
|
Yes.
I have downloaded and installed sqlcipher:
I still have problems to compile Skrooge 2.7.0, and you told me I need to install libsqlcipher-dev too. Ok, but I don´t know where to get it. I´m trying to find it but I only found some Ubuntu packages. So, I don´t know what to do next. EDIT: I have installed the RPM sqlcipher-devel-3.3.1-4.fc24.x86_64.rpm (converted using rpm2tgz) and it is compiling now ... lets see if it works after that. EDIT 2: No luck:
Of course, the file exists:
Thanks |
Registered Member
|
ok, step by step.
Now Skrooge runs (it was a problem with my library path), but I get some errors: |
Moderator
|
Could you check that libskgsqlcipher.so is well installed in sqldrivers directory?
On my system: /usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers |
Registered Member
|
Aparentely yes:
|
Moderator
|
Apparently no!
I didn't see libskgsqlcipher.so in your list. |
Registered Member
|
ups, you are right
And I think I know what happened. It was my fault but maybe you could make a little correction to your Makefile. I never used sqlcipher and I always prepared the makefile using this command:
But since using sqlcipher is not an option anymore and now is mandatory, I installed (with some problems) both sqlcipher and sqlcipher-devel but still used the same command to prepare the makefile, and I didn´t get any error:
But it seems that the libskgsqlcipher.so wasn't generated. Then I changed the command to:
And voilà, everything works fine. So, yes, it is my fault, but I would suggest you toe remove the parameter -DSKG_CIPHER=O[FF|N] since it is not an option anymore. Anyway, thank you very much for your help and patience. |
Moderator
|
Thank you, I did the correction.
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]