<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Berkeley DB libraries</title>
	<link>http://ask.metafilter.com/11171/Berkeley-DB-libraries/</link>
	<description>Comments on Ask MetaFilter post Berkeley DB libraries</description>
	<pubDate>Sat, 23 Oct 2004 15:02:02 -0800</pubDate>
	<lastBuildDate>Sat, 23 Oct 2004 15:02:02 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Berkeley DB libraries</title>
		<link>http://ask.metafilter.com/11171/Berkeley-DB-libraries</link>	
		<description>Yet another dorky Linux question: how can I install an upgraded version of the &lt;a href=&quot;http://www.sleepycat.com/download/db/index.shtml&quot;&gt;Berkeley DB libraries&lt;/a&gt; on my RedHat Linux 9 machine without totally horking all the apps that are installed that rely on the older version?  (more inside) &lt;br /&gt;&lt;br /&gt; I currently have the latest version of 4.0 installed, which is the highest version supported by the RedHat RPM system.  Too many apps to conceive of have been compiled against that version; while I wouldn&apos;t begin to know how to find them all, I do know that a bunch (including my IMAP server, my webserver, and a few other system-critical services) use v4.0 for their support files.  I now have two apps that need v4.2 in order to compile.&lt;br&gt;
&lt;br&gt;
I compiled v4.2 using the latest source from the SleepyCat site, and installed it in the default location (/usr/local/BerkeleyDB.4.2/); that&apos;s relatively nonstandard for RedHat, so when I started compiling one of the apps that needs v4.2, I gave ./configure the relevant command-line options (LDFLAGS, CPPFLAGS).  Configure completed without issue, but the compile step wouldn&apos;t complete because it couldn&apos;t track down all the header files.  So then I realized that it probably makes sense to try to install v4.2 in the &quot;standard&quot; RedHat locations (/usr/lib, /usr/include, etc.)  I have TERRIBLE memories of this failing miserably in the past -- totally screwing up old apps, bringing my system to its knees, that sort of thing -- so now I reach out to my AskMe buddies for help!  Is there a way to do this which (a) allows newly-compiling apps to find the libraries easily, and (b) allows old apps to still use the v4.0 libraries without complaining?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2004:site.11171</guid>
		<pubDate>Sat, 23 Oct 2004 11:16:41 -0800</pubDate>
		<dc:creator>delfuego</dc:creator>
		
			<category>linux</category>
		
			<category>BerkeleyDB</category>
		
			<category>Berkeley</category>
		
			<category>DB</category>
		
			<category>redhat</category>
		
			<category>install</category>
		
	</item> <item>
		<title>By: nicwolff</title>
		<link>http://ask.metafilter.com/11171/Berkeley-DB-libraries#198269</link>	
		<description>BerkeleyDB upgrades are indeed a bitch. Can the new apps run chrooted?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.11171-198269</guid>
		<pubDate>Sat, 23 Oct 2004 15:02:02 -0800</pubDate>
		<dc:creator>nicwolff</dc:creator>
	</item><item>
		<title>By: RustyBrooks</title>
		<link>http://ask.metafilter.com/11171/Berkeley-DB-libraries#198393</link>	
		<description>The new app just needs to be able to find the libraries at run time.  And it&apos;s perfectly &quot;legal&quot; to have several versions of library in play at once.  The trick is going to be getting it compiled.  You may be able to do this on another computer.  If worse comes to worse you can try to compile a static version of the app.  You can probably edit the makefile to make sure you have a -I entry that matches where you installed the header files.&lt;br&gt;
&lt;br&gt;
(YMMV -- I&apos;ve done this lots of times with other kinds of libraries, never with berkely db)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.11171-198393</guid>
		<pubDate>Sun, 24 Oct 2004 07:16:37 -0800</pubDate>
		<dc:creator>RustyBrooks</dc:creator>
	</item>
	</channel>
</rss>
