FreeRadius Solaris: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) м (Защищена страница «FreeRadius Solaris» [edit=sysop:move=sysop]) |
Sirmax (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
=Сборка под Solaris 10= |
=Сборка под Solaris 10= |
||
| + | |||
| + | <PRE> |
||
| + | |||
| + | |||
| + | It's a bug in libltdl that is in Ubuntu. |
||
| + | |||
| + | See /usr/include/ltdl.h on the affected system. It has a line: |
||
| + | |||
| + | #define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols |
||
| + | |||
| + | Q: Where is lt__PROGRAM__LTX_preloaded_symbols defined or referenced? |
||
| + | A: Nowhere. |
||
| + | |||
| + | If you spend some time spelunking through the internals of libltdl, you will discover that there *is* a symbol |
||
| + | |||
| + | lt_libltdl_LTX_preloaded_symbols |
||
| + | |||
| + | The obvious thing to do is to change the FreeRADIUS code to add: |
||
| + | |||
| + | #define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols |
||
| + | |||
| + | It then compiles and runs properly. |
||
| + | |||
| + | Can we close this as a FreeRADIUS bug, and report it against libltdl? Searching google for |
||
| + | lt__PROGRAM__LTX_preloaded_symbols shows similar problems with a number of projects. |
||
| + | |||
| + | I have *no* idea why this happens for some projects using libltld, and not others. I *do* know that the problem is very clear-cut: |
||
| + | |||
| + | libltdl is buggy, and I hate it beyond words. |
||
| + | </PRE> |
||
Версия 16:46, 2 июня 2010
Сборка под Solaris 10
It's a bug in libltdl that is in Ubuntu.
See /usr/include/ltdl.h on the affected system. It has a line:
#define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
Q: Where is lt__PROGRAM__LTX_preloaded_symbols defined or referenced?
A: Nowhere.
If you spend some time spelunking through the internals of libltdl, you will discover that there *is* a symbol
lt_libltdl_LTX_preloaded_symbols
The obvious thing to do is to change the FreeRADIUS code to add:
#define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols
It then compiles and runs properly.
Can we close this as a FreeRADIUS bug, and report it against libltdl? Searching google for
lt__PROGRAM__LTX_preloaded_symbols shows similar problems with a number of projects.
I have *no* idea why this happens for some projects using libltld, and not others. I *do* know that the problem is very clear-cut:
libltdl is buggy, and I hate it beyond words.