Thread: compiling psqlodbc from cvs
Hi! I am returning after the long break to psqldbc driver and I have problem with compiling shared version of psqlodbc driver. My compilation script looks like the following: #!/bin/sh PGSRC=~/var/src/postgresql aclocal -I . -I $PGSRC/config libtoolize --force --copy autoconf autoheader automake --add-missing --copy export CFLAGS=-I$HOME/usr/include export CXXFLAGS=$CFLAGS export LDFLAGS=-L$HOME/usr/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/usr/lib ./configure --with-unixodbc --enable-shared --prefix=$HOME/usr make 2>err and in $HOME/usr/lib I have installed unixodbc. After building I got only static version of psqlodbc libraries. Do I missed something? What I am doing wrong? Any help apreciated. Greets, Karol Szkudlarek
Am Samstag, 7. August 2004 00:14 schrieb Karol Szkudlarek: > I am returning after the long break to psqldbc driver and I have > problem with compiling shared version of psqlodbc driver. Update your PostgreSQL source tree to the head branch and run aclocal and autoconf again. -- Peter Eisentraut http://developer.postgresql.org/~petere/
Peter Eisentraut wrote: >Am Samstag, 7. August 2004 00:14 schrieb Karol Szkudlarek: > > >>I am returning after the long break to psqldbc driver and I have >>problem with compiling shared version of psqlodbc driver. >> >> > >Update your PostgreSQL source tree to the head branch and run aclocal and >autoconf again. > > > Thanks. I forgot copy libtool.m4 to psqlodbc src tree. Now compiles fine. Greets, Karol