My problem seems to be due to a 32-bit vs. 64-bit issue. I found this remark in the readme the came with the precompiled pg82 binaries:<br><br>The PL/Perl and PL/Python languages have been dropped for now - they currently don&#39;t build 64bit. <br>
<br>This led me to this page on the Apple site:&nbsp; <a href="http://developer.apple.com/releasenotes/OpenSource/PerlExtensionsRelNotes/index.html">http://developer.apple.com/releasenotes/OpenSource/PerlExtensionsRelNotes/index.html</a><br>
<br>Sounds like I need to recompile my perl5.8 installation. Unfortunately, I don&#39;t know enough about compiling for processor architectures to know what to do.<br><br>If anyone has any suggestions, I&#39;d appreciate it.<br>
<br>Thanks,<br>Tim<br><br><br><div class="gmail_quote">On Thu, Feb 28, 2008 at 9:18 PM, Tim Holahan &lt;<a href="mailto:tim.holahan@gmail.com" target="_blank">tim.holahan@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi. I&#39;m trying to install plperl along with postgres 8.2 on a MacBook running Leopard by issuing the following command:<br><br>port install postgresql82 +perl<br><br>Everything seems to go smoothly (see the output below my signature). However, after I create a database, attempts to CREATE LANGUAGE &#39;plperl&#39; (and &#39;plperlu&#39;) fail in psql with the message:<br>


<br>ERROR:&nbsp; could not access file &quot;$libdir/plperl&quot;: No such file or directory<br><br>The plperl.so and libperl.so files are nowhere to be found. The perl5.8 port is installed.<br><br>I&#39;d be grateful for any help with this.<br>


<br>Thanks,<br>Tim<br><br>--&gt;&nbsp; Fetching postgresql82<br>---&gt;&nbsp; Verifying checksum(s) for postgresql82<br>---&gt;&nbsp; Extracting postgresql82<br>---&gt;&nbsp; Configuring postgresql82<br>---&gt;&nbsp; Building postgresql82<br>---&gt;&nbsp; Staging postgresql82 into destroot<br>


---&gt;&nbsp; Installing postgresql82 8.2.6_0+perl<br><br>To use the postgresql server, install the postgresql82-server port<br>---&gt;&nbsp; Activating postgresql82 8.2.6_0+perl<br>
</blockquote></div><br>