Build failure on arch Linux
Hi, Foolishly, I said earlier today, that building on Linux should be a breeze. I should have kept quiet!! I downloaded 2.1.7 and it failed to build rlm_krb5 with messages about structure members. I reran configure with --without-rlm-krb5 and got: In function 'setup_modules': undefined ref to lt__PROGRAM__LTX_preloaded_symbols in src/main/modules.c. I notice in the bug fixes for 2.1.7 there's a workaround added. Seems it doesn't work for me. Any suggestions please. Leighton --- This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
Leighton Man wrote:
Foolishly, I said earlier today, that building on Linux should be a breeze. I should have kept quiet!!
I downloaded 2.1.7 and it failed to build rlm_krb5 with messages about structure members. I reran configure with --without-rlm-krb5 and got: In function 'setup_modules': undefined ref to lt__PROGRAM__LTX_preloaded_symbols in src/main/modules.c.
I notice in the bug fixes for 2.1.7 there's a workaround added. Seems it doesn't work for me.
$ export CFLAGS=-DIE_LIBTOOL_DIE $ ./configure $ make Or, edit the top-level "Make.inc" after a previous "configure", and find the CFLAGS line. Add "-DIE_LIBTOOL_DIE" to it, and it should work. The macro name has, of course, no meaning, and doesn't demonstrate any opinion about libtool. Alan DeKok.
The macro name has, of course, no meaning, and doesn't demonstrate any opinion about libtool.
Nevertheless it worked like a dream :-) Many thanks Alan, Leighton --- This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
Alan DeKok <aland@deployingradius.com> wrote:
[snipped]
$ export CFLAGS=-DIE_LIBTOOL_DIE $ ./configure $ make
Or, edit the top-level "Make.inc" after a previous "configure", and find the CFLAGS line. Add "-DIE_LIBTOOL_DIE" to it, and it should work.
The macro name has, of course, no meaning, and doesn't demonstrate any opinion about libtool.
"The Bart The" eh? Cheers -- Alexander Clouter .sigmonster says: Keep on keepin' on.
what system are you building on - I've noted several 'creaky' distros of late which have older versions of the tools/libraries
Arch Linux - 2.6.30 kernel and libtool 2.2.6a-3 which seems to be part of the problem. All compiled now so hopefully will find time to test tomorrow. After that back to the original rlm_ldap problem..... Cheers, Leighton --- This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
participants (4)
-
Alan Buxey -
Alan DeKok -
Alexander Clouter -
Leighton Man