DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13389>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13389 apxs/libtool does not emit -shared linker flag Summary: apxs/libtool does not emit -shared linker flag Product: Apache httpd-2.0 Version: HEAD Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] The libtool included with apache 2.0.43 does not emit the -shared linker option in spite of the -module option given to it by apxs. As a consequence, building a module fails in the link step, because the apache core symbols ap_* remain unresolved. This happens on Solaris 8 and Linux 2.4.10, both with gcc 2.95.3. The problem does not affect modules included with apache, because these modules use shlibtool for the link step (not apxs/libtool), which does give -shared to the linker. The problem seems to be well known, php e.g. does not use the -c option of apxs, includes its own copy of libtool, and uses it differently than apxs. A workaround is to add -Wl,-shared to the apxs flags, but a less inelegant fix, namely a fix to libtool, and in the meantime, some documentation of the problem would be very desirable. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]