On Mon, Aug 23, 2010 at 12:02:26PM +0700, Vit wrote:Здравствуйте! Есть несколько серверов под squeeze (только поставил) и проприетарное приложение, которое раньше работало нормально.Нужно сделать nm -D libkrb5support.so.0 в системе где работает и где нет. Заодно и версии сравнить.
с системой где работает - это сложнее. Это был старый (ядро 2.6.16) SLES, который уже давно без поддержки и потому не обновлялся. Debian squeeze: vit@host /usr/lib64 # nm -D libkrb5support.so.0 0000000000000000 A HIDDEN w _Jv_RegisterClasses U __assert_fail w __cxa_finalize U __errno_location w __gmon_start__ U __snprintf_chk U __strdup U __vsnprintf_chk U __xpg_strerror_r U __xstat U asprintf U calloc U closedir U dlclose U dlerror U dlopen U dlsym U free U freeaddrinfo U gai_strerror U getaddrinfo U getnameinfo 0000000000004400 T krb5int_buf_add 0000000000004110 T krb5int_buf_add_fmt 00000000000043a0 T krb5int_buf_add_len 0000000000003f30 T krb5int_buf_data 0000000000004440 T krb5int_buf_init_dynamic 0000000000003fa0 T krb5int_buf_init_fixed 0000000000003f40 T krb5int_buf_len 0000000000003f60 T krb5int_buf_truncate 00000000000039b0 T krb5int_clear_error 0000000000002fd0 T krb5int_close_plugin 0000000000002ff0 T krb5int_close_plugin_dirs 0000000000003ff0 T krb5int_free_buf 0000000000003990 T krb5int_free_error 0000000000002f70 T krb5int_free_plugin_dir_data 0000000000002f60 T krb5int_free_plugin_dir_func 00000000000045c0 T krb5int_freeaddrinfo 00000000000045b0 T krb5int_gai_strerror 0000000000003cb0 T krb5int_get_error 0000000000003220 T krb5int_get_plugin_data 0000000000003230 T krb5int_get_plugin_dir_data 0000000000003100 T krb5int_get_plugin_dir_func 00000000000030c0 T krb5int_get_plugin_func 00000000000045d0 T krb5int_getaddrinfo 00000000000045a0 T krb5int_getnameinfo 0000000000002950 T krb5int_getspecific 0000000000004480 T krb5int_gmt_mktime 0000000000005c70 R krb5int_in6addr_any 0000000000002d00 T krb5int_key_delete 0000000000002790 T krb5int_key_register 0000000000002580 T krb5int_mutex_alloc 0000000000002560 T krb5int_mutex_free 0000000000002dc0 T krb5int_mutex_lock 0000000000002540 T krb5int_mutex_unlock 0000000000003350 T krb5int_open_plugin 0000000000003470 T krb5int_open_plugin_dirs 0000000000002440 T krb5int_pthread_loaded 0000000000003c10 T krb5int_set_error 0000000000003b80 T krb5int_set_error_fl 0000000000003ee0 T krb5int_set_error_info_callout_fn 0000000000002ae0 T krb5int_setspecific 0000000000005830 T krb5int_strlcat 00000000000057e0 T krb5int_strlcpy 00000000000050a0 T krb5int_ucs2lecs_to_utf8s 0000000000004790 T krb5int_ucs4_to_utf8 0000000000005c80 R krb5int_utf8_lentab 0000000000005d00 R krb5int_utf8_mintab 0000000000004960 T krb5int_utf8_next 0000000000004680 T krb5int_utf8_to_ucs4 0000000000005510 T krb5int_utf8cs_to_ucs2les 0000000000005670 T krb5int_utf8s_to_ucs2les 0000000000003b70 T krb5int_vset_error 00000000000039d0 T krb5int_vset_error_fl 00000000000057d0 T krb5int_zap 0000000000000000 A krb5support_0_MIT U malloc U memcpy U memset U opendir w pthread_create w pthread_equal w pthread_getspecific w pthread_join w pthread_key_create w pthread_key_delete w pthread_mutex_destroy w pthread_mutex_init w pthread_mutex_lock w pthread_mutex_unlock w pthread_once w pthread_self w pthread_setspecific U readdir U realloc U strerror U strlen U strncpy U strrchr U vasprintf SLES vitya ~/backup/usr/lib64 $ nm -D libkrb5support.so.0 0000000000000000 A HIDDEN w _Jv_RegisterClasses U __assert_fail w __cxa_finalize U __errno_location w __gmon_start__ U free 0000000000102680 D krb5int_fac 0000000000001830 T krb5int_getspecific 0000000000001340 T krb5int_key_delete 00000000000014a0 T krb5int_key_register 0000000000001c80 T krb5int_lock_fac 0000000000000fb0 T krb5int_pthread_loaded 00000000000019a0 T krb5int_setspecific 0000000000001bf0 T krb5int_unlock_fac 0000000000000000 A krb5support_0_MIT U malloc w pthread_create w pthread_equal w pthread_getspecific w pthread_join w pthread_key_create w pthread_key_delete w pthread_mutex_destroy w pthread_mutex_init w pthread_mutex_lock w pthread_mutex_unlock w pthread_mutexattr_setrobust_np w pthread_once w pthread_self w pthread_setspecific Про версии не скажу, т.к. не знаю.