can't compile twitter_fdw

From: Maximilian Tyrtania <lists(at)contactking(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: can't compile twitter_fdw
Date: 2012-07-24 10:34:58
Message-ID: 018C6D71-A7F9-491B-BBE1-777D329A65AA@contactking.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there,

I'm trying to compile the twitter_fdw on my Ubuntu-Hardy machine, but alas...

root(at)contactkingserver:/usr/local/pgsql/bin/twitter_fdw-1.1.1# make
make -C libjson-0.8 all
make[1]: Betrete Verzeichnis '/usr/local/pgsql/bin/twitter_fdw-1.1.1/libjson-0.8'
sed -e 's;@PREFIX@;/usr;' -e 's;@LIBJSON_VER_MAJOR@;0;' -e 's;@LIBJSON_VER_MINOR@;8;' < libjson.pc.in > libjson.pc
make[1]: Verlasse Verzeichnis '/usr/local/pgsql/bin/twitter_fdw-1.1.1/libjson-0.8'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic -shared -o twitter_fdw.so twitter_fdw.o libjson-0.8/json.o -L/usr/local/pgsql/lib -Wl,--as-needed -Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags -lcurl
libjson-0.8/json.o: file not recognized: File format not recognized
collect2: ld gab 1 als Ende-Status zurück
make: *** [twitter_fdw.so] Fehler 1
root(at)contactkingserver:/usr/local/pgsql/bin/twitter_fdw-1.1.1#

Looks like some problem with libjson-0.8 but the directory is there.
The readme says: The source of libjson is included this module package and linked as a
static library

Any pointers?

Maximilian Tyrtania
http://www.contactking.de

Browse pgsql-general by date

  From Date Subject
Next Message Pawel Kopka 2012-07-24 11:49:58 how to connect to oracle database
Previous Message Marcin Mańk 2012-07-24 09:31:07 Re: Odd corruption issue reported on dba.stackexchange.com, need advice