git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing shared libraries in libclang-5.0-dev?



On 05/08/2018 04:45 PM, Gianfranco Costamagna wrote:
> Hello,
> 
> are you missing some -Lusr/lib/llvm-5.0 CFLAG?
> 
> libraries should be all in their place
> 
> G.
> 

Buona sera Gianfranco,

I link with -L/usr/lib/llvm-5.0/lib , but most of the shared libraries are not there, only the .a static libraries are there.

For example for libLLVMMCDisassembler.a, there is no corresponding libLLVMMCDisassembler.so ...

I rebuilt the package from source code using the BUILD_SHARED_LIBS set to ON,
and that produced the .so files for me.

Thanks,

Claudio


$ ls /usr/lib/llvm-5.0/lib
BugpointPasses.so	      libLLVMMCJIT.a
clang			      libLLVMMCParser.a
cmake			      libLLVMMipsAsmParser.a
libLLVM-5.0.0.so	      libLLVMMipsAsmPrinter.a
libLLVM-5.0.0.so.1	      libLLVMMipsCodeGen.a
libLLVM-5.0.so		      libLLVMMipsDesc.a
libLLVM-5.0.so.1	      libLLVMMipsDisassembler.a
libLLVMAArch64AsmParser.a     libLLVMMipsInfo.a
libLLVMAArch64AsmPrinter.a    libLLVMMIRParser.a
libLLVMAArch64CodeGen.a       libLLVMMSP430AsmPrinter.a
libLLVMAArch64Desc.a	      libLLVMMSP430CodeGen.a
libLLVMAArch64Disassembler.a  libLLVMMSP430Desc.a
libLLVMAArch64Info.a	      libLLVMMSP430Info.a
libLLVMAArch64Utils.a	      libLLVMNVPTXAsmPrinter.a
libLLVMAMDGPUAsmParser.a      libLLVMNVPTXCodeGen.a
libLLVMAMDGPUAsmPrinter.a     libLLVMNVPTXDesc.a
libLLVMAMDGPUCodeGen.a	      libLLVMNVPTXInfo.a
libLLVMAMDGPUDesc.a	      libLLVMObjCARCOpts.a
libLLVMAMDGPUDisassembler.a   libLLVMObject.a
libLLVMAMDGPUInfo.a	      libLLVMObjectYAML.a
libLLVMAMDGPUUtils.a	      libLLVMOption.a
libLLVMAnalysis.a	      libLLVMOrcJIT.a
libLLVMARMAsmParser.a	      libLLVMPasses.a
libLLVMARMAsmPrinter.a	      libLLVMPowerPCAsmParser.a
libLLVMARMCodeGen.a	      libLLVMPowerPCAsmPrinter.a
libLLVMARMDesc.a	      libLLVMPowerPCCodeGen.a
libLLVMARMDisassembler.a      libLLVMPowerPCDesc.a
libLLVMARMInfo.a	      libLLVMPowerPCDisassembler.a
libLLVMAsmParser.a	      libLLVMPowerPCInfo.a
libLLVMAsmPrinter.a	      libLLVMProfileData.a
libLLVMBinaryFormat.a	      libLLVMRuntimeDyld.a
libLLVMBitReader.a	      libLLVMScalarOpts.a
libLLVMBitWriter.a	      libLLVMSelectionDAG.a
libLLVMBPFAsmPrinter.a	      libLLVM.so
libLLVMBPFCodeGen.a	      libLLVMSparcAsmParser.a
libLLVMBPFDesc.a	      libLLVMSparcAsmPrinter.a
libLLVMBPFDisassembler.a      libLLVMSparcCodeGen.a
libLLVMBPFInfo.a	      libLLVMSparcDesc.a
libLLVMCodeGen.a	      libLLVMSparcDisassembler.a
libLLVMCore.a		      libLLVMSparcInfo.a
libLLVMCoroutines.a	      libLLVMSupport.a
libLLVMCoverage.a	      libLLVMSymbolize.a
libLLVMDebugInfoCodeView.a    libLLVMSystemZAsmParser.a
libLLVMDebugInfoDWARF.a       libLLVMSystemZAsmPrinter.a
libLLVMDebugInfoMSF.a	      libLLVMSystemZCodeGen.a
libLLVMDebugInfoPDB.a	      libLLVMSystemZDesc.a
libLLVMDemangle.a	      libLLVMSystemZDisassembler.a
libLLVMDlltoolDriver.a	      libLLVMSystemZInfo.a
libLLVMExecutionEngine.a      libLLVMTableGen.a
libLLVMGlobalISel.a	      libLLVMTarget.a
libLLVMHexagonAsmParser.a     libLLVMTransformUtils.a
libLLVMHexagonCodeGen.a       libLLVMVectorize.a
libLLVMHexagonDesc.a	      libLLVMX86AsmParser.a
libLLVMHexagonDisassembler.a  libLLVMX86AsmPrinter.a
libLLVMHexagonInfo.a	      libLLVMX86CodeGen.a
libLLVMInstCombine.a	      libLLVMX86Desc.a
libLLVMInstrumentation.a      libLLVMX86Disassembler.a
libLLVMInterpreter.a	      libLLVMX86Info.a
libLLVMipo.a		      libLLVMX86Utils.a
libLLVMIRReader.a	      libLLVMXCoreAsmPrinter.a
libLLVMLanaiAsmParser.a       libLLVMXCoreCodeGen.a
libLLVMLanaiAsmPrinter.a      libLLVMXCoreDesc.a
libLLVMLanaiCodeGen.a	      libLLVMXCoreDisassembler.a
libLLVMLanaiDesc.a	      libLLVMXCoreInfo.a
libLLVMLanaiDisassembler.a    libLLVMXRay.a
libLLVMLanaiInfo.a	      libLTO.so
libLLVMLibDriver.a	      libLTO.so.5
libLLVMLineEditor.a	      libLTO.so.5.0.0
libLLVMLinker.a		      LLVMgold.so
libLLVMLTO.a		      LLVMHello.so
libLLVMMC.a		      LLVMPolly.so
libLLVMMCDisassembler.a