Re: pgxs problem... - Mailing list pgsql-general

From John R Pierce
Subject Re: pgxs problem...
Date
Msg-id 507477AA.7070201@hogranch.com
Whole thread Raw
In response to Re: pgxs problem...  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On 10/09/12 11:49 AM, John R Pierce wrote:
> $ find /opt/pgsql91 -name postgres.imp
>    /opt/pgsql91/lib/postgres.imp

ah, and so I find the $PG_PREFIX/lib/pgxs/src/Makefile.port has that bad
reference to $(bindir)/postgres/postgres.imp and hack it like...

    POSTGRES_IMP= postgres.imp

    ifdef PGXS
    BE_DLLLIBS= -Wl,-bI:$(libdir)/$(POSTGRES_IMP)
    else
    BE_DLLLIBS= -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP)
    endif

....

and still no good.   but this could be tossing the ball back to the
pljava side of things, except it does appear to be pgxs stuff still.

    gmake[1]: Entering directory
    `/home/postgres/src/pljava-1.4.3/build/objs'
    /home/postgres/src/pljava-1.4.3/src/C/pljava/Makefile:232: warning:
    overriding commands for target `pljava.so'
    /opt/pgsql91/lib/pgxs/src/makefiles/../../src/Makefile.shlib:387:
    warning: ignoring old commands for target `pljava.so'
    /usr/bin/ar crs libpljava.a Backend.o Exception.o ExecutionPlan.o
    Function.o HashMap.o Invocation.o Iterator.o JNICalls.o PgObject.o
    PgSavepoint.o SPI.o SQLInputFromChunk.o SQLInputFromTuple.o
    SQLOutputToChunk.o SQLOutputToTuple.o Session.o SubXactListener.o
    XactListener.o backports.o type/AclId.o type/Any.o type/Array.o
    type/BigDecimal.o type/Boolean.o type/Byte.o type/Coerce.o
    type/Composite.o type/Date.o type/Double.o type/ErrorData.o
    type/Float.o type/HeapTupleHeader.o type/Integer.o
    type/JavaWrapper.o type/LargeObject.o type/Long.o type/Oid.o
    type/Portal.o type/Relation.o type/Short.o type/String.o type/Time.o
    type/Timestamp.o type/TriggerData.o type/Tuple.o type/TupleDesc.o
    type/TupleTable.o type/Type.o type/UDT.o type/Void.o type/byte_array.o
    touch libpljava.a
    /opt/pgsql91/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh
    libpljava.a >libpljava.exp
    /usr/vacpp/bin/xlc -q64 -I/home/postgres/src/include -O2 -qarch=pwr5
    -qtune=balanced -qnoansialias   -o pljava.so libpljava.a
    -Wl,-bE:libpljava.exp -L/opt/pgsql91/lib -L/home/postgres/src/lib
    -Wl,-blibpath:'/opt/pgsql91/lib:/opt/pgsql91/lib:/home/postgres/src/lib:/usr/lib:/lib'
    -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
    -Wl,-bI:/opt/pgsql91/lib/postgres.imp -L.
    -L"/usr/java5_64/jre/bin/j9vm" -ljvm
    ld: 0711-317 ERROR: Undefined symbol: .floor
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    information.
    gmake[1]: *** [libpljava.a] Error 8
    gmake[1]: *** Deleting file `libpljava.a'
    gmake[1]: Leaving directory `/home/postgres/src/pljava-1.4.3/build/objs'
    gmake: *** [c_all] Error 2


<sound="bashing head into desk.mp3"/>



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgxs problem...
Next
From: John R Pierce
Date:
Subject: Re: pgxs problem...