Centos 5.2 x86_64 install issues

405 views
Skip to first unread message

Scott Davis

unread,
Jul 16, 2008, 4:07:38 PM7/16/08
to Phusion Passenger Discussions
Heres the part of the build where it fails seems to be a problem with
libapr

anyone else have these issues?

### In ext/apache2:
g++ -shared Utils.o Bucket.o Logging.o System.o Configuration.o
Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -lstdc++ -
lpthread ../boost/src/libboost_thread.a -lapr-1
/usr/bin/ld: skipping incompatible /usr/lib/libapr-1.so when searching
for -lapr-1
/usr/bin/ld: skipping incompatible /usr/lib/libapr-1.a when searching
for -lapr-1
/usr/bin/ld: cannot find -lapr-1
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared Utils.o Bucket.o
Logging.o Sys...]
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/Rakefile:142
(See full trace by running task with --trace)

Scott Davis

unread,
Jul 16, 2008, 4:33:14 PM7/16/08
to Phusion Passenger Discussions
also getting this above the installer

cannot open /httpd/build/config_vars.mk: No such file or directory at /
usr/sbin/apxs line 201.
cannot open /httpd/build/config_vars.mk: No such file or directory at /
usr/sbin/apxs line 201.
cannot open /httpd/build/config_vars.mk: No such file or directory at /
usr/sbin/apxs line 201.
cannot open /httpd/build/config_vars.mk: No such file or directory at /
usr/sbin/apxs line 201.
Welcome to the Phusion Passenger Apache 2 module installer, v2.0.2.

Scott Davis

unread,
Jul 16, 2008, 4:52:10 PM7/16/08
to Phusion Passenger Discussions
apr: 1.2.7-11
httpd: 2.2.3-11

standard that come with centos 5.2

Scott Davis

unread,
Jul 16, 2008, 4:55:10 PM7/16/08
to Phusion Passenger Discussions
installer apr-devel now i get

