8.0 libpq: missing get_home_path()
Karel Zak <zakkr@zf.jcu.cz>
From: Karel Zak <zakkr@zf.jcu.cz>
To: pgsql-hackers <pgsql-hackers@postgreSQL.org>
Date: 2004-08-18T13:42:05Z
Lists: 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-importer main.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 status
make: *** [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/