www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bela Gazdy <b...@emory.edu>
Subject os-aix/8812: Will not create *.so objects when DSO modules requested
Date Tue, 20 Nov 2001 15:54:08 GMT

>Number:         8812
>Category:       os-aix
>Synopsis:       Will not create *.so objects when DSO modules requested
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 20 08:00:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     bela@emory.edu
>Release:        httpd-2_0_28
>Organization:
apache
>Environment:
AIX 4.3.3.0-ML09; IBM's xlC-3.1.4 AND
AIX 5.1.0.0-ML01; IBM's VAC-5.0.2
>Description:
On AIX 4.3.3 / cc (xlC):
CC=cc ./configure --enable-mods-shared=most
-------------------------------------------
...
checking whether to enable mod_so... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... powerpc-ibm-aix4.3.3.0
checking for ranlib... ranlib
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... none
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if cc static flag -bnso -bI:/lib/syscalls.exp works... none
checking whether ln -s works... yes
checking for non-GNU ld... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking whether the linker (/bin/ld) supports shared libraries... yes
checking for BSD-compatible nm... /bin/nm -B
checking command to parse /bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /bin/ld option to reload object files... -r
checking dynamic linker characteristics... aix4.3.3.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating shlibtool
...
---------------------------------------------------------------------------
This looks good, but then make, 'make install' puts the following in
/usr/local/apache2/modules: 

libmod_access.a -> libmod_access.so.0.0.0
libmod_access.so.0 -> libmod_access.so.0.0.0
mod_access.la
....
and similarly for other modules. httpd.conf wants mod_MODULE.so files.
======================================================================
AIX 5.1.0.0 is worst;

CC=cc ./configure --host=rs6000-ibm-aix5.1.0.0 --enable-mods-shared=most
gives
----------------------------------------------------------------------
...
checking whether to enable mod_so... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... rs6000-ibm-aix
checking for ranlib... ranlib
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... none
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if cc static flag  works...
checking whether ln -s works... yes
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
-----------------------------------------------------------------------------
which does not even look good.
make, 'make install' puts the following files in /usr/local/apache2/modules:

mod_access.la
...
and similarly for other modules;

On both platforms, ./httpd -l gives:
  core.c
  prefork.c
  http_core.c
  mod_so.c
=========================================================================

P.S.: On both platforms, apache-1.3.22 configures, compiles, and installs
      as expected. (the right mod_MODULE.so files in 'libexec')

      The same 'libtool' is installed on both machines:
<test> libtool --version
/usr/opt/freeware/bin/libtool[315]: /usr/linux/bin/echo:  not found.
ltmain.sh (GNU libtool) 1.3.5a (1.385.2.236 2000/10/30 23:25:09)

Installed libtool-1.4.2, with same results...:(
=========================================================================

Thank you for this forum!
-Bela




>How-To-Repeat:

>Fix:
Suspicious AIX - libtool interaction?????
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message