<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>缶詰ファクトリー - さばかん 自宅サーバーBlog &#187; アーカイバ</title>
	<atom:link href="http://s-srv.net/archives/tag/%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%90/feed" rel="self" type="application/rss+xml" />
	<link>http://s-srv.net</link>
	<description>現役サーバー管理者ですけど。サーバーブログというよか単なるハードウェアヲタクだぁね。</description>
	<lastBuildDate>Sat, 26 Sep 2009 14:51:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://s-srv.net/archives/tag/%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%90/feed" />
		<item>
		<title>DARのよくあるインストール時エラーと対処法</title>
		<link>http://s-srv.net/archives/36</link>
		<comments>http://s-srv.net/archives/36#comments</comments>
		<pubDate>Mon, 07 Jul 2008 12:05:52 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[自宅サーバー]]></category>
		<category><![CDATA[DAR]]></category>
		<category><![CDATA[アーカイバ]]></category>
		<category><![CDATA[エラー]]></category>
		<category><![CDATA[バックアップ]]></category>

		<guid isPermaLink="false">http://s-srv.net/?p=36</guid>
		<description><![CDATA[				　tarとDARでも紹介した、なかなか高速で多機能なアーカイバのDAR（Disk ARchive）ですが、仕事で大量のサーバー機にインストールしていたら、ふたつほどよくあるconfigureとコンパイルエラーがあ [...]]]></description>
			<content:encoded><![CDATA[				<p>　<a href="http://s-srv.net/archives/18">tarとDAR</a>でも紹介した、なかなか高速で多機能なアーカイバの<a href="http://dar.linux.free.fr/">DAR（Disk ARchive）</a>ですが、仕事で大量のサーバー機にインストールしていたら、ふたつほどよくあるconfigureとコンパイルエラーがあったので紹介しておきたいと思います。</p>
				<p>　先にインストール方法をざっと。<a href="http://dar.linux.free.fr/">DAR公式サイト</a>から最新版がダウンロードできます。んで</p>
				<blockquote><p># ./configure</p></blockquote>
				<p>して、展開したディレクトリに入ってスーパーユーザーで</p>
				<blockquote><p># make</p></blockquote>
				<blockquote><p># make install-strip</p></blockquote>
				<p>するだけです。これでインストールは完了。darと入力してEnterを押し、英語で「引数が足りません」的なことが表示されたらOKです。</p>
				<p>　よくあるエラー。まず、RHEL系ではconfigure時に</p>
				<blockquote><p>&#8220;g++: /lib/libattr.a: No such file or directory&#8221;</p></blockquote>
				<p>というエラーを吐くことがあります（<a href="http://tomo.ac/goodstream/backup/dar/index.html">参考</a>）。これは</p>
				<blockquote><p># ln -s /usr/lib/libattr.a /lib/libattr.a</p></blockquote>
				<p>として、DARが指定するディレクトリにシンボリックリンクをはってやればOKです。</p>
				<p>　もうひとつはインストール後に気づくことが多いので多少厄介ですが（DARは速いけど、DAR自体のコンパイルは割と掛かるので…）、インストール後にdarを実行したときに、引数リストではなく</p>
				<blockquote><p>dar: error while loading shared libraries: libdar.so.4: cannot open shared object file: No such file or directory.</p></blockquote>
				<p>と表示されることがあります。これもupdatedb→locateとかやってみると、ファイル自体は存在してるので、あるいはln -sで解決するのかも知れませんが、とりあえず</p>
				<blockquote><p># make distclean</p></blockquote>
				<p>して、以下のオプションをつけてconfigureしなおすと問題なく動くようです。</p>
				<blockquote><p># ./configure &#8211;disable-shared</p></blockquote>
				<p>　こちらのエラーは英語の資料漁ってどっか（ソース紛失）で見つけたので、一応エラー集としておいときます。日本語の資料がまだまだ少ないようなので、参考までに。</p>
				<p>参考：<br />
				◆<a href="http://asshole.dip.jp/dar_backup.php">DARで賢くバックアップ</a><br />
				◆<a href="http://www.miloweb.net/dar.html">DARでシステムのバックアップ</a></p>
]]></content:encoded>
			<wfw:commentRss>http://s-srv.net/archives/36/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://s-srv.net/archives/36" />
	</item>
	</channel>
</rss>
