caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: pronnquist@yahoo.com
Cc: caml-list@inria.fr
Subject: Re: compilation of lablgl examples.
Date: Tue, 06 Feb 2001 11:34:16 +0900	[thread overview]
Message-ID: <20010206113416M.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <20010203223536.8834.qmail@web1301.mail.yahoo.com>

From: Peter Ronnquist <pronnquist@yahoo.com>

> I have a problem with compiling the laglgl examples. I
> can run them with the top level:
> lablgl -labels simple.ml
> 
> but 
> 
> ocamlc -I /usr/lib/ocaml/labltk  -I 
> /usr/lib/ocaml/lablGL -I /usr/lib/labltk.cma
> lablgl.cma togl.cmo simple.ml -o program
> 
> gives the following output:
> /usr/bin/ld: cannot find -ltk8.0
> collect2: ld returned 1 exit status
> Error while building custom runtime system
> 
> I have libtk8.0.so.1 in /usr/lib
> so I guess that the library really should be found,
> also the fact that the toplevel works seems to support
> that this library indeed is existing and usable.

At link time you also need a symbolic link libtk8.0.so -> libtk8.0.so.1.
Is it there?
Did you compile lablgl yourself, and how di you modify the Makefile?
The only reason I see is that you would have used a package which
only requires the runtime of tcltk, and not the developper
environment.

Jacques Garrigue
---------------------------------------------------------------------------
Jacques Garrigue      Kyoto University     garrigue at kurims.kyoto-u.ac.jp
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>



  parent reply	other threads:[~2001-02-06 16:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-03 22:35 Peter Ronnquist
2001-02-05 17:41 ` John Max Skaller
2001-02-06 15:55   ` Pierre Weis
2001-02-07  1:28     ` John Max Skaller
2001-02-07 22:02       ` Pierre Weis
2001-02-08  5:55         ` Patrick M Doane
2001-02-08 16:33         ` John Max Skaller
2001-02-08 19:15           ` Pierre Weis
2001-02-08  2:06       ` Jacques Garrigue
2001-02-06  2:34 ` Jacques Garrigue [this message]
2001-02-06 18:00   ` Sven LUTHER
2001-02-07 12:09   ` Peter Ronnquist
2001-02-08  7:22     ` Sven

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=20010206113416M.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=caml-list@inria.fr \
    --cc=pronnquist@yahoo.com \
    /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).