|make check| fails because of rpath

Поиск
Список
Период
Сортировка
От Bradley Baetz
Тема |make check| fails because of rpath
Дата
Msg-id 20030503040021.GA17807@mango.home
обсуждение исходный текст
Список 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #963: Weird plpython trigger(?) behaviour in 7.3.2
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Large object corruption