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't build 64bit. <br>
<br>This led me to this page on the Apple site: <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't know enough about compiling for processor architectures to know what to do.<br><br>If anyone has any suggestions, I'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 <<a href="mailto:tim.holahan@gmail.com" target="_blank">tim.holahan@gmail.com</a>> 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'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 'plperl' (and 'plperlu') fail in psql with the message:<br>
<br>ERROR: could not access file "$libdir/plperl": 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'd be grateful for any help with this.<br>
<br>Thanks,<br>Tim<br><br>--> Fetching postgresql82<br>---> Verifying checksum(s) for postgresql82<br>---> Extracting postgresql82<br>---> Configuring postgresql82<br>---> Building postgresql82<br>---> Staging postgresql82 into destroot<br>
---> Installing postgresql82 8.2.6_0+perl<br><br>To use the postgresql server, install the postgresql82-server port<br>---> Activating postgresql82 8.2.6_0+perl<br>
</blockquote></div><br>