[visit-users] Help! Build failed due to missing -lXinerama

Jonathan Smith jonathan.smith at txcorp.co.uk
Wed Mar 3 04:48:29 EST 2010


Hi,

It seems the build_visit script is assuming it will be able to find
-lXinerama on the cluster on which I am trying to build it. As a result
libqt doesn't build, failing with 

/usr/bin/ld: cannot find -lXinerama
collect2: ld returned 1 exit status
make[1]: *** [../lib/libqt.so.3.3.8] Error 1

There is a qt already on the system, so I can try running with that, but
it's a bit crazy. I've built quite a few things parallel, so I think the
configuration is pretty sane. I should maybe note, I'm building this as
a user rather than root.

I have already tried setting LD_LIBRARY_PATH to include /usr/lib64, in
case for some obscure reason it wasn't using it for that reason, but it
should be there.

-bash-3.2$ locate libXinerama.so
/install/RAMDISK/x86_64-redhat-linux2_6/system/usr/lib64/libXinerama.so.1
/install/RAMDISK/x86_64-redhat-linux2_6/system/usr/lib64/libXinerama.so.1.0.0
/node/x86_64-redhat-linux2_6/usr/lib64/libXinerama.so.1
/node/x86_64-redhat-linux2_6/usr/lib64/libXinerama.so.1.0.0
/usr/lib/libXinerama.so.1
/usr/lib/libXinerama.so.1.0.0
/usr/lib64/libXinerama.so.1
/usr/lib64/libXinerama.so.1.0.0

Complete build_visit_log attached.

I am going to try switching off building of QT, hoping that there is a
QT3.3 on there already that will work.

Jonny Smith
Tech-X UK Ltd.



More information about the visit-users mailing list