### In ext/apache2:
g++ -shared Utils.o Bucket.o Logging.o System.o Configuration.o
Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -lstdc++ -
lpthread ../boost/src/libboost_thread.a -lapr-1
/usr/bin/ld: warning: i386 architecture of input file `Utils.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `Bucket.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `Logging.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `System.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`Configuration.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `Hooks.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`mod_passenger.o' is incompatible with i386:x86-64 output
Utils.o: In function `Passenger::findApplicationPoolServer(char
const*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
108: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::at(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
109: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(unsigned int,
char)'
Utils.o: In function `Passenger::split(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
40: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::substr(unsigned int,
unsigned int) const'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
39: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::find(char, unsigned
int) const'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
43: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::substr(unsigned int,
unsigned int) const'
Utils.o: In function `Passenger::findSpawnServer(char const*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
69: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::at(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
70: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(unsigned int,
char)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Utils.cpp:
92: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::at(unsigned int)
const'
Utils.o: In function `__gnu_cxx::new_allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >::allocate(unsigned
int, void const*)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
ext/new_allocator.h:88: undefined reference to `operator new(unsigned
int)'
Bucket.o: In function `passenger_bucket_create(apr_file_t*,
apr_bucket_alloc_t*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:99: undefined reference to `apr_bucket_alloc'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:101: undefined reference to `apr_bucket_free'
Bucket.o: In function `bucket_read':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:50: undefined reference to `apr_bucket_alloc'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:60: undefined reference to `apr_bucket_free'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:70: undefined reference to `apr_bucket_free'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:70: undefined reference to `apr_bucket_heap_make'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:76: undefined reference to `apr_bucket_free'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Bucket.cpp:77: undefined reference to `apr_bucket_immortal_make'
Logging.o: In function `Passenger::setDebugFile(char const*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Logging.cpp:44: undefined reference to `operator new(unsigned int)'
System.o: In function
`shared_count<boost::thread_specific_ptr<bool>::delete_data>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
System.o: In function `thread_specific_ptr':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
thread/pthread/tss.hpp:64: undefined reference to `operator
new(unsigned int)'
Configuration.o: In function `create_server_config_struct':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Configuration.cpp:51: undefined reference to `operator new(unsigned
int)'
Configuration.o: In function `create_dir_config_struct':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
Configuration.cpp:44: undefined reference to `operator new(unsigned
int)'
Configuration.o:/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../
include/c++/4.1.2/ext/new_allocator.h:88: more undefined references to
`operator new(unsigned int)' follow
Hooks.o: In function `passenger_register_hooks':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
984: undefined reference to `ap_hook_post_config'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
985: undefined reference to `ap_hook_child_init'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
986: undefined reference to `ap_hook_map_to_storage'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
987: undefined reference to `ap_hook_handler'
Hooks.o: In function `init_module':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
897: undefined reference to `operator new(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
924: undefined reference to `ap_log_error'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
948: undefined reference to `ap_log_error'
Hooks.o: In function
`Hooks::reportDocumentRootDeterminationError(request_rec*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
309: undefined reference to `ap_set_content_type'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
310: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
311: undefined reference to `ap_rputs'
Hooks.o: In function
`shared_count<Passenger::ApplicationPoolServer::RemoteSession>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function
`shared_count<Passenger::ApplicationPoolServer::Client>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `Hooks::reportFileSystemError(request_rec*,
Passenger::FileSystemException const&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
316: undefined reference to `ap_set_content_type'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
317: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
318: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
319: undefined reference to `ap_escape_html'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
319: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
320: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
321: undefined reference to `ap_escape_html'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
321: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
323: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
324: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
325: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
326: undefined reference to `ap_rputs'
Hooks.o: In function `disable_syscall_interruption':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/System.h:
193: undefined reference to `operator new(unsigned int)'
Hooks.o: In function `shared_count<Passenger::TempFile>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `Hooks::receiveRequestBody(request_rec*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
506: undefined reference to `operator new(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
510: undefined reference to `ap_get_client_block'
Hooks.o: In function `Hooks::sendRequestBody(request_rec*,
boost::shared_ptr<Passenger::Application::Session>&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
548: undefined reference to `ap_get_client_block'
Hooks.o: In function `DirectoryMapper::getBaseURI()':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
176: undefined reference to `ap_document_root'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
182: undefined reference to `ap_document_root'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
188: undefined reference to `ap_document_root'
Hooks.o: In function `DirectoryMapper::getPublicDirectory()':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
216: undefined reference to `ap_document_root'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
221: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*,
unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
223: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::assign(char const*,
unsigned int)'
Hooks.o: In function `Hooks::reportBusyException(request_rec*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
333: undefined reference to `ap_custom_response'
Hooks.o: In function `std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/basic_string.tcc:681: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::reserve(unsigned int)'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
bits/basic_string.tcc:682: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::append(char const*, unsigned int)'
Hooks.o: In function `Hooks::sendHeaders(request_rec*,
boost::shared_ptr<Passenger::Application::Session>&, char const*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
419: undefined reference to `ap_get_server_version'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
421: undefined reference to `ap_get_server_name'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
424: undefined reference to `ap_get_server_port'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
436: undefined reference to `ap_document_root'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
467: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
470: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(unsigned int,
char)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
472: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(unsigned int,
char)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
499: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*,
unsigned int)'
Hooks.o: In function `Hooks::handleRequest(request_rec*)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
645: undefined reference to `ap_setup_client_block'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
659: undefined reference to `ap_should_client_block'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
703: undefined reference to `ap_set_content_type'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
704: undefined reference to `ap_rputs'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
729: undefined reference to `apr_brigade_create'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
733: undefined reference to `apr_bucket_eos_create'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
736: undefined reference to `ap_scan_script_header_err_brigade'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
737: undefined reference to `ap_pass_brigade'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
739: undefined reference to `operator new(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
749: undefined reference to `ap_log_rerror'
Hooks.o: In function
`__gnu_cxx::new_allocator<std::_List_node<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >::allocate(unsigned
int, void const*)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/
ext/new_allocator.h:88: undefined reference to `operator new(unsigned
int)'
Hooks.o: In function
`Passenger::MessageChannel::write(std::list<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:156: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:158: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*,
unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:161: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(unsigned int,
char)'
Hooks.o: In function
`Passenger::MessageChannel::read(std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:346: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:355: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*,
unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:362: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::substr(unsigned int,
unsigned int) const'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:361: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::find(char, unsigned
int) const'
Hooks.o: In function
`Passenger::MessageChannel::readScalar(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:388: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
MessageChannel.h:397: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::append(char const*,
unsigned int)'
Hooks.o: In function
`Passenger::ApplicationPoolServer::Client::get(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
ApplicationPoolServer.h:342: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function
`shared_count<Passenger::ApplicationPoolServer::SharedData>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `Client':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
ApplicationPoolServer.h:243: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `Passenger::ApplicationPoolServer::connect()':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/
ApplicationPoolServer.h:617: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `shared_count<Passenger::ApplicationPoolServer>':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/../boost/
detail/shared_count.hpp:81: undefined reference to `operator
new(unsigned int)'
Hooks.o: In function `Hooks':
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
563: undefined reference to `ap_add_version_component'
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/Hooks.cpp:
605: undefined reference to `operator new(unsigned int)'
Bucket.o:(.data.rel.ro+0xc): undefined reference to
`apr_bucket_destroy_noop'
Bucket.o:(.data.rel.ro+0x14): undefined reference to
`apr_bucket_setaside_notimpl'
Bucket.o:(.data.rel.ro+0x18): undefined reference to
`apr_bucket_split_notimpl'
Bucket.o:(.data.rel.ro+0x1c): undefined reference to
`apr_bucket_copy_notimpl'
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared Utils.o Bucket.o
Logging.o Sys...]
/opt/ruby/lib/ruby/gems/1.8/gems/passenger-2.0.2/Rakefile:142
(See full trace by running task with --trace)


Cynthia Kiser

unread,
Jul 16, 2008, 5:23:04 PM7/16/08
to phusion-...@googlegroups.com
Quoting Scott Davis <jetvi...@gmail.com>:
>
> installer apr-devel now i get
>
> ### In ext/apache2:
> g++ -shared Utils.o Bucket.o Logging.o System.o Configuration.o
> Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -lstdc++ -
> lpthread ../boost/src/libboost_thread.a -lapr-1
> /usr/bin/ld: warning: i386 architecture of input file `Utils.o' is
> incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `Bucket.o' is
> incompatible with i386:x86-64 output
> /usr/bin/ld: warning: i386 architecture of input file `Logging.o' is

Do you somehow have a mix of 32 and 64 bit machine and software? I am
not sure, but that is what I think

i386 architecture of input file Utils.o' is incompatible with
i386:x86-64 output

means.

Hongli Lai

unread,
Jul 16, 2008, 6:03:35 PM7/16/08
to phusion-...@googlegroups.com
Scott Davis wrote:
> also getting this above the installer
>
> cannot open /httpd/build/config_vars.mk: No such file or directory at /
> usr/sbin/apxs line 201.
> cannot open /httpd/build/config_vars.mk: No such file or directory at /
> usr/sbin/apxs line 201.
> cannot open /httpd/build/config_vars.mk: No such file or directory at /
> usr/sbin/apxs line 201.
> cannot open /httpd/build/config_vars.mk: No such file or directory at /
> usr/sbin/apxs line 201.
> Welcome to the Phusion Passenger Apache 2 module installer, v2.0.2.

These particular errors indicate that your Apache installation is
broken. Please reinstall it.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Scott Davis

unread,
Jul 17, 2008, 9:28:23 AM7/17/08
to Phusion Passenger Discussions
ive reinstalled it via yum about 5 times .. and still get the same
errors i think the one in the centos repo is borked .. ill try
building it from source
> E-mail: i...@phusion.nl

Scott Davis

unread,
Jul 17, 2008, 9:58:52 AM7/17/08
to Phusion Passenger Discussions
Alright i figured this out .. once you install httpd-devel you need to
remove the 32 bit package by yum remove http-devel.i386

Ryan Bigg

unread,
Aug 17, 2008, 9:57:28 PM8/17/08
to Phusion Passenger Discussions
Yes I have these issues too.

mchen

unread,
Sep 9, 2008, 9:20:08 PM9/9/08
to Phusion Passenger Discussions
On Cent OS 5.1

yum install apr apr-devel

will fix it. At least for me

mchen

unread,
Sep 9, 2008, 9:33:01 PM9/9/08
to Phusion Passenger Discussions
passenger-install-apache2-module works for xampp on 32bit centos.

On 64bit, I am having such a problem that the compiled passenger is
for 64bit, which xampp is for a 32bit software.

Don't know if it is possible to compile something for 32bit under
64bit.
> > > (See full trace by running task with --trace)- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages