# How do I tell dijitso not to use -L/lib64 when compiling?

I have just gotten fenics installed on our HPC system (see Building from source: mpi4py, petsc4py conflict ). But now, when I try to use it, I get the following error:

dijitso failed to load existing file:
/home/lavery/FENICS/cache/lib/libdijitso-dolfin_expression_ff6f80aab13b1031b3384ba23ce13e6f.so
error is:
libhdf5.so.8: cannot open shared object file: No such file or directory
RuntimeError: Unable to compile C++ code with dijitso

I sort of know what the problem is. libhdf5.so.8 is in lib64. It is not the one I want to use, which is in another directory in my LIBRARY_PATH. Checking the dijitso cache, I find the following log file:

\$ cat \$FENICS/cache/log/dolfin_expression_ff6f80aab13b1031b3384ba23ce13e6f.txt