Re: could not access file "$libdir/plpgsql": No such file or directory
От | Victor Whiskey Yankee |
---|---|
Тема | Re: could not access file "$libdir/plpgsql": No such file or directory |
Дата | |
Msg-id | 4FC15655.9000904@gmail.com обсуждение исходный текст |
Ответ на | Re: could not access file "$libdir/plpgsql": No such file or directory (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: could not access file "$libdir/plpgsql": No such file or directory
|
Список | pgsql-novice |
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? On 05/26/2012 02:23 PM, Tom Lane wrote: > Victor Whiskey Yankee<victor.whiskey.yankee@gmail.com> writes: >> loading PL/pgSQL server-side language ... FATAL: could not access file "$libdir/plpgsql": No such file or directory >> I don't know what this means nor how to fix it. > It means you don't have a plpgsql.so file, and the reason is here: > >> My configuration line when building was: >> ./configure --prefix=$MY_PREFIX --disable-nls --disable-shared --disable-rpath --enable-thread-safety --without-tcl --without-perl > --disable-shared has been deprecated for awhile, and it's evidently flat > out broken as of 9.1, since plpgsql.so is now effectively required. > Do you really need that? I don't know if I need whatever plpgsql is.... from what I read it is for supporting server-side sql, but I don't know ifthat means I cannot use sql on the client side also? > > (We should either fix this or remove the option, but in the meantime, > don't use it.) > > regards, tom lane >
В списке pgsql-novice по дате отправления: