Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Problem using pcre on Debian
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-02-22 (14:48)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Problem using pcre on Debian
On Fri, 22 Feb 2002, Johann Spies wrote:
> The compilation went without a problem after I removed the comment to
> use STATIC=1 in the Makefile.  I also copied  META to the installation
> directory.

What is the particular problem that prevents you from compiling the PCRE
as a shared library?

> Now when  try to use it in the toplevel the following happens:
> -------------------------------------
> $ ledit ocaml
>         Objective Caml version 3.04
> # #require "pcre";;
> Loading /usr/local/lib/ocaml/pcre/pcre.cma
> The external function `pcre_exec_wrapper_bc' is not available

This is quite natural: since you haven't compiled the PCRE as a shared
library, the toplevel assumes that every object it needs for it is already
linked statically. This, however, is not the case: you'll have to create
a new toplevel and link it with the PCRE-library then.

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: