Comments (12)
From honglilai on April 12, 2008 00:52:55
Thanks for the report. We'll take a closer look at this after the weekend.
Cc: honglilai
from passenger.
From honglilai on April 14, 2008 08:06:46
We tested in CentOS 5 as well, and we didn't come cross this problem.
Could you post the exact compiler error message?
from passenger.
From jim.zajkowski on April 14, 2008 10:42:56
Sure:
In ext/apache2:
g++ -shared Utils.o Logging.o Configuration.o Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -
lstdc++ -lpthread ../boost/src/libboost_thread.a -laprutil-1 -lldap -llber -ldb-4.3 -lexpat -lapr-1 -luuid -
lcrypt -lpthread -ldl
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared Utils.o Logging.o Configuratio...]
Our CentOS boxes we deploy for web applications are very minimal VMs under VMware ESX. This is because
there's no good reason to need a huge environment, and we prefer to add on pieces as we need rather than
start with a huge setup and pare down.
To that end, we use a template that is derrived from a kickstart file, which installs only these things and their
dependencies, which means the install is very minimal:
%packages
e2fsprogs
lvm2
kernel
grub
httpd
mod_ssl
php
php-mysql
To that, for a rails server, I enable the CentOS centosplus repository, and then yum install ruby, ruby-irb,
ruby-doc, and ruby-devel. I download and install rubygems by hand.
For Passenger, I additionally yum install httpd-devel and gcc-c++. It will not compile unless I additionally
install e2fsprog-devel, which includes libuuid.
I've attached a typescript so you can see the whole story. The error occurs at line 7062.
Attachment: typescript
from passenger.
From honglilai on April 14, 2008 11:04:53
Hm I wonder where that -luuid came from, I don't see it on our CentOS VM. Did you
install Apache/APR from yum or from source?
from passenger.
From jim.zajkowski on April 14, 2008 11:39:40
Yum (yum install httpd-devel installed APR)
from passenger.
From honglilai on April 16, 2008 15:50:47
Another bug report about this has been received: http://groups.google.com/group/phusion-passenger/browse_thread/thread/b63cbd6d3e954f74 The problem is now verified.
The installer should be adapted to check for e2fsprogs-devel on RedHat-derived distros.
Status: Accepted
Labels: Usability
from passenger.
From honglilai on April 16, 2008 15:51:09
Labels: OpSys-Linux
from passenger.
From jim.zajkowski on April 16, 2008 17:05:05
Or more generally, check for libuuid and provide help.
from passenger.
From honglilai on April 22, 2008 10:08:30
According to issue #31 , Fedora 8 has the same problem.
from passenger.
From honglilai on April 22, 2008 11:08:09
Labels: -Priority-Medium Priority-High
from passenger.
From honglilai on April 24, 2008 05:03:05
This should be fixed in the development version (git repository). Can anyone verify?
Status: Fixed
from passenger.
From honglilai on April 24, 2008 11:02:28
Labels: Milestone-1.0.2
from passenger.
Related Issues (20)
- Passenger resets SIGPROF signal handlers causing profilers to crash application HOT 2
- Rake not found while compiling nginx dynamic module HOT 5
- Can't install with Ruby 2.7 on Alma 8 "package passenger-6.0.18-1.el8.x86_64 requires libruby.so.2.5" HOT 2
- Automation: How to communicate a selection via <space> as required for `assenger-config validate-install`
- Passenger Socket IO - Apache Return Error 101 HOT 1
- Debian 12 (bookworm) support HOT 1
- Ruby Permissions Issue HOT 12
- Unknown directive: "passenger_enabled" in nginx.conf server block HOT 6
- Security update fails and Ubuntu APT ignores the APT link HOT 2
- IOError: stream closed in another thread HOT 2
- Would be great to have a 6.0.19 release! HOT 2
- DeprecationWarning in wsgi-loader.py: imp module is deprecated in favor of importlib HOT 1
- Issues with cookies when using latest Passenger and Rack 3 (w/ Ruby on Rails 7.1) HOT 20
- mod_passenger dependency issues HOT 1
- Feature Request - Log crashes to stderr instead of files HOT 2
- Fails to recognise Nestjs app start HOT 2
- Uninitialized constant Rackup::Handler::Rack (NameError) [Rack 3] HOT 1
- Error loading libssl.so.1.1 when starting Phusion Passenger Standalone HOT 1
- Bad Signing Key for Debian Bullseye HOT 3
- Restarting doesn't remove deleted environment variables in rbenv-vars HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.