[cgma-dev] Opencascade directory missing from link line
Iulian Grindeanu
iulian at mcs.anl.gov
Sun Dec 1 10:43:03 CST 2013
Hi Jed,
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.
Thanks,
Iulian
----- Original Message -----
| ../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=
| The link line below attempts -lTKernel, but does not use any linker
| flags for /opt/opencascade/lib.
| Making all in util
| make[2]: Entering directory '/home/jed/src/cgm/bompi-occ/util'
| /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
| 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
| /usr/bin/ld: cannot find -lTKernel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20131201/0c10c100/attachment.html>
More information about the cgma-dev
mailing list