<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.1-alpha" -->
<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/"
>

<channel>
	<title>the other side of the firewall</title>
	<link>http://sahuguet.blogsome.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 31 Dec 2005 16:23:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1-alpha</generator>
	<language>en</language>

		<item>
		<title>installing postgres on Solaris 10</title>
		<link>http://sahuguet.blogsome.com/2005/08/25/installing-postgres-on-solaris-10/</link>
		<comments>http://sahuguet.blogsome.com/2005/08/25/installing-postgres-on-solaris-10/#comments</comments>
		<pubDate>Thu, 25 Aug 2005 22:51:08 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Hacks</category>
	<category>Solaris</category>
	<category>Development</category>
	<category>Databases</category>
		<guid>http://sahuguet.blogsome.com/2005/08/25/installing-postgres-on-solaris-10/</guid>
		<description><![CDATA[	I had some minor trouble installing postgres on Solaris 10.
For instance, I had the following error message:

ld.so.1: initdb: fatal: libreadline.so.5: open failed:
No such file or directory
Killed

	So, here is a summary of what I had to do.
	
	install the libreadline package (can be found on the Sun web site)
pkgadd -d  SFWrline

	install the postgres package (postgresql-8.0.1-sol10-sparc-local) from [...]]]></description>
			<content:encoded><![CDATA[	<p>I had some minor trouble installing postgres on Solaris 10.<br />
For instance, I had the following error message:<br />
<code><br />
ld.so.1: initdb: fatal: libreadline.so.5: open failed:<br />
No such file or directory<br />
Killed<br />
</code></p>
	<p>So, here is a summary of what I had to do.</p>
	<ul>
	<li>install the libreadline package (can be found on <a href="http://www.sun.com/software/solaris/freeware/">the Sun web site</a>)<br />
<code>pkgadd -d  SFWrline</code>
</li>
	<li>install the <a href="http://www.sunfreeware.com/programlistintel10.html#postgresql">postgres package</a> (postgresql-8.0.1-sol10-sparc-local) from sunfreeware<br />
<code>pkgadd -d postgresql-8.0.1-sol10-sparc-local<br />
</code></li>
	<li> add a symbolic link for libreadline.so.5<br />
<code>ln -s libreadline.so libreadline.so.5</code>
</li>
	<li>make sure your <code>LD_LIBRARY_PATH</code> is properly set-up<br />
<code>export LD_LIBRARY_PATH=/usr/local/pgsql/lib:/opt/sfw/lib</code></p>
	</li>
	<li>run the init command<br />
<code>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data</code>
</li>
	<li>et voilà<br />
<code><br />
Success. You can now start the database server using:<br />
    /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data<br />
or<br />
    /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start<br />
</code>
</li>
	</ul>
]]></content:encoded>
			<wfw:commentRss>http://sahuguet.blogsome.com/2005/08/25/installing-postgres-on-solaris-10/feed/</wfw:commentRss>
	</item>
	</channel>
</rss>
