From: | Bradley Baetz <bbaetz(at)acm(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | |make check| fails because of rpath |
Date: | 2003-05-03 04:00:21 |
Message-ID: | 20030503040021.GA17807@mango.home |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
CVS postgresql builds psql + friends with rpath enabled:
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations command.o
common.o
help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o
variables.o large_obj.o print.o describe.o sprompt.o tab-complete.o
mbprint.o -L../../../src/interfaces/libpq -lpq -L../../../src/port
-Wl,-rpath,/home/bbaetz/swtest/lib -lz -lreadline -ltermcap -lcrypt
-lresolv -lnsl -ldl -lm -lbsd -lpgport -o psql
This means that |make check| picks up the libpg.so in the install dir
(/home/bbaetz/swtest/lib/), rather than that of the LD_LIBRARY_PATH.
This causes make check to fail with the error "Your development libpq is
out of sync with the server". Removing the lib from
/home/bbaetz/swtest/lib lets the tests proceed without problems.
configure arguments were:
./configure --prefix=/home/bbaetz/swtest --enable-debug --enable-depend
Bradley
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2003-05-03 18:39:38 | Re: Large object corruption |
Previous Message | Tom Lane | 2003-05-02 21:36:55 | Re: Bug #963: Weird plpython trigger(?) behaviour in 7.3.2 |