A library used for data compression. Also a crucial component of many software platforms including Linux, Mac OS X, and the iOS. The library is libz and the format is known as zlib. Most questions on this topic are tagged "zlib" not "libz".
Questions tagged [libz]
41 questions
1
vote
1 answer
"libz.so.1: cannot open shared object file: No such file or directory"
I am getting this error as:
apt-get: error while loading shared librarie: libz.so.1:cannot open shared object file: No such file or directory
When trying:
sudo apt-get zlib1g
I'm using a Ubuntu 16.04 os and i can't log into the graphic interface,…
1
vote
2 answers
Linking: Why does linker not honour symlink to library?
I have the following C program:
#include
#include
int main()
{
z_stream strm;
int integer = 0;
scanf("heloworld %d", &integer);
printf("ok\n");
if (integer == 10)
{
strm.zalloc = Z_NULL;
…

Har
- 3,727
- 10
- 41
- 75
1
vote
0 answers
ld cannot find -lz in an empty environment even with LIBRARY_PATH, LD_LIBRARY_PATH and LD_PRELOAD
I am trying to create a conda package that includes c code that have to compile with -lz. However, when the package is building, ld cannot find zlib even though I provide it with any paths possible.
As I understand, conda creates almost empty…

Timofey Prodanov
- 81
- 5
1
vote
1 answer
POCO sample SSL client code is crashing after receiving certificate
My POCO SSL client is keep on crashing for internal server but for "https://www.google.com, https://amazon.com" it's working fine.
For my project I created a POCO client (used POCO sample code). Initially I had few issues on certificate but now they…

vijay sharma
- 131
- 11
1
vote
0 answers
IOKit claims libz.dylib is wrong version, but it isn't
Here is the error:
dyld: Library not loaded: /usr/lib/libz.1.dylib
Referenced from: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
Reason: Incompatible library version: IOKit requires version 1.0.0 or later,
but…

woodenToaster
- 264
- 1
- 4
- 13
1
vote
1 answer
How to update Zlib library on Xcode?
I am trying to update Zlib on Xcode 7.1
According to zlib.h on /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/include, My Zlib version is 1.2.5.
I am trying to update it to 1.2.8
Is there a way to update xcode lib ?
I try to add…

Adrian
- 273
- 1
- 4
- 14
1
vote
2 answers
unable to compile ffmpeg bohr on ubuntu 14.04 32bit
I'm developing an application to capture video from webcam and stream it to Android. I'm using ffmpeg latest release - 2.5.2 "Bohr" on Ubuntu 14.04 32bit and using Eclipse as IDE.
I'm receiving this error when compiling:
g++ -L/usr/local/lib…

CodeHahn
- 279
- 6
- 17
1
vote
1 answer
How to use libz.dylib to unzip zip file?
in my program i have to unzip downloaded file ... i read libz.dylib is used for that but i didn't find any documentation or examples how to do that..?
any one know this...
Thanks in advance....
jeeva
1
vote
2 answers
gzstream lib opening not existing file
I'm trying to use gzstream 1.5 for ios development under xcode 6.1, libz.1.dylib.
This library was written quite long time ago.
I've found that
class igzstream : public gzstreambase, public std::istream
should be
class igzstream : public…

Erdemus
- 2,728
- 2
- 17
- 10
1
vote
1 answer
RAR Decompress on iPhone Device
Has anyone found a solution to decompressing RAR files on iPhone (not Jailbroken)? It would be great if there was a library similar to libz.
I did not find anything official from RARlab.
Anyone successful with integrating unRAR into their app? …

DenVog
- 4,226
- 3
- 43
- 72
0
votes
1 answer
How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake?
I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files required by "cmake" (located in my XCode CommandLine Tools)…
0
votes
1 answer
Which decompression algorithms are safe to use on attacker-supplied buffers?
I want to save network bandwidth by using compression, such as bzip2 or gzip.
Attackers, as well as normal users, may send compressed messages.
Are there sequences of bytes which will cause some decompression functions to become stuck in an infinite…

fadedbee
- 42,671
- 44
- 178
- 308
0
votes
1 answer
libz.tbd, missing required architecture unknown
My project uses libz.tdb in the build phases.
On the simulator, all is well. But when I try to run it on my iPhone 6, I get:
ignoring file…

Nathan H
- 48,033
- 60
- 165
- 247
0
votes
1 answer
Issues with archiving iOS project: libz.dylib not found
I have issues when making an archive from a (legacy) iOS project. While archiving I get the following error:
Libtool…

Steven de Kam
- 1
- 2
0
votes
1 answer
arm-linux-ar: illegal option -- z
when i want to cross-build libz,there is an error accur,and i search with google,but can't find the answer.Please help me.
Also i find a website,but i can't understand this well.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444727
The…

dongdongmian
- 1
- 3