The Developer's Library for D
 About Wiki Forums Source Search Contact

# Symbol undefined compiling the zip library

Moderators: kris

### Posted: 06/03/08 09:01:34

I get symbol undefined errors when trying to use the zip library:

```.\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
Error 42: Symbol Undefined _inflateEnd
.\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
Error 42: Symbol Undefined _inflate
.\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
Error 42: Symbol Undefined _deflateEnd
.\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
Error 42: Symbol Undefined _deflate
.\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
Error 42: Symbol Undefined _inflateInit2_
.\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
Error 42: Symbol Undefined _deflateInit2_
--- errorlevel 6
```

I see these functions are defined in zlib.d, so I don't know why I get these errors. But I cannot find any body for the functions. Do I need an external library?

I'm using tango rev.3542 and dmd 1.030.

Message

### Posted: 06/03/08 09:09:26

Never mind, I found zlib.lib in the binary distribution.