caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Building camlimages programs on deb (and linux)
@ 2003-11-24  0:27 chris.danx
  2003-11-24  1:08 ` Issac Trotts
  0 siblings, 1 reply; 9+ messages in thread
From: chris.danx @ 2003-11-24  0:27 UTC (permalink / raw)
  To: Caml Mailing List

Hi,

I'm in the process of making a script to build programs with camlimages
easier but have hit a snag linking... the output is

Error on dynamically loaded library: /usr/X11R6/lib/libXpm.so.4:
undefined symbol: XDefaultScreen

Does anyone else get this problem?

ocamlc `camlimages-config` monochrome.ml -cclib "-L/usr/X11R6/lib -lXpm
-lpng -lfreetype -lz -ljpeg -gif"


camlimages-config is simply

#!/bin/sh

LIBDIR=/usr/lib/ocaml/3.07/camlimages

echo -I $LIBDIR ci_core.cma ci_gif.cma ci_jpeg.cma ci_tiff.cma
ci_xpm.cma ci_bmp.cma ci_ppm.cma ci_png.cma ci_ps.cma ci_xvthumb.cma


-------------------
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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <D4DBD8568F05D511A1C20002A55C008C11AC0796@uswaumsx03medge.med.ge.com>]

end of thread, other threads:[~2003-11-25 10:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-24  0:27 [Caml-list] Building camlimages programs on deb (and linux) chris.danx
2003-11-24  1:08 ` Issac Trotts
2003-11-24 17:34   ` chris.danx
2003-11-24 18:50     ` Matt Gushee
2003-11-24 19:10       ` chris.danx
     [not found] <D4DBD8568F05D511A1C20002A55C008C11AC0796@uswaumsx03medge.med.ge.com>
2003-11-24 18:48 ` chris.danx
2003-11-24 20:46   ` Jun.Furuse
2003-11-24 23:02     ` chris.danx
2003-11-25 10:42       ` Jun.Furuse

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).