Search Postgresql Archives

PostgreSQL 9 Mac OS X one-click install - PL/perl broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

I use Dave Page's one-click installers for Mac OS X:

    http://www.enterprisedb.com/products/pgdownload.do#osx

I recently installed PostgreSQL 9.0.0 on Mac OS X 10.5.8.  PL/perl will
not load because it is looking for Perl 5.10 in the System dirs and I
only have 5.8.8:

    $ ./createlang plperl my_db
    createlang: language installation failed: ERROR:  could not load
    library "/Library/PostgreSQL/9.0/lib/postgresql/plperl.so":
      dlopen(/Library/PostgreSQL/9.0/lib/postgresql/plperl.so, 10):
        Library not loaded: /System/Library/Perl/lib/5.10/libperl.dylib
        Referenced from:
        /Library/PostgreSQL/9.0/lib/postgresql/plperl.so
        Reason: image not found

I tried building plperl.so from source and copied it to
/Library/PostgreSQL/9.0/lib/postgresql/plperl.so.  But then I get a
different error:

    $ ./createlang plperl my_db
    createlang: language installation failed: ERROR:  could not load
    library "/Library/PostgreSQL/9.0/lib/postgresql/plperl.so":
      dlopen(/Library/PostgreSQL/9.0/lib/postgresql/plperl.so, 10):
        no suitable image found.  Did find:
	/Library/PostgreSQL/9.0/lib/postgresql/plperl.so: mach-o,
        but wrong architecture

even though the plperl.so I built looks ok:

    $ file plperl.so
    plperl.so: Mach-O bundle i386

Has anyone else run into this?  Anybody have any suggestions?


Thanks!
Larry

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux