From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA05285; Mon, 24 Nov 2003 01:22:01 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA04285 for ; Mon, 24 Nov 2003 01:22:00 +0100 (MET) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hAO0M0103537 for ; Mon, 24 Nov 2003 01:22:00 +0100 (MET) Received: from ntlworld.com ([80.4.69.150]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031124002159.XTRV10421.mta01-svc.ntlworld.com@ntlworld.com> for ; Mon, 24 Nov 2003 00:21:59 +0000 Message-ID: <3FC15079.5030306@ntlworld.com> Date: Mon, 24 Nov 2003 00:27:37 +0000 From: "chris.danx" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Caml Mailing List Subject: [Caml-list] Building camlimages programs on deb (and linux) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ntlworld:99 camlimages:01 camlimages:01 snag:01 dynamically:01 usr:01 ocamlc:01 usr:01 libdir:01 3.07:01 libdir:01 gif:99 xvthumb:01 bin:01 chris:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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