LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2011, 05:39 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
How to build Apache 2.2 without DSO support


Hello,
As in the title how can I do it?
The configure option --enable-so seems default.

Thanks
 
Old 02-17-2011, 07:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You can use "--disable-so"

Cheers
 
Old 02-17-2011, 07:36 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Hi,

You can use "--disable-so"

Cheers
Are You sure there is "--disable-so"??

Code:
user@hp:~/lab/httpd-2.2.17$ ./configure --help | grep so
VAR=VALUE.  See below for descriptions of some of the useful variables.
      --srcdir=DIR        find the sources in DIR [configure dir or `..']
  --enable-v4-mapped      Allow IPv6 sockets to handle IPv4 connections
  --enable-static-logresolve
                          Build a statically linked version of logresolve
  --enable-so             DSO capability
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  CPP         C preprocessor
 
Old 02-17-2011, 07:56 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Most of these ./configure options can be toggled using enable/disable. If you build apache with --disable-so, here is what happens when you try to compile a module using apxs:
Quote:
]apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/opt/apache/bin/httpd'..
And of course there is no mod_so compiled-in
Code:
httpd -M|grep so
Syntax OK
 
1 members found this post helpful.
Old 02-17-2011, 08:42 AM   #5
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache and mod_ssl (DSO) h725 Linux - Server 1 09-05-2009 07:15 AM
Apache 2: mod_ssl installation w/DSO fails clau_bolson Linux - Server 1 10-11-2007 12:43 PM
Resin Apache DSO mod_caucho.so CTEK Linux - Newbie 0 12-19-2006 06:24 AM
How to find out if DSO support is included in Apache installation? john lee Linux - Newbie 3 05-04-2005 03:35 AM
Apache DSO question. gothrog Linux - Networking 4 03-15-2005 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration