Bug 964350 - ld linker do not found zlib
ld linker do not found zlib
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: zlib (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Peter Schiffer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-17 21:24 EDT by MERCIER Jonathan
Modified: 2013-05-18 07:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-05-18 07:12:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description MERCIER Jonathan 2013-05-17 21:24:08 EDT
Description of problem:
ld linker do not found zlib

when building lc2 for F19 branch the linker do not found zlib while it is ok for f18 ( http://koji.fedoraproject.org/koji/taskinfo?taskID=5394281 )

zlib is into spec file as build require. Into root.log you can see zlib is installed -> http://kojipkgs.fedoraproject.org//work/tasks/4290/5394290/root.log

Full log http://kojipkgs.fedoraproject.org//work/tasks/4290/5394290/build.log

Error:

/usr/bin/c++   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables    -Wl,-z,relro  CMakeFiles/ldmd2.dir/dmd2/root/man.c.o CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o CMakeFiles/ldmd2.dir/driver/response.cpp.o  -o bin/ldmd2 -rdynamic -L/usr/lib/llvm  -lz -lpthread -lffi -ldl -lm /usr/lib/llvm/libLLVMAsmParser.a /usr/lib/llvm/libLLVMTableGen.a /usr/lib/llvm/libLLVMInstrumentation.a /usr/lib/llvm/libLLVMipo.a /usr/lib/llvm/libLLVMVectorize.a /usr/lib/llvm/libLLVMLinker.a /usr/lib/llvm/libLLVMBitWriter.a /usr/lib/llvm/libLLVMX86Disassembler.a /usr/lib/llvm/libLLVMX86AsmParser.a /usr/lib/llvm/libLLVMX86CodeGen.a /usr/lib/llvm/libLLVMX86Desc.a /usr/lib/llvm/libLLVMX86Info.a /usr/lib/llvm/libLLVMX86AsmPrinter.a /usr/lib/llvm/libLLVMX86Utils.a /usr/lib/llvm/libLLVMPowerPCCodeGen.a /usr/lib/llvm/libLLVMPowerPCDesc.a /usr/lib/llvm/libLLVMPowerPCAsmPrinter.a /usr/lib/llvm/libLLVMPowerPCAsmParser.a /usr/lib/llvm/libLLVMPowerPCInfo.a /usr/lib/llvm/libLLVMARMDisassembler.a /usr/lib/llvm/libLLVMARMCodeGen.a /usr/lib/llvm/libLLVMARMAsmParser.a /usr/lib/llvm/libLLVMARMDesc.a /usr/lib/llvm/libLLVMARMInfo.a /usr/lib/llvm/libLLVMARMAsmPrinter.a /usr/lib/llvm/libLLVMCppBackendCodeGen.a /usr/lib/llvm/libLLVMCppBackendInfo.a /usr/lib/llvm/libLLVMNVPTXCodeGen.a /usr/lib/llvm/libLLVMNVPTXDesc.a /usr/lib/llvm/libLLVMNVPTXInfo.a /usr/lib/llvm/libLLVMNVPTXAsmPrinter.a /usr/lib/llvm/libLLVMSystemZCodeGen.a /usr/lib/llvm/libLLVMSystemZAsmParser.a /usr/lib/llvm/libLLVMSystemZDesc.a /usr/lib/llvm/libLLVMSystemZInfo.a /usr/lib/llvm/libLLVMSystemZAsmPrinter.a /usr/lib/llvm/libLLVMR600CodeGen.a /usr/lib/llvm/libLLVMSelectionDAG.a /usr/lib/llvm/libLLVMAsmPrinter.a /usr/lib/llvm/libLLVMMCParser.a /usr/lib/llvm/libLLVMCodeGen.a /usr/lib/llvm/libLLVMObjCARCOpts.a /usr/lib/llvm/libLLVMScalarOpts.a /usr/lib/llvm/libLLVMInstCombine.a /usr/lib/llvm/libLLVMTransformUtils.a /usr/lib/llvm/libLLVMipa.a /usr/lib/llvm/libLLVMAnalysis.a /usr/lib/llvm/libLLVMTarget.a /usr/lib/llvm/libLLVMCore.a /usr/lib/llvm/libLLVMR600Desc.a /usr/lib/llvm/libLLVMR600Info.a /usr/lib/llvm/libLLVMR600AsmPrinter.a /usr/lib/llvm/libLLVMMC.a /usr/lib/llvm/libLLVMObject.a /usr/lib/llvm/libLLVMSupport.a -L/usr/lib/llvm  -lz -lpthread -lffi -ldl -lm 
/usr/bin/ld: cannot find -lz
Comment 1 MERCIER Jonathan 2013-05-18 07:12:12 EDT
put zlib-devel as build require  fix my issue

Note You need to log in before you can comment on or make changes to this bug.