agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] can't install pl/java undefined symbol errstart
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] can't install pl/java undefined symbol errstart
@ 2004-07-28 06:37  
  0 siblings, 2 replies; 3+ messages in thread

From:  @ 2004-07-28 06:37 UTC (permalink / raw)

Hi,

I was trying to install pl/java on my postgres 7.4.3. I set up all the
classpaths and the LD_LIBRARY_PATH and all that and started postgres.
Now, when i try to deploy pl/java, i get these errors.

java -cp .:pljava.jar:deploy.jar:/prog/software/libs/pg74.214.jdbc3.jar
org.postgresql.pljava.deploy.Deployer -reinstall -user akulkarni
-database postgresql
java.sql.SQLException: ERROR:  Load of file
/prog/software/downloads/pljava/libpljava.so failed:
/prog/software/downloads/pljava/libpljava.so: undefined symbol:
errstart
        at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:287)
        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:104)
        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
        ...

What does this mean ? undefined symbol errstart... I tried to google
this, but not much help. When i look at the postgres log ( set at
min_level = info ), this is what i get...

LOG:  database system is ready
FATAL: unsupported frontend protocol
ERROR:  Language java doesn't exist
LOG:  statement: DROP LANGUAGE java CASCADE
ERROR:  Load of file /prog/software/downloads/pljava/libpljava.so
failed: /prog/software/downloads/pljava/libpljava.so: undefined
symbol: errstart
LOG:  statement: CREATE FUNCTION sqlj.java_call_handler() RETURNS
language_handler AS 'libpljava' LANGUAGE C
LOG:  pq_recvbuf: unexpected EOF on client connection


Why is it saying unsopported frontend protocol at the start... ?

Can you help me here ? Thanks in advance

-- 
Aditya Kulkarni




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

* [Pljava-dev] can't install pl/java undefined symbol errstart
@ 2004-07-28 07:51  
  parent: 
  1 sibling, 0 replies; 3+ messages in thread

From:  @ 2004-07-28 07:51 UTC (permalink / raw)

aditya Kulkarni wrote:

>Hi,
>
>I was trying to install pl/java on my postgres 7.4.3. I set up all the
>classpaths and the LD_LIBRARY_PATH and all that and started postgres.
>Now, when i try to deploy pl/java, i get these errors.
>
>java -cp .:pljava.jar:deploy.jar:/prog/software/libs/pg74.214.jdbc3.jar
>org.postgresql.pljava.deploy.Deployer -reinstall -user akulkarni
>-database postgresql
>java.sql.SQLException: ERROR:  Load of file
>/prog/software/downloads/pljava/libpljava.so failed:
>/prog/software/downloads/pljava/libpljava.so: undefined symbol:
>errstart
>        at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:287)
>        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:104)
>        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>        ...
>
>What does this mean ? undefined symbol errstart... I tried to google
>this, but not much help. When i look at the postgres log ( set at
>min_level = info ), this is what i get...
>
>LOG:  database system is ready
>FATAL: unsupported frontend protocol
>ERROR:  Language java doesn't exist
>LOG:  statement: DROP LANGUAGE java CASCADE
>ERROR:  Load of file /prog/software/downloads/pljava/libpljava.so
>failed: /prog/software/downloads/pljava/libpljava.so: undefined
>symbol: errstart
>LOG:  statement: CREATE FUNCTION sqlj.java_call_handler() RETURNS
>language_handler AS 'libpljava' LANGUAGE C
>LOG:  pq_recvbuf: unexpected EOF on client connection
>
>
>Why is it saying unsopported frontend protocol at the start... ?
>
>Can you help me here ? Thanks in advance
>  
>
My immediate guess is that you try to connect to an older postgresql 
backend. Do you have an older installation running that occupies the 
TCP/IP port perhaps? If so, it would explain both the "unsupported 
frontend protocol" and the "undefined symbol: errstart".

Regards,

Thomas Hallgren






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

* [Pljava-dev] can't install pl/java undefined symbol errstart
@ 2004-07-28 09:15  
  parent: 
  1 sibling, 0 replies; 3+ messages in thread

From:  @ 2004-07-28 09:15 UTC (permalink / raw)

Oh yes... I was running postgreSQL 7.3.4 instead of 7.4.3

Thanks

On Wed, 28 Jul 2004 09:51:07 +0200, Thomas Hallgren
<thhal at mailblocks.com> wrote:
> 
> 
> aditya Kulkarni wrote:
> 
> >Hi,
> >
> >I was trying to install pl/java on my postgres 7.4.3. I set up all the
> >classpaths and the LD_LIBRARY_PATH and all that and started postgres.
> >Now, when i try to deploy pl/java, i get these errors.
> >
> >java -cp .:pljava.jar:deploy.jar:/prog/software/libs/pg74.214.jdbc3.jar
> >org.postgresql.pljava.deploy.Deployer -reinstall -user akulkarni
> >-database postgresql
> >java.sql.SQLException: ERROR:  Load of file
> >/prog/software/downloads/pljava/libpljava.so failed:
> >/prog/software/downloads/pljava/libpljava.so: undefined symbol:
> >errstart
> >        at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:287)
> >        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:104)
> >        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> >        ...
> >
> >What does this mean ? undefined symbol errstart... I tried to google
> >this, but not much help. When i look at the postgres log ( set at
> >min_level = info ), this is what i get...
> >
> >LOG:  database system is ready
> >FATAL: unsupported frontend protocol
> >ERROR:  Language java doesn't exist
> >LOG:  statement: DROP LANGUAGE java CASCADE
> >ERROR:  Load of file /prog/software/downloads/pljava/libpljava.so
> >failed: /prog/software/downloads/pljava/libpljava.so: undefined
> >symbol: errstart
> >LOG:  statement: CREATE FUNCTION sqlj.java_call_handler() RETURNS
> >language_handler AS 'libpljava' LANGUAGE C
> >LOG:  pq_recvbuf: unexpected EOF on client connection
> >
> >
> >Why is it saying unsopported frontend protocol at the start... ?
> >
> >Can you help me here ? Thanks in advance
> >
> >
> My immediate guess is that you try to connect to an older postgresql
> backend. Do you have an older installation running that occupies the
> TCP/IP port perhaps? If so, it would explain both the "unsupported
> frontend protocol" and the "undefined symbol: errstart".
> 
> Regards,
> 
> Thomas Hallgren
> 
> 


-- 
Aditya Kulkarni




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


end of thread, other threads:[~2004-07-28 09:15 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 06:37 [Pljava-dev] can't install pl/java undefined symbol errstart 
2004-07-28 07:51 ` 
2004-07-28 09:15 ` 

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