From: Devrim G. <de...@gu...> - 2010-04-20 13:37:34
|
Hi again, I applied 48fb54b318a3efd41fae3d97c5baf5c35190d9e2 and attached patch to 0.9 tarball (attached patch may be a dirty solution, feel free to fix it. I'm not a C guy ). and I'm getting this error: gcc -DPGXC -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -shared -Wl,-soname,libpq.so.5 -Wl,--version-script=exports.list fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o libpq-events.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o strlcpy.o -L../../../src/port -L/usr/lib64 -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lcrypt -lldap -o libpq.so.5.2 /usr/bin/ld: fe-auth.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC fe-auth.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libpq.so.5.2] Error 1 make[4]: Leaving directory `/home/devrim/belgeler/postgresqlrpms.org/svn/rpm/redhat/8.4/postgres-xc/F-12/pgxc_v0.9/src/interfaces/libpq' make[3]: *** [../../src/interfaces/libpq-recursive] Error 2 What should we do in here? Regards, -- Devrim GÜNDÜZ PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer PostgreSQL RPM Repository: http://yum.pgrpms.org Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz |