Skip to content

libcommon_clang.so won't exist in runtime package #81

@dvrogozh

Description

@dvrogozh

CCModule.pModule = dlopen(CCModule.pModuleName, RTLD_NOW | RTLD_DEEPBIND);

@paigeale, @iwwu : I just realized that IGC loads "libcommon_clang.so" exactly as I wrote it. The problem is that this is linker name and it will be packaged into development package, i.e. in something called like igc-devel.rpm while libcommon_clang.so.8 (if you build against LLVM-8) will be packaged into runtime package igc.rpm. So, we might face the situation when user will install some application which requires igc, hence it will install igc.rpm as a dependency, but he will miss igc-devel.rpm, hence he will miss libcommon_clang.so entirely.

Thus, I think we need to implement one of the following solutions:

  1. Either load libcommon_clang.so.${LLVM_MAJOR_VERSION}
  2. Or simply link against common_clang as suggested in question: will it make sense to link against common_clang rather than load it? #71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions