AvtechScientific / ASL

Advanced Simulation Library - hardware accelerated multiphysics simulation platform.
http://asl.org.il
GNU Affero General Public License v3.0
223 stars 55 forks source link

underlinked shared libraries #13

Closed ghisvail closed 9 years ago

ghisvail commented 9 years ago

On building the binary packages for Debian, dpkg-shlibdeps threw a large amount of warnings related to missing symbols. This is most likely a consequence of underlinkage.

The following build options were used:

        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DBUILD_SHARED_LIBS=ON \
        -DWITH_EXAMPLES=OFF \
        -DWITH_MATIO=ON \
        -DWITH_API_DOC=ON \
        -DWITH_TESTS=ON

And the following warnings were generated:

dpkg-shlibdeps: warning: symbol _ZN3acl12KERNEL_BASICE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase8getQueueEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl24addElementToKernelSourceESt10shared_ptrINS_11ElementBaseEERSt6vectorIS2_SaIS2_EES6_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl12onSameDeviceESt10shared_ptrINS_11ElementBaseEES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl11ElementBaseD2Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase9getTypeIDEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl10isArgumentESt10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl11ElementBaseC2EbjNS_6TypeIDE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl10compatibleEjSt10shared_ptrIN2cl12CommandQueueEES0_INS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase24getAddressSpaceQualifierEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslacloperators.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 8 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIjEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl17getPlatformVendorERKSt10shared_ptrIN2cl12CommandQueueEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl8Hardware15setDefaultQueueERKSsS2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl8Hardware14getDevicesInfoEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIfEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl8hardwareE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIiEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIdEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol clReleaseCommandQueue used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl8Hardware20getDefaultDeviceInfoEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 3 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3asldvERKNS_10TemplateVEES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3aslmlERKNS_10TemplateVEES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl27generateDataContainerACL_SPERKNS_5BlockEN3acl6TypeIDEjjSt10shared_ptrIN2cl12CommandQueueEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVEC1Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3asl9VTObjects13getCellPointsEjRSt6vectorINS_4AVecIdEESaIS3_EE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl8vtObjectEPKNS_14VectorTemplateE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3asl18DataWithGhostNodesIN3acl20VectorOfElementsDataEE13getDContainerEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVEC1ERNS_26AbstractDataWithGhostNodesERKNS_14VectorTemplateEjb used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl18DataWithGhostNodesIN3acl20VectorOfElementsDataEE15getSubContainerEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl25Index2PositionDiscreteACLC1ERKNS_5BlockEb used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnum.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 43 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3acl6Kernel7computeEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl9NumMethodD2Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl5cloneESt10shared_ptrINS_18DataWithGhostNodesIN3acl20VectorOfElementsDataEEEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl16VectorOfElementsC1ERKNS_20VectorOfElementsDataE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol clReleaseContext used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVE8getValueEj used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3aclmlERKNS_16VectorOfElementsES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl19generateVEVariableRIdEENS_16VectorOfElementsERT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl14assignmentSafeERKNS_16VectorOfElementsES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVEC1ERNS_26AbstractDataWithGhostNodesERKNS_14VectorTemplateEjb used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 21 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3acl10isMemBlockESt10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN5boost6system16generic_categoryEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIdEEvSt10shared_ptrINS_11ElementBaseEEPT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase7getSizeEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIiEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl8MemBlock3mapEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIjEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5boost10filesystem4path9extensionEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIiEEvPT_St10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4TYPEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 19 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3acl11ElementBaseD2Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl6Kernel15setGroupsNumberEj used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase9getTypeIDEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl16elementOperators18operatorAssignmentESt10shared_ptrINS_11ElementBaseEES3_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl16elementOperators3absESt10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl16elementOperatorsdvESt10shared_ptrINS_11ElementBaseEES3_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl18generateVEConstantIiEENS_16VectorOfElementsERKN3asl4AVecIT_EE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl25generateVEPrivateVariableEjNS_6TypeIDE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl9TimeStamp6tsTimeE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl11KERNEL_SIMDE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslaclmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 101 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3aclmiIN3asl4AVecIdEEEENS_16VectorOfElementsERKS4_RKT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVE4initERNS_26AbstractDataWithGhostNodesERKNS_14VectorTemplateEjb used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl11interpolateERKNS_10TemplateVEEN3acl16VectorOfElementsE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl20VectorOfElementsDataC1Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3aclplIN3asl4AVecIiEEEENS_16VectorOfElementsERKS4_RKT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3aclplERKNS_16VectorOfElementsES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl10TemplateVEC1Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl6KernelC1ENS_19KernelConfigurationE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIiEEvRSt6vectorIT_SaIS2_EESt10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl12errorMessageEPKc used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 50 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _ZN3asl12errorMessageEPKc used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIiEEvSt10shared_ptrINS_11ElementBaseEEPT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol clReleaseKernel used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase7getSizeEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol clReleaseCommandQueue used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIdEEvSt10shared_ptrINS_11ElementBaseEEPT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl10isMemBlockESt10shared_ptrINS_11ElementBaseEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl4copyIfEEvSt10shared_ptrINS_11ElementBaseEEPT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZTVN3acl6KernelE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK3acl11ElementBase9getTypeIDEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmatio.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 1 similar warning has been skipped (use -v to see it)
dpkg-shlibdeps: warning: symbol _ZN3asl12errorMessageEPKc used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl6selectERKNS_16VectorOfElementsES2_S2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl12errorMessageERKSs used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl12crossProductERKNS_16VectorOfElementsES2_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl14getElementTypeERKNS_16VectorOfElementsEj used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl5subVEERKNS_16VectorOfElementsEj used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl20generateVEVariableSPIdEENS_16VectorOfElementsESt10shared_ptrIT_E used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl19generateVEConstantNIdEENS_16VectorOfElementsEjT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl19KernelConfigurationC1ERKS0_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl18generateVEConstantIiEENS_16VectorOfElementsET_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslmath.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: 68 other similar warnings have been skipped (use -v to see them all)
AvtechScientific commented 9 years ago

