Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 63807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:41:27+00:00 2026-05-10T18:41:27+00:00

I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but

  • 0

I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but I cannot figure out how to enable PL/Python. When I run the CREATE LANGUAGE plpythonu I get the following errors:

ERROR:  could not access file '$libdir/plpython': No such file or directory STATEMENT:  CREATE LANGUAGE plpythonu; psql:<stdin>:18: ERROR:  could not access file '$libdir/plpython': No such file or directory 

How can I fix it? Ideally I would prefer to avoid compiling Postgres without port or something like that.

Thia the output of running pg_config:

BINDIR = /opt/local/lib/postgresql83/bin DOCDIR =  INCLUDEDIR = /opt/local/include/postgresql83 PKGINCLUDEDIR = /opt/local/include/postgresql83 INCLUDEDIR-SERVER = /opt/local/include/postgresql83/server LIBDIR = /opt/local/lib/postgresql83 PKGLIBDIR = /opt/local/lib/postgresql83 LOCALEDIR =  MANDIR = /opt/local/share/man SHAREDIR = /opt/local/share/postgresql83 SYSCONFDIR = /opt/local/etc/postgresql83 PGXS = /opt/local/lib/postgresql83/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--prefix=/opt/local' '--sysconfdir=/opt/local/etc/postgresql83' '--bindir=/opt/local/lib/postgresql83/bin' '--libdir=/opt/local/lib/postgresql83' '--includedir=/opt/local/include/postgresql83' '--datadir=/opt/local/share/postgresql83' '--mandir=/opt/local/share/man' '--without-docdir' '--with-includes=/opt/local/include' '--with-libraries=/opt/local/lib' '--with-openssl' '--with-bonjour' '--with-readline' '--with-zlib' '--with-libxml' '--with-libxslt' '--enable-thread-safety' '--enable-integer-datetimes' '--with-ossp-uuid' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'CPPFLAGS=-I/opt/local/include -I/opt/local/include/ossp' 'CPP=/usr/bin/cpp-4.0' 'LDFLAGS=-L/opt/local/lib' CC = /usr/bin/gcc-4.0 -no-cpp-precomp CPPFLAGS = -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2 -I/opt/local/include CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv CFLAGS_SL =  LDFLAGS = -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib LDFLAGS_SL =  LIBS = -lpgport -lxslt -lxml2 -lssl -lcrypto -lz -lreadline -lm  VERSION = PostgreSQL 8.3.4 

(I’ve just switched from Linux to Mac a couple of days ago… In Ubuntu stuff like that used to just work, so I am pretty lost.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:41:28+00:00Added an answer on May 10, 2026 at 6:41 pm

    Silly me:

    [lib/postgresql83] > variants postgresql83  postgresql83 has the variants:     universal     python: add support for python     krb5: add support for Kerberos 5 authentication     perl: add Perl support 

    (I’d had universal.)

    This means that you have to install the right variant of PostgreSQL to make your python functions fly.

    $ sudo port install postgresql83 +python postgresql-server +python 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using python 2.6 on XP. I have just installed py2exe, and I
I have just installed Eclipse 3.4 and found out that there is not a
I have just installed boost for the first time on my Intel Mac, and
I have innoDB table using numerous foreign keys, but we just want to look
I have just decided to try out the Android SDK, so I installed it
I have just installed XCode 3.1.4. I cannot see the ViewBased Application template when
I have just installed C# for the first time, and at first glance it
I have just installed VMWare Server 2.0 on a fresh Fedora Core 8 install.
I have just installed the Platform SDK for Windows Server 2008 and .NET 3.5
I have just installed darcs 2.1.2.2. When I type darcs help, sth less-like shows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.