Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Multithreading HP_UX上的libpthread版本不匹配_Multithreading_Pthreads_Hp Ux - Fatal编程技术网

Multithreading HP_UX上的libpthread版本不匹配

Multithreading HP_UX上的libpthread版本不匹配,multithreading,pthreads,hp-ux,Multithreading,Pthreads,Hp Ux,我有多线程应用程序,它在我的开发服务器(HP-UX)上运行良好。将其部署到客户端服务器时,会出现以下错误: . Process 16448. Starting (CONT) Thread: 0 /usr/lib/pa20_64/dld.sl: Unsatisfied code ymbol 'pthread_create' in load module 'bin/CCQO'. Killed 我发现客户服务器上的libpthread.1没有带有nm命令的pthread_create

我有多线程应用程序,它在我的开发服务器(HP-UX)上运行良好。将其部署到客户端服务器时,会出现以下错误:

. Process 16448. Starting (CONT) Thread: 0    /usr/lib/pa20_64/dld.sl:
 Unsatisfied code ymbol 'pthread_create' in load module 'bin/CCQO'.
    Killed
我发现客户服务器上的libpthread.1没有带有nm命令的pthread_create方法。从客户端服务器执行此操作:

/usr/lib/pa20_64 > nm -g libpthread.1 | grep 'pthread_cre'

    [475]    |   4611686018427436512|    1116|FUNC |GLOB |0|.text|__pthread_create_system
但是,当我在开发服务器上运行相同的命令时,会得到以下输出:

[733]    |   4611686018427467256|    2160|FUNC |GLOB |0| .text|__pthread_create_generic
[712]    |   4611686018427467192|      64|FUNC |GLOB |0| .text|__pthread_create_system
[625]    |   4611686018427467112|      64|FUNC |WEAK |0| .text|pthread_create 
我试图将库从我的服务器复制到客户机服务器,但它不起作用

请告诉我现在如何在我的机器和客户端机器上创建线程库的版本

如何使用更新的库更新客户端计算机

将我的库复制到其他服务器可以解决此问题吗?如果是,那么步骤是什么

我发现客户服务器上的libpthread.1没有带有nm命令的pthread_create方法

您客户的
libpthread.1
已损坏。可能是客户跑了
脱衣舞
,或者以其他方式骚扰它

将我的库复制到其他服务器可以解决此问题吗

这可能导致机器无法启动,您几乎肯定不应该这样做

正确的解决方案是让客户的系统管理员从HP-UX介质恢复系统库