I have dpkg-shlibdeps installed. Could you, please, show how exactly do I come to that warnings?

ghisvail commented 9 years ago

This is part of the package build process. AFAIK, this cannot be reproduced outside the package build environment.

The output is self-explanatory though. For instance,

dpkg-shlibdeps: warning: symbol _ZN3aclmiIN3asl4AVecIdEEEENS_16VectorOfElementsERKS4_RKT_ used by debian/libasl0/usr/lib/x86_64-linux-gnu/libasldata.so.0.1.5 found in none of the libraries

libasldata uses VectorOfElements which is provided by libaslmath. However, there is no explicit linkage between both in src/data/CMakeLists.txt.

AvtechScientific commented 9 years ago
  1. I need a way to see the warnings in order to be sure that my changes eliminate the warnings and do not cause more problems.
  2. How do you see from that output that VectorOfElements is provided by libaslmath?
AvtechScientific commented 9 years ago

Maybe fixing this issue will fix the issue #11...

ghisvail commented 9 years ago
  1. Just follow what the messages say.
  2. https://github.com/AvtechScientific/ASL/blob/master/src/data/aslBlocks.h
ghisvail commented 9 years ago

Maybe fixing this issue will fix the issue #11...

This is very likely.

bircoph commented 9 years ago

I can't confirm this bug. Symbols are defined here, e.g.:

$ symlookup -q _ZN3acl12KERNEL_BASICE -p /usr/lib64
/usr/lib64/libaslacl.so.0.1.5:  _ZN3acl12KERNEL_BASICE

And so on.

And I'm not sure this bug is strongly related #11, since #11 can be fixed be manually by fixing order of libraries, as I wrote in one of the comments.

ghisvail commented 9 years ago

with the latest git HEAD:

dpkg-shlibdeps: warning: symbol _ZN5boost6system15system_categoryEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl27generateDataContainerACL_SPERKNS_5BlockEN3acl6TypeIDEjjSt10shared_ptrIN2cl12CommandQueueEE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZNK5boost10filesystem4path9extensionEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl6offsetERKNS_5BlockEi used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN5boost6system16generic_categoryEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl6WriterC2ERKSs used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIjEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIlEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIdEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIiEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIfEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZTIN3asl9NumMethodE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3asl9NumMethodD2Ev used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries

so much less, but still some missing linkage apparently.

ghisvail commented 9 years ago
dpkg-shlibdeps: warning: symbol _ZN5boost6system15system_categoryEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries

This is missing linkage between libaslvtk and libboost_system

ghisvail commented 9 years ago
dpkg-shlibdeps: warning: symbol _ZNK5boost10filesystem4path9extensionEv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries

This is missing linkage between libaslvtk and libboost_filesystem

ghisvail commented 9 years ago

I have some time now, so I might come up with a patch soon if you're patient

ghisvail commented 9 years ago
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIjEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries

So libaslcommon depends on libaslacl

but libaslacl already depends on libaslcommon:

add_library(aslacl ${aslacl_PUBLIC_HEADERS} ${aslacl_SOURCES})
target_link_libraries(aslacl PUBLIC aslcommon ${OpenCL_LIBRARIES})
INSTALL_SUBLIB(aslacl aslacl_PUBLIC_HEADERS)
ghisvail commented 9 years ago
dpkg-shlibdeps: warning: symbol _ZTIN3asl9NumMethodE used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslnumext.so.0.1.5 found in none of the libraries

libaslnumext depends on libaslnum

ghisvail commented 9 years ago
dpkg-shlibdeps: warning: symbol _ZN3asl6offsetERKNS_5BlockEi used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslvtk.so.0.1.5 found in none of the libraries

libaslvtk depends on libasl

ghisvail commented 9 years ago

I managed to reduce this issue to the following warnings:

dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIdEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIlEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIfEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIjEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN3acl9typeToStrIiEERKSsv used by debian/libasl0/usr/lib/x86_64-linux-gnu/libaslcommon.so.0.1.5 found in none of the libraries

which I can't fix trivially due to the cyclic dependency between libaslcommon and libacl, you guys might want to move things around to remove the cycling coupling.

AvtechScientific commented 9 years ago

I hope it is fixed now. Please check.

ghisvail commented 9 years ago

Instead of doing this commit: 0c03aee119148b74976b1af3c3ae8e9744c11a39

It would have been better to first merge my PR (#14) and then fix the remaining cyclic dependency issue. Now, my contribution is gone. This sort of practice may drive external contributions away in the future, myself included.

AvtechScientific commented 9 years ago

I'm sorry, @ghisvail - we'll pay attention to this in the future

AvtechScientific commented 9 years ago

Is it fixed now?