Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zlib development headers... not found while installing Phusion Passenger #772

Closed
FooBarWidget opened this issue May 29, 2014 · 5 comments
Closed

Comments

@FooBarWidget
Copy link
Member

From ameet.silas on May 21, 2011 01:47:55

What steps will reproduce the problem? 1. gem install passenger
2. /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/bin/passenger-install-apache2-module 3. What is the expected output? What do you see instead? I see :

  • GNU C++ compiler... found at /usr/bin/g++
  • Curl development headers with SSL support... found
  • OpenSSL development headers... found
  • Zlib development headers... not found
  • Ruby development headers... found
  • OpenSSL support for Ruby... found
  • RubyGems... found
  • Rake... found at /usr/bin/rake
  • rack... found
  • Apache 2... found at /usr/sbin/httpd
  • Apache 2 development headers... found at /usr/sbin/apxs
  • fastthread... found
  • Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
  • Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config

But zlib-devel is installed on the system.

rpm -q zlib-devel

zlib-devel-1.2.3-3 What version of Phusion Passenger are you using? Which version of Rails? On what operating system? passenger-3.0.7
Rails 2.1.1
OS: CentOS release 5.4
ruby 1.8.5 Please provide any additional information below.

Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=673

@FooBarWidget
Copy link
Member Author

From hrvoje.marjanovic on May 28, 2011 12:02:14

Same thing on debian squeeze, but I installed once successfully, then after removing and trying to reinstall, I got this.

@FooBarWidget
Copy link
Member Author

From nobu@zuzara.com on July 05, 2011 20:36:43

I'm not an expert of passenger, but try 'yum install gcc-g++'. In my environment, that solves zlib's weird not-found issue and works.

OS: 2.6.34.7-56.40.amzn1.i686 on EC2

@FooBarWidget
Copy link
Member Author

From melih.onvural on July 07, 2011 12:56:53

Comment #2 should be yum install gcc-c++ and then everything worked for me

@FooBarWidget
Copy link
Member Author

From honglilai on February 04, 2013 06:15:07

Status: Invalid

@FooBarWidget
Copy link
Member Author

From mike.michalak@dbridgesolutions.com on April 23, 2013 10:53:42

I installed: yum install gcc-c++ and then everything worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant