eXtremeDB Compile --cannot find lpthread

来源:互联网 发布:中企动力源码下载 编辑:程序博客网 时间:2024/06/10 09:41

1.Disable static linkage for eXtremeDB’s build system

Unpackthe package again to restore include/header.mak file and other modified filesif any

Openinclude/header.mak and navigate to line #663. You will see following:

 

STATICF          = -static


Change it this way:

 

STATICF          =

 

Thiswill disable static flag and gcc will be free to use dynamic version of cCruntime.

 

2.Install missing static libraries. Here you will need to login as administrator(root by default) and issue following

 

#yum grouplist

 

Thiswill give you a list of installed/available to install package groups. Select"Development tools” (it may be named somehow similar, in our installationit is "Development tools”) and install it:

 

#yum groupinstall "Development tools”

 

Thiswill install static version of C runtime and next command “make x64=onSHOW_BUILD_LOG=on” should pass without problems.


If the problem didnot disappear, please use: 

yum -y install   glibc-static


The problem would be gone.


0 0