Forum: NGINX nginx with broken library zlib1g-dev for SSL on Debian 40r6

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mongeta 9. (Guest)
on 2009-01-31 13:55

I've had installed nginx on OS X without any problem, but I'm totally
lost trying to install it on a Debain 40r6 on i386

The Kernel is:
debian:/tmp/nginx-0.6.35# uname -r

I don't know how to install the zlib1g-dev, as I want nginx with ssl on.

No matter if I install all the libraries one by one or all at the same

debian:/tmp/nginx-0.6.35# sudo aptitude install libpcre3 libpcre3-dev
libpcrecpp0 libssl-dev zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No candidate version found for zlib1g-dev
The following packages are BROKEN:
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2094kB of archives. After unpacking 5808kB will be used.
The following packages have unmet dependencies:
  libssl-dev: Depends: zlib1g-dev which is a virtual package.
Resolving dependencies...
Unable to resolve dependencies!  Giving up...

any info, guide, help, anything   would be great ......

thanks !

Olivier B.valet (Guest)
on 2009-01-31 14:39
(Received via mailing list)

why do you not use a Debian package ?
You can recompile the package from sid for example : (actually in version 0.6.34-2)
Or at least look how they resolve this dependence problem.


Raimon Fs a écrit :
Mongeta 9. (Guest)
on 2009-01-31 14:48

I'm not using the Debian packages as they are old versions, I'm
downloading the Lenny as they have more recent packages.

And also I'm going to take a look at your suggestion of recompiling a
package from sid.


Almir K. (Guest)
on 2009-02-01 11:15
(Received via mailing list)
that has nothing to do with nginx, it's debian error :-)

that being said, try `aptitude -f install', it might fix your problems.
Mongeta 9. (Guest)
on 2009-02-01 11:22
Almir K. wrote:
> that has nothing to do with nginx, it's debian error :-)
> that being said, try `aptitude -f install', it might fix your problems.

too late ...

I've installed Lenny and all nginx is perfectly running ...


now I'm having problems installing Ruby with gem install ruby, but
that's another problem ...



Merlin (Guest)
on 2009-02-02 21:50
(Received via mailing list)
It's not debian error, it's user error, if only because debian is picky

debian-web01:~# apt-cache search zlib1g
libcoin40c2 - high-level 3D graphics kit with Open Inventor and VRML97
support - runtime
zlib1g - compression library - runtime
zlib1g-dbg - compression library - development
zlib1g-dev - compression library - development

All that should have to be done is "aptitude install zlib1g-dev".  If
doesn't work there is something else wrong.
This topic is locked and can not be replied to.