Fatal Error Zlib.h No Such File Or Directory Ubuntu
Contents |
was trying to compile and install a minecraft mapper with the program "make". I navigated to the directory in terminal and ran make. It found the make file zlib.h no such file or directory centos and begins to work, then spits an error and stops. To be specific,
Fatal Error: Zlib.h: No Such File Or Directory Centos
this was the error: cats4gold@computer:~/Downloads/cartograph-linux$ make make -C src/ make[1]: Entering directory `/home/cats4gold/Downloads/cartograph-linux/src' g++ -c -pipe -O2 -Wall main.cpp
Zlib.h Missing Ubuntu
-o main.o In file included from main.cpp:16: Level.h:8: fatal error: zlib.h: No such file or directory compilation terminated. make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/home/cats4gold/Downloads/cartograph-linux/src' make: *** [default] Error 2
Zlib.h Missing Windows
cats4gold@computer:~/Downloads/cartograph-linux$ It just looks like a missing directory, but I was just making sure this was all. Thanks in advance. mr_luksomNovember 20th, 2010, 04:20 AMHave you got the 'build-essential' package? sudo apt-get install build-essential You should have this before compiling. SeijiSenseiNovember 20th, 2010, 04:21 AMNo, it can't find the zlib.h header file; zlib provides support for the gzip compression algorithm. I'm going to guess that zlib.h download you don't have the kernel-headers installed; that's where zlib.h lives in my installation. The package name depends on your version of Ubuntu. Try running "dpkg -s linux-headers-$(uname -r)" to see if you have the headers installed. If not, then use "sudo apt-get install linux-headers-$(uname -r)" to get them. cats4goldNovember 20th, 2010, 04:23 AMNo, it can't find the zlib.h header file; zlib provides support for the gzip compression algorithm. I'm going to guess that you don't have the kernel-headers installed; that's where zlib.h lives in my installation. The package name depends on your version of Ubuntu. Try running "dpkg -s linux-headers-$(uname -r)" to see if you have the headers installed. If not, then use "sudo apt-get install linux-headers-$(uname -r)" to get them.Status: install ok installed Have you got the 'build-essential' package? sudo apt-get install build-essential You should have this before compiling. build-essential is already the newest version. cats4goldNovember 20th, 2010, 04:43 AMNo, it can't find the zlib.h header file; zlib provides support for the gzip compression algorithm. I'm going to guess that you don't have the kernel-headers installed; that's where zlib.h lives in my installation. The package name depends on your versi
Sign in Pricing Blog Support Search GitHub This repository Watch 123 Star 730 Fork 162 dtrace4linux/linux Code #include zlib h compilation terminated Issues 68 Pull requests 5 Projects 0 Wiki Pulse Graphs New error: missing liblzma header files issue fatal error: zlib.h: No such file or directory #81 Open akshah123 opened this Issue Apr zlib.h no such file or directory fedora 5, 2014 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants akshah123 commented Apr https://ubuntuforums.org/archive/index.php/t-1626112.html 5, 2014 I am getting fatal error: zlib.h: No such file or directory on make all step. Here is the a bit more detailed output BUILD_DIR=build-3.5.0-46-generic tools/build.pl build-3.5.0-46-generic `uname -m` tools/check_dep.pl tools/mkport.pl /usr/bin/ld: cannot find -ldw collect2: error: ld returned 1 exit status tools/libgcc.pl tools/mksyscall.pl Processing (32): /lib/modules/3.5.0-46-generic/build/arch/x86/include/generated/asm/unistd_32.h Creating: build-3.5.0-46-generic/driver/syscalls-x86.tbl - 346 entries https://github.com/dtrace4linux/linux/issues/81 Processing (64): /lib/modules/3.5.0-46-generic/build/arch/x86/include/generated/asm/unistd_64.h Creating: build-3.5.0-46-generic/driver/syscalls-x86-64.tbl - 313 entries make all0 cd tests ; make --no-print-directory case `uname -m` in \ x86_64) \ cc -m64 -g -o ../build-3.5.0-46-generic/sys64 syscalls.c ; \ cc -m32 -g -o ../build-3.5.0-46-generic/sys32 syscalls.c || true ; \ ;; \ i686) \ cc -m32 -g -o ../build-3.5.0-46-generic/sys32 syscalls.c ; \ ;; \ arm*) \ cc -g -o ../build-3.5.0-46-generic/sys32 syscalls.c ; \ ;; \ esac cd libctf ; make --no-print-directory gcc -g -I../common -I../common/ctf -I../uts/common/ -I../common/ctf -I. -I../linux -DCTF_OLD_VERSIONS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -c uncompress.c uncompress.c:9:20: fatal error: zlib.h: No such file or directory compilation terminated. make[2]: *** [../build-3.5.0-46-generic/libctf.a(uncompress.o)] Error 1 make[1]: *** [do_cmds] Error 2 tools/bug.sh make: *** [all] Error 1 akshah123 commented Apr 5, 2014 Also, here is the output from running dependency step before this. I should also mention I am using ubuntu 12.10 Reading package lists... Done Building dependency tree Reading state information... Done bison is already the newest version. flex is already th
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies http://stackoverflow.com/questions/18148075/compilation-error-missing-zlib-h of this site About Us Learn more about Stack Overflow the company Business http://www.cfd-online.com/Forums/openfoam-installation/118558-how-solve-zlib-h-missing-problem-without-root-right.html Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: no such Sign up Compilation error - missing zlib.h up vote 6 down vote favorite 1 I am trying to compile software on Blue Gene Q using IBM XL compilers and I got this error message: "iostreams/zlib.cpp", line 19.10: 1540-0836 (S) The #include file "zlib.h" is not found. make[3]: *** [zlib.o] Error 1 I have installed a new version of zlib and updated LD_LIBRARY_PATH with no such file $HOME/zlib/include Am I missing something? compilation compiler-errors ibm zlib share|improve this question edited Aug 9 '13 at 13:51 d-stroyer 1,6212824 asked Aug 9 '13 at 13:42 didymos 1031410 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted You're missing to set the include path to where you put the zlib header files. Setting the LD_LIBRARY_PATH environment variable is for dynamic linking of shared objects (DLLs, that is the files ending with .so). Most compilers have an option -I to add include paths to search. And you probably want to use -L to tell the compiler where to find the library to link with, and use -l to tell the compiler to link with zlib. E.g. $ c++ -I$HOME/zlib/include some_file.cpp -L$HOME/zlib/lib -lz share|improve this answer edited Aug 9 '13 at 13:59 answered Aug 9 '13 at 13:44 Joachim Pileborg 211k15141249 add a comment| up vote 5 down vote You are missing zlib.h header file, on Linux install it via: sudo apt-get install libz-dev This will provide the development support files for a library implementing the deflate compression method found i
FIRE CD-adapco STAR-CCM+ STAR-CD CONVERGE FloEFD & FloTHERM FLOW-3D NUMECA OpenFOAM News & Announcements Installation Meshing Pre-Processing Solving Post-Processing Programming Verification & Validation Bugs Phoenics SU2 News & Announcements Installation Shape Design Pre-processors ANSA enGrid GridPro Pointwise Post-Processors EnSight FieldView ParaView Tecplot Special Topics Mesh Generation Visualization CFD Online Community Site News Site Help & Discussions CFD-Wiki Wiki Introduction Recent Changes Reference Section Fluid Dynamics Turbulence Modeling Numerical Methods Meshing Special Topics Aero-Acoustics Combustion Parallel Computing Turbulence Application Areas Aerospace Automotive Turbomachinery Best Practice Guides Automotive CFD Turbomachiney CFD Heat Transfer CFD Validation Cases Codes Source Code Archive FAQ's Ansys CD-adapco CHAM Fluent Numeca History of CFD About CFD-Wiki Help FAQ Getting Started Community Portal Donate Texts Donated Texts Links What's New Introduction Modeling & Numerics Turbulence Combustion Discretization Schemes Solvers Multigrid Methods Finite Element Methods Cartesian Methods / AMR Numerial Analysis Mesh Generation General Resources Selected Projects Companies Programming & Dev. Data Formats Software Libraries Numerical Software Parallel Computing General Sites Software Fluid Dynamics Mesh Generation Visualization Commercial CFD Codes Hardware Benchmarks News and Reviews Hardware Vendors Clusters GPGPU Misc References Validation Cases Airfoils Material Properties Glossaries Finding Documents Preprints Online Papers & Reports Books Journals Publishers Online Tools Unit Converters Calculators y+ Estimation Compressible Flow Heat Transfer Airfoil Generators Simple Cases Combustion Cycles & Processes Online Books & Guides CFD Introductions Books Best Practice Guidelines Fluid & Aero Dynamics Seminars Encyclopedias Social Media Discussion Forums Blogs Twitter YouTube Facebook LinkedIn Usenet Newsgroups Mailing Lists Chats News Education CFD Programmes Online Labs Online Courses Course Material Jobs CFD Job Resources Companies & Orgs. General Resources Events Event Calendars Specific Organizations Vendor Events Lists Misc Pictures and Movies Fun Links to Links Suggest New Link About this Section Jobs Post Job Ad List All Jo