Search Postgresql Archives

Re: pgxs problem...

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

 



On 10/09/12 12:11 PM, Tom Lane wrote:
Looks like it's coming from src/makefiles/Makefile.aix:

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

I think the first case is just wrong (evidently never been tested
before).  A look in src/backend/Makefile shows that the POSTGRES_IMP
file is actually installed into $(pkglibdir), so that's probably what
you want there instead of $(bindir)/postgres.

do I need to submit bug reports on this stuff, or is this discussion good enough to get it into the "fix me" queue for eventual release?

btw, $pkglibdir didn't fare any better than $libdir, I'm stuck at...

$ ./makeit c_all
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

(makeit sets up the path and other environment stuff for the pljava gmake... c_all tells pljava's make to just build the C side of things and not the java side, which has its OWN problems far out of scope of this list)



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



--
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