* Re: incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)
@ 2006-03-07 10:32 Hugues Leroy
0 siblings, 0 replies; 2+ messages in thread
From: Hugues Leroy @ 2006-03-07 10:32 UTC (permalink / raw)
To: caml-list
Hi
Under ubuntu/debian default libs are 64 bits : directories lib and lib64
are linked together, and there is a lib32 directory.
But under Redhat4 we have only these two different directories : lib and
lib64
So in order to avoid incompatible libs used if you
configure with : ./configure
Just add:
-x11lib /usr/X11R6/lib64
or tell your admin to mv lib lib32, mv lib64 lib, ln -s lib lib64 :-)
--
Hugues Leroy // Inria Rennes
Projet Symbiose, Plate-forme bioinformatique Ouest-genopole
http://www.genouest.org
et Service ASCII (Applications SCIentifiques et transfert Industriel)
tel : +33 2 99 84 74 17 / fax : +33 2 99 84 71 71
^ permalink raw reply [flat|nested] 2+ messages in thread
* incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)
@ 2006-02-23 17:02 Hugues Leroy
0 siblings, 0 replies; 2+ messages in thread
From: Hugues Leroy @ 2006-02-23 17:02 UTC (permalink / raw)
To: Caml-list
Hi
i have this (OS =Red Hat Enterprise Linux AS release 4 Update 2,
compiler = gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
config: ./configure -prefix /local/ocaml/3.09.1)
make[1]: Entering directory
`/automount/gfs/symbiose/hleroy/ocaml-3.09.1/otherlibs/graph'
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o open.o open.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o draw.o draw.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o fill.o fill.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o color.o color.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o text.o text.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o image.o image.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o make_img.o make_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o dump_img.o dump_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o point_col.o point_col.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o sound.o sound.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o events.o events.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
-fPIC -c -o subwindow.o subwindow.c
../../boot/ocamlrun ../../tools/ocamlmklib -o graphics open.o draw.o
fill.o color.o text.o image.o make_img.o dump_img.o point_col.o sound.o
events.o subwindow.o -L/usr/X11R6/lib -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when
searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when
searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [libgraphics.a] Error 2
make[1]: Leaving directory
`/automount/gfs/symbiose/hleroy/ocaml-3.09.1/otherlibs/graph'
make: *** [otherlibraries] Error 2
--
Hugues Leroy // Inria Rennes
Projet Symbiose et Plate-forme bio-informatique d'OUEST-genopole
http://www.genouest.org
+ Service ASCII (Applications SCIentifiques et transfert Industriel)
tel : +33 2 99 84 74 17 / fax : +33 2 99 84 71 71
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-07 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 10:32 incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box) Hugues Leroy
-- strict thread matches above, loose matches on Subject: below --
2006-02-23 17:02 Hugues Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox