You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andy Cutright <ac...@borland.com> on 2002/12/18 18:06:03 UTC
ltconfig, libtool, 2.0.39 vs. 2.0.43
hi all,
i've been wrestling with linking & running 2.0.43 on AIX 5.1 for a
couple of days. we have 2.0.39 running fine. i've pulled down both the
unix source code .tar.Z & the windows source code distribution. i see
something i'm not sure about in httpd-2.0.43/srclib/apr/build/ltconfig:
VERSION=1.3.4-freebsd-ports
this is odd to me, since my _generated_
httpd-2.0.39/srclib/apr/build/libtool for 2.0.39 has a version 1.4.2.
also, i don't see a httpd-2.0.39/srclib/apr/build/ltconfig in the source
tree we have. i'll try to re-pull the .39 sources to verify it's not my
mistake.
this affects how shared libraries are built, and httpd is dumping core
when attempting to load the .so modules when they're built using the
generated libtool/shlibtool system. these .sos load fine if i build/
link them 'by hand'.
i searched the mail archives but didn't see anything specific about this
issue.
cheers,
andy
Re: ltconfig, libtool, 2.0.39 vs. 2.0.43
Posted by Andy Cutright <ac...@borland.com>.
hi all,
more information. all the ltmain.sh files seem to have regressed from
2.0.39 to 2.0.43. is this on purpose? the first set of greps is from
2.0.43, and the second from 2.0.39 to the best of my knowledge.
/httpd-2.0.43> foreach FILE (`find . -name ltmain.sh`)
? cat $FILE |grep VERSION
? end
VERSION=1.3.4-freebsd-ports
if test "$LTCONFIG_VERSION" != "$VERSION"; then
echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match
$PROGRAM version \`$VERSION'" 1>&2
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
VERSION=1.4
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
VERSION=1.3.4-freebsd-ports
if test "$LTCONFIG_VERSION" != "$VERSION"; then
echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match
$PROGRAM version \`$VERSION'" 1>&2
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
############################################
/src/srclib> foreach FILE (`find . -name ltmain.sh`)
? cat $FILE | grep VERSION
? end
VERSION=1.4.2
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
VERSION=1.4.2
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
VERSION=1.4
echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
Re: ltconfig, libtool, 2.0.39 vs. 2.0.43
Posted by Jeff Trawick <tr...@attglobal.net>.
Andy Cutright <ac...@borland.com> writes:
> thanks for the input. the question still remains, is this a regression? is
> this something to be concerned about with other platforms?
There is no magic libtool version that works fine with Apache
everywhere. This may not be comforting to hear, but it is probably
inevitable that the set of platforms that works fine with the
distributed libtool will change over time.
So just remember to run ./buildconf before ./configure and you'll be
okay.
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...
Re: ltconfig, libtool, 2.0.39 vs. 2.0.43
Posted by Jeff Trawick <tr...@attglobal.net>.
Andy Cutright <ac...@borland.com> writes:
> hi all,
>
> i've been wrestling with linking & running 2.0.43 on AIX 5.1 for a
Please see
http://www.apache.org/~trawick/apache-2-on-aix.html
As mentioned there and as mentioned in the README for the patches
directory for 2.0.43, on AIX (as well as some other platforms) you
need to install a suitable libtool version locally and run ./buildconf
to pick up your libtool installation.
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...