Re: could not access file "$libdir/plpgsql": No such file or directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: could not access file "$libdir/plpgsql": No such file or directory
Дата
Msg-id 28970.1338442517@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: could not access file "$libdir/plpgsql": No such file or directory  (Victor Whiskey Yankee <victor.whiskey.yankee@gmail.com>)
Список pgsql-novice
Victor Whiskey Yankee <victor.whiskey.yankee@gmail.com> writes:
> Thank you for the reply... after I removed the "--disable-shared" I do see the $libdir/plpgsql.so. But I do not see
> any static libs, and "./configure" does not have an option to enable both static and shared..... so I guess it also
meansI cannot  
> build postgress libs nor link my apps statically?

I'm a bit confused by this.  There is no option to build plpgsql as a
static library, but that has nothing to do with linking your
applications.  You should see static versions of the libraries that
are meant to be used client-side: libpq.a, ecpglib.a, etc.

In general, if you're looking for minimum resource footprint, it seems
to me that static libraries are not what you want anyway; you tend to
end up with N copies of the same code.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: how to call stored procedures that are writes
Следующее
От: Ross Boylan
Дата:
Сообщение: Re: how to call stored procedures that are writes