Error Cannot Find Libdb.so In /usr/local/berkeleydb.4.7/lib
am taking some classes at a local university. One of the classes I am taking this semester is Big Data. For this class, I have a project, where I have to evaluate MemcacheDB, which is a key-value based database. This particular article is going to be split into 3 parts: Introduction Installation Usage Part 1 - Introduction First thing first, "What the hell is MemcacheDB and why do I need it?" Both are great questions and I'll attempt to answer them to the best of my abilities. Let's start with "What" MemcacheDB is first and foremost a database. Unlike MySQL, SQLite and others, MemcacheDB is a NoSQL system, meaning that it uses data structures like Tree, Hash, Key-Value Pairs (KVP), and others to store data. This approach is very useful when you need fast data access form your application. MemcacheDB is a variant of Memcached database, which keeps all your data in a KVP in RAM thus providing a lightning fast access to your data. The main difference between MemcacheDB and MemcacheD is that MemcacheDB provides persistent storage on your disk. MemcacheDB is built on top of Berkeley DB. That means that you get the best of both worlds: Memcached protocol to access data and Berkeley DB features that include transac I hope that was a somewhat satisfying answer to the "What" question. Now, let's take a brief look at the "Why". To answer the "Why" question, let's revisit the infamous memory hierarchy pyramid:Image curtesy of http://www.ict4u.net/ As you can see, the higher in the pyramid you are, the less space you have (or the more expensive it gets) but you get REALLY fast access times. Since RAM is only 2 levels away from the CPU, its performance is pretty darn good. So, if you can spare couple of gigs of RAM to serve that frequently accessed data, your application's performance should improve dramatically! Here are some benchmark results. Part 2 - Installation Before we dive into the installation process, here is my setup: Box: VirtualBox VM OS: Ubuntu 12.04.4 LTS Desktop Edition RAM: 4GB HDD Size: 20GB Based on the instructions provided here, it was supposed to be pretty close to "copy/paste and you're done". Sadly, it proved to be slightly more complicated. Right off the bat, the url for the Berkeley DB in the INSTALL file is no longer valid. The correct url is as follows: http://www.oracle.com/database/berkeley-db/db/index.html. While that is not a problem, it was slightly annoying. After downloading the latest version of BerkeleyDB (6.0.30 as of this writing), I continued on with the
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie [SOLVED] install openldap berkley version errors User Name Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many http://blog.dimaj.net/content/getting-started-memcachedb other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, http://www.linuxquestions.org/questions/linux-newbie-8/install-openldap-berkley-version-errors-920859/ click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 3 1 23 > Search this Thread 12-28-2011, 06:20 AM #1 fwellers Member Registered: Dec 2011 Posts: 32 Rep: install openldap berkley version errors I hope this is the right place to post this and that I can get some help. I pretty much suck at troubleshooting build issues. we are running oracle red-hat linux 2.6.32-200.20.1.el5uek #1 SMP Fri Oct 7 02:29:42 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux tryin
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly https://community.oracle.com/thread/902040 without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. http://crazyming.blog.51cto.com/1048571/530763 Please type your message and try again. More discussions in Berkeley DB All PlacesDatabasePerformance & AvailabilityBerkeley DB FamilyBerkeley DB This discussion is archived error cannot 3 Replies Latest reply on May 15, 2009 5:07 PM by userBDBDMS-Oracle Berkeley DB Java Problem 701570 May 14, 2009 7:03 PM I am facing big problem in using Berkeley DB Java. I have downloaded 4.7 version. built it by +$cd build_unix+ +$sudo ../dist/configure --enable-java+ +$sudo make+ error cannot find +$sudo make install+ This installed the libs and jar file /usr/local/BerkeleyDB.4.7/lib/ . I have copied dbexamples.jar in that dir +$ls -l /usr/local/BerkeleyDB.4.7/lib/+ -rw-r--r-- 1 root root 216418 2009-05-15 00:00 dbexamples.jar -r--r--r-- 1 root root 499438 2009-05-14 23:41 db.jar -rw-r--r-- 1 root root 1701010 2009-05-14 23:41 libdb-4.7.a -rw-r--r-- 1 root root 821 2009-05-14 17:36 libdb-4.7.la -rwxr-xr-x 1 root root 1394997 2009-05-14 17:36 libdb-4.7.so lrwxrwxrwx 1 root root 12 2009-05-14 23:41 libdb-4.so -> libdb-4.7.so -rw-r--r-- 1 root root 1701010 2009-05-14 23:41 libdb.a lrwxrwxrwx 1 root root 12 2009-05-14 23:41 libdb.so -> libdb-4.7.so in my ~/.bashrc file I have added export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.7/lib/:. export CLASSPATH=$CLASSPATH:/usr/local/BerkeleyDB.4.7/lib/db.jar So +$ echo $CLASSPATH+ +:/usr/local/BerkeleyDB.4.7/lib/db.jar+ +$LD_LIBRARY_PATH+ +:/usr/local/BerkeleyDB.4.7/lib/:.+ I took db,AccessExample.java file and compiled it as default package. Now when I run that I get +$java -Djava.library.path=/usr/local/BerkeleyDB.4.7/lib/ AccessExample+ Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.7 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682
使用|Mysql|Shell|lvs负载均衡|虚拟化|Windows|SVN|Python学习|iphone crazylinuxming 的BLOG 写留言去学院学习发消息 加友情链接进家园 加好友 2012年度IT博客大赛十大杰出IT博客诞生 博客统计信息 用户名:crazylinuxming 文章数:120 评论数:56 访问量:230806 无忧币:731 博客积分:1130 博客等级:5 注册日期:2009-11-25 热门专题 更多>> 每天5分钟玩转 OpenStack 阅读量:5863 【51CTO三周年】我在学院不得不说的收获 阅读量:12276 从菜鸟到老鸟-教你玩转Mac操作系统 阅读量:341475 QT学习之路:从入门到精通 阅读量:1043100 热门文章 CentOS linux 安装kvm LINUX命令之ETHTOOL用法详解 Centos 5.5 编译安装mysq.. linux 添加路由 Nginx 正向代理 PHP安装错误 configure: .. 超高性能 key-value 数据.. sed 匹配某一行的前一行.. 搜索BLOG文章 最近访客 竹弦月 cys下.. 糖在.. lsh4032 lzuec.. baitu.. Torna.. hearthy yawei555 panpe.. wfl8015 wx57e.. 最新评论 linuxteach:你的系统有安装桌面? Linux顺子:端口3000 ttxsjh:还不错呦哦 ttxsjh:jjhjghhh typuc:看到你文章解决问题了,谢谢 唯一就.. 51CTO推荐博文 更多>> linux架构学习第二十六天之LAMP架.. 【实战】nginx版本升级到1.10 [故障解决]Mysql爆出ERROR 1044 (.. PXE+kickstart一键部署操作系统 Heartbeat+Haproxy实现负载均衡高.. MongoDB集群解决方案-分片技术 安装Linux后需要调整的一些参数【.. 博主干货:DNS原理及实战配置指南 谈谈存储软件的无锁设计 开发人员异地git clone 导致阿里.. DELL R730服务器从存储启动ESXi引.. 友情链接 IT精品课程 杨亚茹yyr UNIX/Linux Discovery 秦汉唐宋元 李晨光原创技术博客 远 飏 sery 相濡以沫 BSDerの-专注于开.. dongnan 老男孩的linux博客 运维日志 小才 技术成就梦想 badboy crazylinux工作室 开源技术架构、网.. fenghao.cn's .. linux爱好者 聆听未来 技术成就成就梦想 老林的技术博客 技术人才招聘 博主的更多文章>> sina memcachedb安装记录 2011-03-30 13:51:13 标签:职场 休闲 安装memcachedb cannot find libdb.so libevent 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://crazyming.blog.51cto.com/1048571/530763 下载需要安装的源码包: 用的是memcachedb-1.2.0 BerkeleyDB.5.1 wget http://memcachedb.googlecode.com/files/memcachedb-1.2.0.tar.gz BerkeleyDB.5.1 这个需要去Oracle注册下载 http://www.oracle.com/database/berkeley-db/db/index.html memcachedb 需要BerkeleyDB的支持,还有libevent,首先要安装BerkeleyDB 5.1 tar zxvf db-5.1.25.tar.gz cd db-5.1.25 cd build_u