[Freeswitch-users] Compile with PostgreSQL, postgresql build with prefix.

Mimiko vbvbrj at gmail.com
Thu Nov 15 21:29:53 MSK 2012


So in order to "make" I had to do the following:

export PATH=$PATH:/opt/postgresql/bin && export 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/postgresql/lib && \
./configure --with-openssl --enable-core-odbc-support 
--enable-portable-binary \
--enable-zrtp --prefix=/opt/freeswitch --enable-core-pgsql-support 
--enable-static --enable-shared \
LDFLAGS="-L/opt/postgresql/lib 
-Wl,-R,\\\$\${ORIGIN}/../lib:\\\$\${ORIGIN}/../lib/x86_64-linux-gnu"


It will be great to have a way to specify lib and bin path for 
PostgreSQL to the ./configure with an option the same way is done for odbc.

-- 
Mimiko desu.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list