pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
anyone? CREATELANG in pgsql 7.3.2 failing
5+ messages / 3 participants
[nested] [flat]

* anyone? CREATELANG in pgsql 7.3.2 failing
@ 2003-03-18 03:52 R Blake <blakers@mac.com>
  2003-03-18 04:22 ` Re: anyone? CREATELANG in pgsql 7.3.2 failing Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2003-03-18 22:03 ` Re: anyone? CREATELANG in pgsql 7.3.2 failing Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 2 replies; 5+ messages in thread

From: R Blake @ 2003-03-18 03:52 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

hi,

i've successfully installed Postgresql 7.3.2 on Mac OSX 10.2.4, and can
access/administer as necessary

except, i can't seem to CREATELANG, specifically plpgsql .....

the command:

        createlang --pglib=/usr/local/pgsql/lib --dbname=apache_auth
plpgsql

simply returns:

ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.dylib failed: no error
message available createlang: language installation failed


my LOG file has nothing further:

...
LOG:  database system is ready
ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.dylib failed: no error
message available



"no error message" is not very helpful  :-(

i tried a clean install -- all went without a hitch .....

anyone have any suggestions here?


thanks!

richard



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: anyone? CREATELANG in pgsql 7.3.2 failing
  2003-03-18 03:52 anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
@ 2003-03-18 04:22 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2003-03-18 06:02   ` Re: anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Christopher Kings-Lynne @ 2003-03-18 04:22 UTC (permalink / raw)
  To: R Blake <blakers@mac.com>; pgsql-hackers@postgresql.org

> the command:
> 
>         createlang --pglib=/usr/local/pgsql/lib --dbname=apache_auth
> plpgsql

Try just this:

createlang plpgsql apache_auth

Chris




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: anyone? CREATELANG in pgsql 7.3.2 failing
  2003-03-18 03:52 anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
  2003-03-18 04:22 ` Re: anyone? CREATELANG in pgsql 7.3.2 failing Christopher Kings-Lynne <chriskl@familyhealth.com.au>
@ 2003-03-18 06:02   ` R Blake <blakers@mac.com>
  0 siblings, 0 replies; 5+ messages in thread

From: R Blake @ 2003-03-18 06:02 UTC (permalink / raw)
  To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>; +Cc: pgsql-hackers@postgresql.org

--On Tuesday, March 18, 2003 12:22 PM +0800 Christopher Kings-Lynne 
<chriskl@familyhealth.com.au> wrote:

> Try just this:
>
> createlang plpgsql apache_auth
>
> Chris
hi!

ok, but i wouldn't expect the result to be any different ....

here we go .....

[postgres@g4]/usr/local/pgsql/lib> createlang plpgsql apache_auth
ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.dylib failed: no error 
message available
createlang: language installation failed
[postgres@g4]/usr/local/pgsql/lib>

same problem, same error ..... :-(





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: anyone? CREATELANG in pgsql 7.3.2 failing
  2003-03-18 03:52 anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
@ 2003-03-18 22:03 ` Peter Eisentraut <peter_e@gmx.net>
  2003-03-18 23:17   ` Re: anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Peter Eisentraut @ 2003-03-18 22:03 UTC (permalink / raw)
  To: R Blake <blakers@mac.com>; +Cc: pgsql-hackers@postgresql.org

R Blake writes:

> ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.dylib failed: no error
> message available createlang: language installation failed

The fact that the file extension is ".dylib" makes me suspicious that you
are using a patched version.  In the original source the extension is
".so".  If you, or someone you know, has attempted to modify the shared
library build system, please fix it.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: anyone? CREATELANG in pgsql 7.3.2 failing
  2003-03-18 03:52 anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
  2003-03-18 22:03 ` Re: anyone? CREATELANG in pgsql 7.3.2 failing Peter Eisentraut <peter_e@gmx.net>
@ 2003-03-18 23:17   ` R Blake <blakers@mac.com>
  0 siblings, 0 replies; 5+ messages in thread

From: R Blake @ 2003-03-18 23:17 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-hackers@postgresql.org

bingo! nice catch!

after a little sleuthing, the local CVS source copy DID have a series of 
".dylib-handling" patches applied .... (have to revisit local naming 
conventions ....)

a virgin refresh with 7.3.2-STABLE solved the plpgsql issue.  thanks!!

altho, --with-java now breaks the build ..... without it all is ok

but that's another issue for now ....

many thanks!

richard

-- On Tuesday, March 18, 2003 11:03 PM +0100  Peter Eisentraut 
<peter_e@gmx.net> wrote:


> R Blake writes:
>
>> ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.dylib failed: no error
>> message available createlang: language installation failed
>
> The fact that the file extension is ".dylib" makes me suspicious that you
> are using a patched version.  In the original source the extension is
> ".so".  If you, or someone you know, has attempted to modify the shared
> library build system, please fix it.
>
> --
> Peter Eisentraut   peter_e@gmx.net
>




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2003-03-18 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 03:52 anyone? CREATELANG in pgsql 7.3.2 failing R Blake <blakers@mac.com>
2003-03-18 04:22 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2003-03-18 06:02   ` R Blake <blakers@mac.com>
2003-03-18 22:03 ` Peter Eisentraut <peter_e@gmx.net>
2003-03-18 23:17   ` R Blake <blakers@mac.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox