Не найден libperl.so

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
ProFTP
подполковник
Сообщения: 3388
Зарегистрирован: 2008-04-13 1:50:04
Откуда: %&й
Контактная информация:

Re: Не найден libperl.so

Непрочитанное сообщение ProFTP » 2008-08-26 16:30:21

снеси всё полносью и поставь заново... :Yahoo!:
Pеrl FAQ
perl -e 'print join"",map $$_[rand@$_],([0..9,'a'..'z','A'..'Z'])x30'
ИзображениеИзображение

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
ce-zar
ефрейтор
Сообщения: 60
Зарегистрирован: 2008-04-03 15:37:09
Откуда: Санкт-Петербург

Re: Не найден libperl.so

Непрочитанное сообщение ce-zar » 2008-08-26 16:48:10

Пытаюсь установить mod_perl-1.30, вылезают такие ошибки:

Код: Выделить всё

In file included from apache_inc.h:129,
                 from mod_perl.h:162,
                 from mod_perl.c:58:
/usr/local/include/apache22/http_vhost.h:37: error: syntax error before '*' token
/usr/local/include/apache22/http_vhost.h:45: error: syntax error before '*' token
/usr/local/include/apache22/http_vhost.h:53: error: syntax error before '*' token
/usr/local/include/apache22/http_vhost.h:111: error: syntax error before "apr_port_t"
In file included from mod_perl.c:58:
mod_perl.h:248: error: syntax error before "table"
mod_perl.h:260: error: syntax error before '*' token
mod_perl.h:260: warning: data definition has no type or storage class
mod_perl.h:262: error: syntax error before '*' token
mod_perl.h:262: warning: data definition has no type or storage class
In file included from mod_perl.c:58:
mod_perl.h:1022: error: syntax error before "array_header"
mod_perl.h:1035: error: syntax error before "table"
mod_perl.h:1050: error: syntax error before "table"
mod_perl.h:1066: error: syntax error before "table"
mod_perl.h:1110: error: syntax error before "pool"
mod_perl.h:1120: error: syntax error before "pool"
mod_perl.h:1121: error: syntax error before "pool"
mod_perl.h:1123: error: syntax error before "pool"
mod_perl.h:1124: error: syntax error before "pool"
mod_perl.h:1155: error: syntax error before '*' token
mod_perl.h:1156: error: syntax error before '*' token
mod_perl.h:1156: error: syntax error before "pool"
mod_perl.h:1156: warning: data definition has no type or storage class
mod_perl.h:1157: error: syntax error before '*' token
mod_perl.h:1157: warning: data definition has no type or storage class
mod_perl.h:1161: error: syntax error before '*' token
mod_perl.h:1170: error: syntax error before "pool"
mod_perl.h:1174: error: syntax error before "pool"
mod_perl.h:1175: error: syntax error before '*' token
mod_perl.h:1175: warning: data definition has no type or storage class
mod_perl.h:1200: error: syntax error before '*' token
mod_perl.h:1201: error: syntax error before '*' token
mod_perl.h:1202: error: syntax error before '*' token
mod_perl.h:1203: error: syntax error before '*' token
mod_perl.h:1204: error: syntax error before '*' token
mod_perl.h:1266: error: syntax error before '*' token
mod_perl.h:1267: error: syntax error before '*' token
mod_perl.h:1270: error: syntax error before '*' token
mod_perl.h:1281: error: syntax error before '*' token
mod_perl.h:1281: warning: data definition has no type or storage class
mod_perl.h:1282: error: syntax error before '*' token
mod_perl.h:1282: warning: data definition has no type or storage class
mod_perl.h:1291: error: syntax error before "pool"
mod_perl.c:186: error: syntax error before "perl_handlers"
mod_perl.c:187: warning: braces around scalar initializer
mod_perl.c:187: warning: (near initialization for `perl_handlers[0]')
mod_perl.c:187: warning: initialization makes integer from pointer without a cast
mod_perl.c:187: warning: excess elements in scalar initializer
mod_perl.c:187: warning: (near initialization for `perl_handlers[0]')
mod_perl.c:188: warning: braces around scalar initializer
mod_perl.c:188: warning: (near initialization for `perl_handlers[1]')
mod_perl.c:188: warning: initialization makes integer from pointer without a cast
mod_perl.c:188: warning: excess elements in scalar initializer
mod_perl.c:188: warning: (near initialization for `perl_handlers[1]')
mod_perl.c:189: warning: braces around scalar initializer
mod_perl.c:189: warning: (near initialization for `perl_handlers[2]')
mod_perl.c:189: warning: initialization makes integer from pointer without a cast
mod_perl.c:190: warning: data definition has no type or storage class
mod_perl.c:193: error: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function)
mod_perl.c:193: error: initializer element is not constant
mod_perl.c:193: error: (near initialization for `perl_module.version')
mod_perl.c:194: warning: initialization makes integer from pointer without a cast
mod_perl.c:195: warning: initialization makes integer from pointer without a cast
mod_perl.c:196: warning: initialization from incompatible pointer type
mod_perl.c:198: warning: initialization from incompatible pointer type
mod_perl.c:199: warning: initialization makes integer from pointer without a cast
mod_perl.c:200: warning: initialization from incompatible pointer type
mod_perl.c:201: warning: initialization from incompatible pointer type
mod_perl.c:202: warning: initialization from incompatible pointer type
mod_perl.c:203: warning: initialization from incompatible pointer type
mod_perl.c:204: warning: initialization from incompatible pointer type
mod_perl.c:205: warning: initialization from incompatible pointer type
mod_perl.c:206: warning: initialization from incompatible pointer type
mod_perl.c:207: warning: excess elements in struct initializer
mod_perl.c:207: warning: (near initialization for `perl_module')
mod_perl.c:209: warning: excess elements in struct initializer
mod_perl.c:209: warning: (near initialization for `perl_module')
mod_perl.c:212: warning: excess elements in struct initializer
mod_perl.c:212: warning: (near initialization for `perl_module')
mod_perl.c:215: warning: excess elements in struct initializer
mod_perl.c:215: warning: (near initialization for `perl_module')
mod_perl.c:218: warning: excess elements in struct initializer
mod_perl.c:218: warning: (near initialization for `perl_module')
mod_perl.c: In function `seqno_check_max':
mod_perl.c:235: error: `array_header' undeclared (first use in this function)
mod_perl.c:235: error: (Each undeclared identifier is reported only once
mod_perl.c:235: error: for each function it appears in.)
mod_perl.c:235: error: `vars' undeclared (first use in this function)
mod_perl.c:235: error: syntax error before ')' token
mod_perl.c:242: error: structure has no member named `vars'
mod_perl.c:243: error: structure has no member named `vars'
mod_perl.c: At top level:
mod_perl.c:256: error: syntax error before "pool"
mod_perl.c:305: error: syntax error before "pool"
mod_perl.c: In function `mp_fake_request_rec':
mod_perl.c:307: error: `p' undeclared (first use in this function)
mod_perl.c:308: error: structure has no member named `pool'
mod_perl.c:309: error: `s' undeclared (first use in this function)
mod_perl.c:311: error: `hook' undeclared (first use in this function)
mod_perl.c:312: error: structure has no member named `notes'
mod_perl.c: At top level:
mod_perl.c:317: error: syntax error before "pool"
mod_perl.c: In function `perl_restart_handler':
mod_perl.c:321: error: `s' undeclared (first use in this function)
mod_perl.c:322: error: `p' undeclared (first use in this function)
mod_perl.c:323: error: structure has no member named `notes'
mod_perl.c:323: error: structure has no member named `notes'
mod_perl.c: At top level:
mod_perl.c:327: error: syntax error before "pool"
mod_perl.c: In function `perl_restart':
mod_perl.c:357: error: `s' undeclared (first use in this function)
mod_perl.c:357: error: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:420: error: syntax error before '*' token
mod_perl.c:420: error: syntax error before '*' token
mod_perl.c: In function `xs_dl_librefs':
mod_perl.c:425: error: `array_header' undeclared (first use in this function)
mod_perl.c:425: error: `arr' undeclared (first use in this function)
mod_perl.c:434: error: `p' undeclared (first use in this function)
mod_perl.c:447: warning: cast to pointer from integer of different size
mod_perl.c: At top level:
mod_perl.c:462: error: syntax error before '*' token
mod_perl.c: In function `unload_xs_so':
mod_perl.c:466: error: `librefs' undeclared (first use in this function)
mod_perl.c: In function `mp_dso_unload':
mod_perl.c:485: error: `array_header' undeclared (first use in this function)
mod_perl.c:485: error: `librefs' undeclared (first use in this function)
mod_perl.c:487: error: `pool' undeclared (first use in this function)
mod_perl.c:487: error: syntax error before ')' token
mod_perl.c: At top level:
mod_perl.c:561: error: syntax error before "pool"
mod_perl.c: In function `perl_module_init':
mod_perl.c:576: error: `s' undeclared (first use in this function)
mod_perl.c:576: error: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:601: error: syntax error before "pool"
mod_perl.c: In function `perl_startup':
mod_perl.c:606: error: `s' undeclared (first use in this function)
mod_perl.c:611: error: `server_argv0' undeclared (first use in this function)
mod_perl.c:649: error: `p' undeclared (first use in this function)
mod_perl.c:788: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
mod_perl.c:789: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
mod_perl.c:802: error: structure has no member named `PerlRequire'
mod_perl.c:803: error: structure has no member named `PerlRequire'
mod_perl.c:811: error: structure has no member named `PerlModule'
mod_perl.c:812: error: structure has no member named `PerlModule'
mod_perl.c:833: error: `null_cleanup' undeclared (first use in this function)
mod_perl.c: In function `perl_handler':
mod_perl.c:906: error: structure has no member named `pool'
mod_perl.c:911: error: structure has no member named `notes'
mod_perl.c:911: error: structure has no member named `notes'
mod_perl.c: At top level:
mod_perl.c:934: error: syntax error before "pool"
mod_perl.c: In function `perl_child_exit_cleanup':
mod_perl.c:940: error: structure has no member named `pool'
mod_perl.c: At top level:
mod_perl.c:943: error: syntax error before "pool"
mod_perl.c: In function `perl_child_init':
mod_perl.c:947: error: `s' undeclared (first use in this function)
mod_perl.c:948: error: `p' undeclared (first use in this function)
mod_perl.c:953: error: structure has no member named `pool'
mod_perl.c:954: error: `null_cleanup' undeclared (first use in this function)
mod_perl.c:958: error: structure has no member named `notes'
mod_perl.c:958: error: structure has no member named `notes'
mod_perl.c: At top level:
mod_perl.c:963: error: syntax error before "pool"
mod_perl.c: In function `perl_child_exit':
mod_perl.c:967: error: `s' undeclared (first use in this function)
mod_perl.c:968: error: `p' undeclared (first use in this function)
mod_perl.c:970: error: structure has no member named `notes'
mod_perl.c:970: error: structure has no member named `notes'
mod_perl.c: In function `do_proxy':
mod_perl.c:978: error: structure has no member named `parsed_uri'
mod_perl.c:979: error: structure has no member named `parsed_uri'
mod_perl.c:980: error: structure has no member named `parsed_uri'
mod_perl.c:980: warning: passing arg 2 of `strcmp' makes pointer from integer without a cast
mod_perl.c:981: error: structure has no member named `parsed_uri'
mod_perl.c:982: error: structure has no member named `parsed_uri'
mod_perl.c:983: error: structure has no member named `parsed_uri'
mod_perl.c: In function `perl_post_read_request':
mod_perl.c:1001: error: structure has no member named `notes'
mod_perl.c:1001: error: structure has no member named `notes'
mod_perl.c:1003: error: structure has no member named `notes'
mod_perl.c:1003: error: structure has no member named `notes'
mod_perl.c: In function `perl_translate':
mod_perl.c:1013: error: structure has no member named `notes'
mod_perl.c:1013: error: structure has no member named `notes'
mod_perl.c: In function `perl_header_parser':
mod_perl.c:1024: error: structure has no member named `notes'
mod_perl.c:1024: error: structure has no member named `notes'
mod_perl.c:1027: error: structure has no member named `notes'
mod_perl.c:1027: error: structure has no member named `notes'
mod_perl.c: In function `perl_authenticate':
mod_perl.c:1038: error: structure has no member named `notes'
mod_perl.c:1038: error: structure has no member named `notes'
mod_perl.c: In function `perl_authorize':
mod_perl.c:1048: error: structure has no member named `notes'
mod_perl.c:1048: error: structure has no member named `notes'
mod_perl.c: In function `perl_access':
mod_perl.c:1058: error: structure has no member named `notes'
mod_perl.c:1058: error: structure has no member named `notes'
mod_perl.c: In function `perl_type_checker':
mod_perl.c:1068: error: structure has no member named `notes'
mod_perl.c:1068: error: structure has no member named `notes'
mod_perl.c: In function `perl_fixup':
mod_perl.c:1078: error: structure has no member named `notes'
mod_perl.c:1078: error: structure has no member named `notes'
mod_perl.c: In function `perl_logger':
mod_perl.c:1088: error: structure has no member named `notes'
mod_perl.c:1088: error: structure has no member named `notes'
mod_perl.c: In function `per_request_cleanup':
mod_perl.c:1132: error: structure has no member named `sigsave'
mod_perl.c:1133: error: structure has no member named `sigsave'
mod_perl.c: In function `mod_perl_end_cleanup':
mod_perl.c:1151: error: structure has no member named `notes'
mod_perl.c:1151: error: structure has no member named `notes'
mod_perl.c: In function `mod_perl_register_cleanup':
mod_perl.c:1265: error: structure has no member named `pool'
mod_perl.c: In function `perl_per_request_init':
mod_perl.c:1415: error: structure has no member named `subprocess_env'
mod_perl.c:1422: error: structure has no member named `pool'
mod_perl.c:1430: error: structure has no member named `dir_env'
mod_perl.c:1430: error: structure has no member named `env'
mod_perl.c:1436: error: structure has no member named `dir_env'
mod_perl.c:1436: error: structure has no member named `env'
mod_perl.c:1451: error: structure has no member named `subprocess_env'
mod_perl.c:1461: error: structure has no member named `pool'
mod_perl.c:1466: error: structure has no member named `pool'
mod_perl.c:1475: error: structure has no member named `error_log'
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1520: error: structure has no member named `pool'
mod_perl.c:1520: warning: initialization makes pointer from integer without a cast
mod_perl.c:1681: error: `SERVER_ERROR' undeclared (first use in this function)
mod_perl.c:1683: error: structure has no member named `notes'
mod_perl.c:1684: error: structure has no member named `notes'
mod_perl.c: In function `perl_request_rec':
mod_perl.c:1728: warning: cast from pointer to integer of different size
mod_perl.c:1732: warning: cast to pointer from integer of different size
mod_perl.c: In function `perl_setup_env':
mod_perl.c:1747: error: `array_header' undeclared (first use in this function)
mod_perl.c:1747: error: `arr' undeclared (first use in this function)
mod_perl.c:1748: error: `table_entry' undeclared (first use in this function)
mod_perl.c:1748: error: `elts' undeclared (first use in this function)
mod_perl.c:1748: error: syntax error before ')' token
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci.
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.30.
*** Error code 1

Stop in /usr/ports/www/mod_perl.
mail#
Как с этим бороться?
Ни фига не пойму...

Аватара пользователя
ProFTP
подполковник
Сообщения: 3388
Зарегистрирован: 2008-04-13 1:50:04
Откуда: %&й
Контактная информация:

Re: Не найден libperl.so

Непрочитанное сообщение ProFTP » 2008-08-26 17:15:26

если spamassassin выдает ошибку, т оон работает отобычного перал, и mod_perl тут не причем тогда

удали все и поставь заново, быстрее будет...
Pеrl FAQ
perl -e 'print join"",map $$_[rand@$_],([0..9,'a'..'z','A'..'Z'])x30'
ИзображениеИзображение

Аватара пользователя
ce-zar
ефрейтор
Сообщения: 60
Зарегистрирован: 2008-04-03 15:37:09
Откуда: Санкт-Петербург

Re: Не найден libperl.so

Непрочитанное сообщение ce-zar » 2008-08-26 18:53:33

ProFTP писал(а):если spamassassin выдает ошибку, т оон работает отобычного перал, и mod_perl тут не причем тогда

удали все и поставь заново, быстрее будет...
Да уж, 3 дня потратил. Уже и на пхп с опцией дебаг грешил....
Все сношу... :(
Да и к лучшему, наверное... :smile:
Ни фига не пойму...

Аватара пользователя
ce-zar
ефрейтор
Сообщения: 60
Зарегистрирован: 2008-04-03 15:37:09
Откуда: Санкт-Петербург

Re: Не найден libperl.so

Непрочитанное сообщение ce-zar » 2008-08-27 10:41:19

Помогла только полная переустановка с нуля на другой винт.
Всем огромное спасибо за участие!!! :smile:
Ни фига не пойму...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Не найден libperl.so

Непрочитанное сообщение Alex Keda » 2010-05-16 17:34:13

всем наступившим на эти грабли, посвящается.

объясняю причину возникновения ошибки.
1. был собран perl c галкой threads
2. были собраны модули.
3. был пересобран perl без галки threads

==========
для исправления - зайдите в директорию порта, поставьте галку, пересоберите perl
быть может придётся пересобрать модули - смотря сколько вы успели наломать дров с момента когда была обнаружена ошибка.
Убей их всех! Бог потом рассортирует...