Здравствуйте. Прошу совета у всезнающего ALL :)
Кто пользуется imapfilter? Как вы его ставили/собирали? И какие библиотеки ему нужны для сборки? Дело в следующем. Тот imapfilter, что лежит на данный момент в репозитах - не работает (по крайней мере у меня). То есть он не выдает ошибок, но и не отрабатывает. Пытался собрать из исходников, но получаю вот что: cc -o imapfilter -L/usr/lib auth.o buffer.o cert.o core.o file.o imap.o imapfilter.o list.o log.o lua.o memory.o misc.o namespace.o pcre.o regexp.o request.o response.o session.o signal.o socket.o system.o -lm -llua -lpcre -lssl -lcrypto core.o: In function `luaopen_ifcore': core.c:(.text+0x25): undefined reference to `luaL_openlib' core.o: In function `ifcore_copy': core.c:(.text+0x55): undefined reference to `luaL_error' core.c:(.text+0x6d): undefined reference to `luaL_checktype' core.c:(.text+0x85): undefined reference to `luaL_checktype' core.c:(.text+0x9d): undefined reference to `luaL_checktype' core.c:(.text+0xd0): undefined reference to `luaL_error' core.c:(.text+0xf3): undefined reference to `luaL_error' core.c:(.text+0x157): undefined reference to `lua_tolstring' core.c:(.text+0x171): undefined reference to `lua_tolstring' core.o: In function `ifcore_store': core.c:(.text+0x1ec): undefined reference to `luaL_error' core.c:(.text+0x204): undefined reference to `luaL_checktype' core.c:(.text+0x21c): undefined reference to `luaL_checktype' core.c:(.text+0x234): undefined reference to `luaL_checktype' core.c:(.text+0x24c): undefined reference to `luaL_checktype' core.c:(.text+0x27f): undefined reference to `luaL_error' core.c:(.text+0x2a2): undefined reference to `luaL_error' core.c:(.text+0x308): undefined reference to `lua_tolstring' core.c:(.text+0x322): undefined reference to `lua_tolstring' core.c:(.text+0x33c): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchfields': core.c:(.text+0x3cc): undefined reference to `luaL_error' core.c:(.text+0x3e4): undefined reference to `luaL_checktype' core.c:(.text+0x3fc): undefined reference to `luaL_checktype' core.c:(.text+0x414): undefined reference to `luaL_checktype' core.c:(.text+0x447): undefined reference to `luaL_error' core.c:(.text+0x46a): undefined reference to `luaL_error' core.c:(.text+0x4ce): undefined reference to `lua_tolstring' core.c:(.text+0x4e8): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchtext': core.c:(.text+0x59e): undefined reference to `luaL_error' core.c:(.text+0x5b6): undefined reference to `luaL_checktype' core.c:(.text+0x5ce): undefined reference to `luaL_checktype' core.c:(.text+0x601): undefined reference to `luaL_error' core.c:(.text+0x623): undefined reference to `luaL_error' core.c:(.text+0x687): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchheader': core.c:(.text+0x736): undefined reference to `luaL_error' core.c:(.text+0x74e): undefined reference to `luaL_checktype' core.c:(.text+0x766): undefined reference to `luaL_checktype' core.c:(.text+0x799): undefined reference to `luaL_error' core.c:(.text+0x7bb): undefined reference to `luaL_error' core.c:(.text+0x81f): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchsize': core.c:(.text+0x8c7): undefined reference to `luaL_error' core.c:(.text+0x8df): undefined reference to `luaL_checktype' core.c:(.text+0x8f7): undefined reference to `luaL_checktype' core.c:(.text+0x92a): undefined reference to `luaL_error' core.c:(.text+0x94c): undefined reference to `luaL_error' core.c:(.text+0x9b0): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchdate': core.c:(.text+0xa55): undefined reference to `luaL_error' core.c:(.text+0xa6d): undefined reference to `luaL_checktype' core.c:(.text+0xa85): undefined reference to `luaL_checktype' core.c:(.text+0xab8): undefined reference to `luaL_error' core.c:(.text+0xada): undefined reference to `luaL_error' core.c:(.text+0xb3e): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchflags': core.c:(.text+0xbe3): undefined reference to `luaL_error' core.c:(.text+0xbfb): undefined reference to `luaL_checktype' core.c:(.text+0xc13): undefined reference to `luaL_checktype' core.c:(.text+0xc46): undefined reference to `luaL_error' core.c:(.text+0xc68): undefined reference to `luaL_error' core.c:(.text+0xccc): undefined reference to `lua_tolstring' core.o: In function `ifcore_fetchfast': core.c:(.text+0xd7f): undefined reference to `luaL_error' core.c:(.text+0xd97): undefined reference to `luaL_checktype' core.c:(.text+0xdaf): undefined reference to `luaL_checktype' core.c:(.text+0xde2): undefined reference to `luaL_error' core.c:(.text+0xe04): undefined reference to `luaL_error' core.c:(.text+0xe68): undefined reference to `lua_tolstring' core.o: In function `ifcore_search': core.c:(.text+0xf5d): undefined reference to `luaL_error' core.c:(.text+0xf75): undefined reference to `luaL_checktype' core.c:(.text+0xf8d): undefined reference to `luaL_checktype' core.c:(.text+0xfa5): undefined reference to `luaL_checktype' core.c:(.text+0xfd8): undefined reference to `luaL_error' core.c:(.text+0xffb): undefined reference to `luaL_error' core.c:(.text+0x105f): undefined reference to `lua_tolstring' core.c:(.text+0x1079): undefined reference to `lua_tolstring' core.o: In function `ifcore_expunge': core.c:(.text+0x111e): undefined reference to `luaL_error' core.c:(.text+0x1136): undefined reference to `luaL_checktype' core.c:(.text+0x1158): undefined reference to `luaL_error' core.c:(.text+0x117a): undefined reference to `luaL_error' core.o: In function `ifcore_close': core.c:(.text+0x1221): undefined reference to `luaL_error' core.c:(.text+0x1239): undefined reference to `luaL_checktype' core.c:(.text+0x125b): undefined reference to `luaL_error' core.c:(.text+0x127d): undefined reference to `luaL_error' core.o: In function `ifcore_append': core.c:(.text+0x133f): undefined reference to `luaL_checktype' core.c:(.text+0x135a): undefined reference to `luaL_checktype' core.c:(.text+0x1375): undefined reference to `luaL_checktype' core.c:(.text+0x1390): undefined reference to `luaL_checktype' core.c:(.text+0x13ab): undefined reference to `luaL_checktype' core.c:(.text+0x13c0): undefined reference to `luaL_error' core.c:(.text+0x13f9): undefined reference to `luaL_error' core.c:(.text+0x141f): undefined reference to `luaL_error' core.c:(.text+0x148b): undefined reference to `lua_tolstring' core.c:(.text+0x14a9): undefined reference to `lua_tolstring' core.c:(.text+0x14be): undefined reference to `lua_objlen' core.c:(.text+0x14db): undefined reference to `lua_tolstring' core.c:(.text+0x14f8): undefined reference to `lua_tolstring' core.o: In function `ifcore_status': core.c:(.text+0x15a9): undefined reference to `luaL_error' core.c:(.text+0x15c1): undefined reference to `luaL_checktype' core.c:(.text+0x15d9): undefined reference to `luaL_checktype' core.c:(.text+0x160c): undefined reference to `luaL_error' core.c:(.text+0x162e): undefined reference to `luaL_error' core.c:(.text+0x1692): undefined reference to `lua_tolstring' core.o: In function `ifcore_lsub': core.c:(.text+0x1780): undefined reference to `luaL_error' core.c:(.text+0x1798): undefined reference to `luaL_checktype' core.c:(.text+0x17b0): undefined reference to `luaL_checktype' core.c:(.text+0x17c8): undefined reference to `luaL_checktype' core.c:(.text+0x17fb): undefined reference to `luaL_error' core.c:(.text+0x181e): undefined reference to `luaL_error' core.c:(.text+0x1882): undefined reference to `lua_tolstring' core.c:(.text+0x189c): undefined reference to `lua_tolstring' core.o: In function `ifcore_list': core.c:(.text+0x1965): undefined reference to `luaL_error' core.c:(.text+0x197d): undefined reference to `luaL_checktype' core.c:(.text+0x1995): undefined reference to `luaL_checktype' core.c:(.text+0x19ad): undefined reference to `luaL_checktype' core.c:(.text+0x19e0): undefined reference to `luaL_error' core.c:(.text+0x1a03): undefined reference to `luaL_error' core.c:(.text+0x1a67): undefined reference to `lua_tolstring' core.c:(.text+0x1a81): undefined reference to `lua_tolstring' core.o: In function `ifcore_unsubscribe': core.c:(.text+0x1b4d): undefined reference to `luaL_error' core.c:(.text+0x1b65): undefined reference to `luaL_checktype' core.c:(.text+0x1b7d): undefined reference to `luaL_checktype' core.c:(.text+0x1bb0): undefined reference to `luaL_error' core.c:(.text+0x1bd2): undefined reference to `luaL_error' core.c:(.text+0x1c36): undefined reference to `lua_tolstring' core.o: In function `ifcore_subscribe': core.c:(.text+0x1caa): undefined reference to `luaL_error' core.c:(.text+0x1cc2): undefined reference to `luaL_checktype' core.c:(.text+0x1cda): undefined reference to `luaL_checktype' core.c:(.text+0x1d0d): undefined reference to `luaL_error' core.c:(.text+0x1d2f): undefined reference to `luaL_error' core.c:(.text+0x1d93): undefined reference to `lua_tolstring' core.o: In function `ifcore_rename': core.c:(.text+0x1e07): undefined reference to `luaL_error' core.c:(.text+0x1e1f): undefined reference to `luaL_checktype' core.c:(.text+0x1e37): undefined reference to `luaL_checktype' core.c:(.text+0x1e4f): undefined reference to `luaL_checktype' core.c:(.text+0x1e82): undefined reference to `luaL_error' core.c:(.text+0x1ea5): undefined reference to `luaL_error' core.c:(.text+0x1f09): undefined reference to `lua_tolstring' core.c:(.text+0x1f23): undefined reference to `lua_tolstring' core.o: In function `ifcore_delete': core.c:(.text+0x1f9e): undefined reference to `luaL_error' core.c:(.text+0x1fb6): undefined reference to `luaL_checktype' core.c:(.text+0x1fce): undefined reference to `luaL_checktype' core.c:(.text+0x2001): undefined reference to `luaL_error' core.c:(.text+0x2023): undefined reference to `luaL_error' core.c:(.text+0x2087): undefined reference to `lua_tolstring' core.o: In function `ifcore_create': core.c:(.text+0x20fb): undefined reference to `luaL_error' core.c:(.text+0x2113): undefined reference to `luaL_checktype' core.c:(.text+0x212b): undefined reference to `luaL_checktype' core.c:(.text+0x215e): undefined reference to `luaL_error' core.c:(.text+0x2180): undefined reference to `luaL_error' core.c:(.text+0x21e4): undefined reference to `lua_tolstring' core.o: In function `ifcore_select': core.c:(.text+0x2258): undefined reference to `luaL_error' core.c:(.text+0x2270): undefined reference to `luaL_checktype' core.c:(.text+0x2288): undefined reference to `luaL_checktype' core.c:(.text+0x22bb): undefined reference to `luaL_error' core.c:(.text+0x22dd): undefined reference to `luaL_error' core.c:(.text+0x2341): undefined reference to `lua_tolstring' core.o: In function `ifcore_login': core.c:(.text+0x23b5): undefined reference to `luaL_error' core.c:(.text+0x23cd): undefined reference to `luaL_checktype' core.c:(.text+0x23f0): undefined reference to `luaL_error' core.c:(.text+0x2413): undefined reference to `luaL_error' core.c:(.text+0x2435): undefined reference to `luaL_error' core.o: In function `ifcore_logout': core.c:(.text+0x2500): undefined reference to `luaL_error' core.c:(.text+0x2518): undefined reference to `luaL_checktype' core.c:(.text+0x253a): undefined reference to `luaL_error' core.c:(.text+0x255c): undefined reference to `luaL_error' core.o: In function `ifcore_noop': core.c:(.text+0x2603): undefined reference to `luaL_error' core.c:(.text+0x261b): undefined reference to `luaL_checktype' core.c:(.text+0x263d): undefined reference to `luaL_error' core.c:(.text+0x265f): undefined reference to `luaL_error' lua.o: In function `get_table_string': lua.c:(.text+0x170): undefined reference to `lua_tolstring' lua.o: In function `get_option_string': lua.c:(.text+0x301): undefined reference to `lua_tolstring' lua.o: In function `interactive_mode': lua.c:(.text+0x52c): undefined reference to `luaL_loadbuffer' lua.c:(.text+0x57a): undefined reference to `lua_tolstring' lua.o: In function `init_options': lua.c:(.text+0x5f0): undefined reference to `lua_createtable' lua.c:(.text+0x6a1): undefined reference to `lua_setfield' lua.o: In function `start_lua': lua.c:(.text+0x6c4): undefined reference to `luaL_newstate' lua.c:(.text+0x6d1): undefined reference to `luaL_openlibs' lua.c:(.text+0x727): undefined reference to `luaL_loadfile' lua.c:(.text+0x771): undefined reference to `lua_tolstring' lua.c:(.text+0x79e): undefined reference to `luaL_loadfile' lua.c:(.text+0x7e8): undefined reference to `lua_tolstring' lua.c:(.text+0x815): undefined reference to `luaL_loadfile' lua.c:(.text+0x85f): undefined reference to `lua_tolstring' lua.c:(.text+0x88c): undefined reference to `luaL_loadfile' lua.c:(.text+0x8d6): undefined reference to `lua_tolstring' lua.c:(.text+0x903): undefined reference to `luaL_loadfile' lua.c:(.text+0x94d): undefined reference to `lua_tolstring' lua.c:(.text+0x97a): undefined reference to `luaL_loadfile' lua.c:(.text+0x9c4): undefined reference to `lua_tolstring' lua.c:(.text+0x9f1): undefined reference to `luaL_loadfile' lua.c:(.text+0xa3b): undefined reference to `lua_tolstring' lua.c:(.text+0xa68): undefined reference to `luaL_loadfile' lua.c:(.text+0xab2): undefined reference to `lua_tolstring' lua.c:(.text+0xadf): undefined reference to `luaL_loadfile' lua.c:(.text+0xb29): undefined reference to `lua_tolstring' lua.c:(.text+0xb80): undefined reference to `luaL_loadbuffer' lua.c:(.text+0xbce): undefined reference to `lua_tolstring' lua.c:(.text+0xbfe): undefined reference to `luaL_loadfile' lua.c:(.text+0xc48): undefined reference to `lua_tolstring' pcre.o: In function `luaopen_ifre': pcre.c:(.text+0x25): undefined reference to `luaL_openlib' pcre.o: In function `ifre_free': pcre.c:(.text+0x53): undefined reference to `luaL_error' pcre.c:(.text+0x6b): undefined reference to `luaL_checktype' pcre.o: In function `ifre_exec': pcre.c:(.text+0xcc): undefined reference to `luaL_error' pcre.c:(.text+0xe7): undefined reference to `luaL_checktype' pcre.c:(.text+0x102): undefined reference to `luaL_checktype' pcre.c:(.text+0x11d): undefined reference to `luaL_checktype' pcre.c:(.text+0x1bc): undefined reference to `lua_objlen' pcre.c:(.text+0x1d9): undefined reference to `lua_tolstring' pcre.c:(.text+0x262): undefined reference to `lua_tolstring' pcre.o: In function `ifre_compile': pcre.c:(.text+0x33b): undefined reference to `luaL_error' pcre.c:(.text+0x353): undefined reference to `luaL_checktype' pcre.c:(.text+0x36b): undefined reference to `luaL_checktype' pcre.c:(.text+0x3a8): undefined reference to `lua_tolstring' pcre.o: In function `ifre_flags': pcre.c:(.text+0x493): undefined reference to `luaL_error' pcre.c:(.text+0x4ab): undefined reference to `lua_createtable' system.o: In function `luaopen_ifsys': system.c:(.text+0x25): undefined reference to `luaL_openlib' system.o: In function `ifsys_daemon': system.c:(.text+0x52): undefined reference to `luaL_error' system.o: In function `ifsys_sleep': system.c:(.text+0x1b7): undefined reference to `luaL_error' system.c:(.text+0x1cf): undefined reference to `luaL_checktype' system.o: In function `ifsys_write': system.c:(.text+0x25e): undefined reference to `luaL_error' system.c:(.text+0x276): undefined reference to `luaL_checktype' system.c:(.text+0x28e): undefined reference to `luaL_checktype' system.c:(.text+0x2b8): undefined reference to `lua_tolstring' system.c:(.text+0x2e6): undefined reference to `lua_tolstring' system.o: In function `ifsys_read': system.c:(.text+0x35f): undefined reference to `luaL_error' system.c:(.text+0x37d): undefined reference to `luaL_checktype' system.c:(.text+0x3c3): undefined reference to `luaL_buffinit' system.c:(.text+0x3d1): undefined reference to `luaL_prepbuffer' system.c:(.text+0x42e): undefined reference to `luaL_pushresult' system.c:(.text+0x452): undefined reference to `luaL_pushresult' system.c:(.text+0x468): undefined reference to `lua_objlen' system.o: In function `ifsys_pclose': system.c:(.text+0x4a4): undefined reference to `luaL_error' system.c:(.text+0x4bc): undefined reference to `luaL_checktype' system.o: In function `ifsys_popen': system.c:(.text+0x550): undefined reference to `luaL_error' system.c:(.text+0x568): undefined reference to `luaL_checktype' system.c:(.text+0x580): undefined reference to `luaL_checktype' system.c:(.text+0x5b0): undefined reference to `lua_tolstring' system.c:(.text+0x5ca): undefined reference to `lua_tolstring' system.o: In function `ifsys_noecho': system.c:(.text+0x63a): undefined reference to `luaL_error' system.o: In function `ifsys_echo': system.c:(.text+0x739): undefined reference to `luaL_error' collect2: выполнение ld завершилось с кодом возврата 1 make: *** [imapfilter] Ошибка 1 Все что связанно с lua в системе уже стоит. dev-пакеты в том числе. Куда копать? -- С наилучшими... Павел "Che" Лецкий Registered Ubuntu User # 10232 -- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
