Nginx with broken library zlib1g-dev for SSL on Debian 40r6

Hello,

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:
Code:
debian:/tmp/nginx-0.6.35# uname -r
2.6.18-6-686

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
time:

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:
libssl-dev
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…
Abort.
debian:/tmp/nginx-0.6.35#

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

thanks !

r.

Hello,

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

Olivier

Raimon Fs a écrit :

Hello,

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.

thanks,

r.

that has nothing to do with nginx, it’s debian error :slight_smile:

that being said, try `aptitude -f install’, it might fix your problems.

It’s not debian error, it’s user error, if only because debian is picky
sometimes.

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
that
doesn’t work there is something else wrong.

Almir K. wrote:

that has nothing to do with nginx, it’s debian error :slight_smile:

that being said, try `aptitude -f install’, it might fix your problems.

too late …

I’ve installed Lenny and all nginx is perfectly running …

:slight_smile:

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

:slight_smile:

thanks,

r.