Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: "Yaron M. Minsky" <yminsky@CS.Cornell.EDU>
Cc: Caml List  <caml-list@inria.fr>
Subject: Re: [Caml-list] lacaml and redhat 8.0
Date: Fri, 17 Jan 2003 17:00:11 +0100	[thread overview]
Message-ID: <20030117160011.GA16472@kiefer.ai.univie.ac.at> (raw)
In-Reply-To: <54152.141.155.88.179.1042814543.squirrel@minsky-primus.homeip.net>

On Fri, 17 Jan 2003, Yaron M. Minsky wrote:
> Has anyone had any luck installing lacaml on RH 8.0?   I've been trying to
> install using the stock LAPACK, BLAS and F2C, and have been running into
> trouble.  First of all, RH 8.0 doesn't include libf2c.a --- it only
> include libg2c, and then only the .so version, not the .a version.  I
> tried linking against the libg2c.a supplied in the g77-compat library, and
> it seemed to work.  But then when I tried actually using lacaml, I hit
> this:
[snip]
> # #require "lacaml";;
> Loading /usr/lib/ocaml/bigarray.cma
> Loading /usr/lib/ocaml/site-lib/lacaml/lacaml.cma
> The external function `lacaml_Sssqr_diff_wrapper_bc' is not available

That's easily explained: Lacaml requires static linking of the
C-libraries, because it has to fiddle around with objects contained in
them, which isn't possible with shared libraries. Thus, you will have to
build a custom toplevel that is (implicitly) linked against the modified
static libraries:

  ocamlfind ocamlmktop -o mytop -package lacaml bigarray.cma lacaml.cma

Executing this custom toplevel (it's _huge_!) and typing in your code
should work without problems...

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2003-01-17 16:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 14:42 Yaron M. Minsky
2003-01-17 16:00 ` Markus Mottl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030117160011.GA16472@kiefer.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=yminsky@CS.Cornell.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox