[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#264859: FTBFS: Reference to undefined global `Postgres'



Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> writes:

> John Goerzen <jgoerzen@complete.org> writes:
>
>> On Tue, Aug 10, 2004 at 07:11:05PM +0100, Richard Jones wrote:
>>> On Tue, Aug 10, 2004 at 01:06:14PM -0500, John Goerzen wrote:
...
>>> > > ocamlc -g -I /usr/lib/ocaml/3.08/pcre -I /usr/lib/ocaml/3.08/postgres -I /usr/lib/ocaml/3.08/postgresql -I /usr/lib/ocaml/3.08/mysql -I /usr/lib/ocaml/3.08/perl -I  -c dbi_postgres.ml
>>> > > Error while linking dbi_postgres.cmo:
>>> > > Reference to undefined global `Postgres'
>>> > > make[1]: *** [dbi_postgres.cmo] Error 2
>>> > > make[1]: Leaving directory `/home/mrvn/ocamldbi/ocamldbi-0.9.9'
>>> 
>>> I mean this error must be down to missing the postgres.cmi file, ie,
>>> missing the 'libpgsql-ocaml-dev' package.
>>
>> That shouldn't happen, since ocamldbi build-depends on
>> libpgsql-ocaml-dev.
>>
>> -- John
>
> Does this help?
>
> ocamlfind: Package `sqlite' not found
> ocamlfind: Package `sqlite' not found
>
> Looks like the libsqlite-ocaml-dev package is broken.

Updating ocaml-sqlite fixed the problem on alpha and mipsel. Now m68k
has failed with the exact same error too and I'm going to do the same
fix.

It seems that all (many?) archs fail with the old ocaml-sqlite
package.

MfG
        Goswin



Reply to: