caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: John Max Skaller <skaller@ozemail.com.au>
Cc: Xavier Leroy <xavier.leroy@inria.fr>,
	Hans Ole Rafaelsen <hansr@cs.uit.no>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)
Date: Tue, 30 Jul 2002 18:18:19 +0200	[thread overview]
Message-ID: <20020730161819.GB713@iliana> (raw)
In-Reply-To: <3D46ABE4.5080703@ozemail.com.au>

On Wed, Jul 31, 2002 at 01:08:20AM +1000, John Max Skaller wrote:
> Xavier Leroy wrote:
> 
> >>I just installed ocaml-3.05.  Compiling and installation worked
> >>without any complains.  However, I am having problems linking with
> >>dynamic libraries.
> >>
> >>hansr [4] [11:29] [~] ocamlmktop -o mytop nums.cma
> >>Error on dynamically loaded library: /usr/local/lib/ocaml/dllnums.so: 
> >>undefined symbol: custom_compare_default
> >>
> >
> >On a fresh 3.05 install, dllnums.so should be loaded from 
> >lib/ocaml/stublibs
> >rather than lib/ocaml.  I conjecture you have old files lying around
> >in /usr/local/lib/ocaml.  Try "rm -rf /usr/local/lib/ocaml" before
> >installing OCaml 3.05.
> >
> Can I suggest that the directory:
> 
>    /usr/local/lib/ocaml_3.05/
> 
> might be a better default name? In switching versions around, having to 
> reinstall

Is this not configurable ? I guess yes, and you can easily use one of
the configuration options to have ocaml installed in ocaml_3.05 (libdir,
i think it is, but you could also use prefix /usr/local/ocaml_3.05 i
think).

Friendly,

Sven Luther
-------------------
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:[~2002-07-30 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30  9:45 Hans Ole Rafaelsen
2002-07-30  9:56 ` Xavier Leroy
2002-07-30 15:08   ` John Max Skaller
2002-07-30 16:18     ` Sven LUTHER [this message]
2002-08-01 15:03       ` John Max Skaller
2002-08-01 16:00         ` Sven LUTHER

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=20020730161819.GB713@iliana \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    --cc=hansr@cs.uit.no \
    --cc=skaller@ozemail.com.au \
    --cc=xavier.leroy@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).