[unixODBC-dev] odbconfig not able to start

Nick Gorham nick at lurcher.org
Sat Jul 12 14:55:01 BST 2008


Sindhu S wrote:

> i gave another shot at compiling from source: 
>
> here is the last part of veerbose of make
>
> /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 
> -DENABLE_INI_CACHING -pthread -o libboundparam.la 
> <http://libboundparam.la> -rpath /usr/local/lib -version-info 1:0:0 
> -export-dynamic -module boundparam.lo helper.lo 
> cboundtimestampparam.lo ../autotest/libgtrtstlc.la 
> <http://libgtrtstlc.la> ../DriverManager/libodbc.la 
> <http://libodbc.la> -lpthread
> gcc -shared .libs/boundparam.o .libs/helper.o 
> .libs/cboundtimestampparam.o -Wl,--whole-archive 
> ../autotest/.libs/libgtrtstlc.a -Wl,--no-whole-archive -Wl,--rpath 
> -Wl,/home/sindhu/Desktop/unixODBC-2.2.12/DriverManager/.libs 
> -Wl,--rpath -Wl,/usr/local/lib ../DriverManager/.libs/libodbc.so 
> -lpthread -pthread -Wl,-soname -Wl,libboundparam.so.1 -o 
> .libs/libboundparam.so.1.0.0
> (cd .libs && rm -f libboundparam.so.1 && ln -s libboundparam.so.1.0.0 
> libboundparam.so.1)
> (cd .libs && rm -f libboundparam.so && ln -s libboundparam.so.1.0.0 
> libboundparam.so)
> creating libboundparam.la <http://libboundparam.la>
> (cd .libs && rm -f libboundparam.la <http://libboundparam.la> && ln -s 
> ../libboundparam.la <http://libboundparam.la> libboundparam.la 
> <http://libboundparam.la>)
> make[1]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12/samples'
> make[1]: Entering directory `/home/sindhu/Desktop/unixODBC-2.2.12'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12'
>
> and this is the last part of the verbose of sudo make install
>
> ----------------------------------------------------------------------
> Libraries have been installed in:
>   /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>   during execution
>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>   during linking
>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12/samples'
> make[1]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12/samples'
> make[1]: Entering directory `/home/sindhu/Desktop/unixODBC-2.2.12'
> make[2]: Entering directory `/home/sindhu/Desktop/unixODBC-2.2.12'
> make[2]: Nothing to be done for `install-exec-am'.
> touch /usr/local/etc/odbcinst.ini
> touch /usr/local/etc/odbc.ini
> mkdir -p /usr/local/etc/ODBCDataSources
> make[2]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12'
> make[1]: Leaving directory `/home/sindhu/Desktop/unixODBC-2.2.12'
>
> how am i to fix this?
>
Nothing to fix as I can see, its just linking instructions.

Does it work?

-- 
Nick



More information about the unixODBC-dev mailing list