8.0 libpq: missing get_home_path() - Mailing list pgsql-hackers

From Karel Zak
Subject 8.0 libpq: missing get_home_path()
Date
Msg-id 20040818134205.GB14530@zf.jcu.cz
Whole thread Raw
Responses Re: 8.0 libpq: missing get_home_path()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,
I tried compile some program with latest CVS libpq:
gcc -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/include/httpd-Wall -I/usr/lib/postgresql/include
-DLIBAPMOM_FUNCALL=1-Wall-Wmissing-prototypes -Wmissing-declarations `xml2-config --cflags``Wand-config --cppflags` -o
jsn-importermain.o file.o db.o md5.o-L/usr/lib/postgresql/lib -lpq `xml2-config --libs` -lMagick
-lWand/usr/lib/postgresql/lib/libpq.so:undefined reference to `get_home_path'collect2: ld returned 1 exit statusmake:
***[jsn-importer] Error 1
 
It looks like port/path.c (libpgport) isn't compiled in PostgreSQL client libs,but the get_home_path() is used there. 
   Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Tablespace and cpu costs
Next
From: Robert Treat
Date:
Subject: Re: tablespace and sequences?