<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Jed,<br>We recommend using the LD_LIBRARY_PATH; (I know many hate it, especially because of interaction with autotools). Do you recommend a better solution? For building against cubit we have the same suggestion for the user.<br><br>Thanks,<br>Iulian<br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">../configure --prefix=/home/jed/usr/itaps-ompi --enable-debug --enable-shared --disable-fortran --with-mpi --with-occ=/opt/opencascade CC=mpicc CXX=mpicxx FC= F77=<br><br>The link line below attempts -lTKernel, but does not use any linker flags for /opt/opencascade/lib.<br><br>Making all in util<br>make[2]: Entering directory '/home/jed/src/cgm/bompi-occ/util'<br>/bin/sh ../libtool --tag=CXX --mode=link mpicxx -Wall -pipe -pedantic -g -o libcubit_util.la -rpath /home/jed/usr/itaps-ompi/lib AllocMemManagersList.lo AppUtil.lo ArrayBasedContainer.lo CpuTimer.lo Cubit2DPoint.lo CubitBox.lo CubitCollection.lo CubitContainer.lo CubitCoordinateSystem.lo CubitDynamicLoader.lo CubitEntity.lo CubitEventDispatcher.lo CubitFile.lo CubitFileFEModel.lo CubitFileIOWrapper.lo CubitFileMetaData.lo CubitFileSimModel.lo CubitFileUtil.lo CubitMatrix.lo CubitMessage.lo CubitObservable.lo CubitObserver.lo CubitPlane.lo CubitSparseMatrix.lo CubitStack.lo CubitString.lo CubitTransformMatrix.lo CubitUndo.lo CubitUtil.lo CubitVector.lo DIntArray.lo DLList.lo DynamicArray.lo GMem.lo GetLongOpt.lo GfxDebug.lo IntersectionTool.lo MemoryBlock.lo MemoryManager.lo ParamCubitPlane.lo PlanarParamTool.lo Queue.lo RandomMersenne.lo SDLList.lo SettingHandler.lo SettingHolder.lo StubProgressTool.lo TDUPtr.lo TextProgressTool.lo ToolData.lo ToolDataUser.lo Tree.lo TtyProgressTool.lo GlobalCommandFeedback.lo CubitProcess.lo CubitInstrumentation.lo -ldl -lTKernel -lm<br>libtool: link: mpicxx -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbeginS.o .libs/AllocMemManagersList.o .libs/AppUtil.o .libs/ArrayBasedContainer.o .libs/CpuTimer.o .libs/Cubit2DPoint.o .libs/CubitBox.o .libs/CubitCollection.o .libs/CubitContainer.o .libs/CubitCoordinateSystem.o .libs/CubitDynamicLoader.o .libs/CubitEntity.o .libs/CubitEventDispatcher.o .libs/CubitFile.o .libs/CubitFileFEModel.o .libs/CubitFileIOWrapper.o .libs/CubitFileMetaData.o .libs/CubitFileSimModel.o .libs/CubitFileUtil.o .libs/CubitMatrix.o .libs/CubitMessage.o .libs/CubitObservable.o .libs/CubitObserver.o .libs/CubitPlane.o .libs/CubitSparseMatrix.o .libs/CubitStack.o .libs/CubitString.o .libs/CubitTransformMatrix.o .libs/CubitUndo.o .libs/CubitUtil.o .libs/CubitVector.o .libs/DIntArray.o .libs/DLList.o .libs/DynamicArray.o .libs/GMem.o .libs/GetLongOpt.o .libs/GfxDebug.o .libs/IntersectionTool.o .libs/MemoryBlock.o .libs/MemoryManager.o .libs/ParamCubitPlane.o .libs/PlanarParamTool.o .libs/Queue.o .libs/RandomMersenne.o .libs/SDLList.o .libs/SettingHandler.o .libs/SettingHolder.o .libs/StubProgressTool.o .libs/TDUPtr.o .libs/TextProgressTool.o .libs/ToolData.o .libs/ToolDataUser.o .libs/Tree.o .libs/TtyProgressTool.o .libs/GlobalCommandFeedback.o .libs/CubitProcess.o .libs/CubitInstrumentation.o -lTKernel -L/usr/lib/openmpi -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. -lmpi_cxx -lmpi -ldl -lhwloc -lstdc++ -lm -lpthread -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o -Wl,-soname -Wl,libcubit_util.so.0 -o .libs/libcubit_util.so.0.0.0<br>/usr/bin/ld: cannot find -lTKernel<br></blockquote><br></div></body></html>