---
title: "Berkeleydb linux 编译问题"
author: "winds_he"
date: "2014-01-06T10:23:29Z"
tags: []
categories: ["数据库"]
slug: "berkeleydb-linux"
draft: false
lastmod: "2014-01-06T10:23:29Z"
id: 1999310
url: "https://winds-he.iteye.com/blog/1999310"
---

日志：
操作系统：centOS 6.4 
gcc: 4.4.7

编译成功，make时出现：gcc libstdc++.a: could not read symbols: Bad value

解决方法：

加入参数：--with-expat=builtin

../dist/configure -enable-lib64 -libdir=/usr/lib64 --prefix=/usr/local/berkeleydb --with-expat=builtin --enable-cxx