Package Details: ocaml-sqlite3 4.0.3-1

Git Clone URL: (read-only)
Package Base: ocaml-sqlite3
Description: SQLite3 bindings for OCaml
Upstream URL:
Licenses: MIT
Submitter: ftrvxmtrx
Maintainer: oriba
Last Packager: oriba
Votes: 28
Popularity: 1.457841
First Submitted: 2010-12-30 01:31
Last Updated: 2016-03-13 12:26

Latest Comments

oriba commented on 2015-12-15 18:02

Next OCaml-release will be in Jan. 2016, and some patches related to this or similar issues will be on board then.
Hopefully this will be fixed then...

layus commented on 2015-12-15 07:21

No idea really :-). I do not know how they did fix it.
As I said on the bugtracker [1], I recompiled ocaml with -fPIC which solved my problem. Maybe the correct solution would be to add -runtime-variant _pic to ocamlopt or ocamlfind (I'm guessing here...) ?
The last comment of the mantis [2] seems to me like the latter option is the right one. Any idea where to add -runtime-variant _pic to this package ?


PS: My system is up to date, and my ocaml version is indeed 4.02.3.

oriba commented on 2015-12-14 22:32

The caml-link says: fixed in 4.02.2+dev / +rc1.
Official ocaml in Arch is: 4.02.3.
Should be fixed there...?!
Do you have the current OCaml installed?

layus commented on 2015-12-14 13:01

This seems related to,
which in turns points to
Both issues are relevant. I will try to bix my build based on this.

oriba commented on 2015-12-14 11:57

I don't have such problems. It compiles without problems here.
Do you have a 32-bit system, or use 32-bit libraries?
"R_X86_64_32" seems to be related to 32/64-bit-issues.

layus commented on 2015-12-14 11:51

Nop, the same problem still occurs.
Any way I can help debugging ?

oriba commented on 2015-12-07 12:14

layus, you can try with new release (coming in some minutes), if the problem is solved then. If not, let me know.

layus commented on 2015-12-07 11:05

The build fails for me with the following error :

/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
(see for full log)

Any idea on how to fix this ?

Myshkin commented on 2014-07-16 13:20

Updated and 'staticlibs' option added. Thanks, all.

rafaelff commented on 2014-07-16 02:34

Just to complement @jstitch's comment, here are the updates needed in the PKGBUILD


All comments