freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: rogerw AT webmd.net
- To: freetds AT franklin.oit.unc.edu
- Subject: Shared libraries not installing on AIX
- Date: Thu, 31 Oct 2002 12:47:28 -0500
I am having trouble getting the shared libraries installed on AIX. From
what I can see make is building them, but 'make install' does not copy
them over to $SYBASE/lib directory. In the source directory after a 'make'
I have:
bash-2.05# find ./ -name "*so*"
./include/tdsodbc.h
./src/tds/.libs/libtds.so.o
./src/ctlib/.libs/libct.so.o
./src/dblib/.libs/libsybdb.so.o
./src/server/.libs/libtdssrv.so.o
After a make install it does not have any .so file or links to those files
Can someone point out what I am missing or what file should be where ?
TIA
Some other info:
Freetds version 0.60
gcc for compiling (although I get the same using AIX's cc)
SYBASE=/usr/local/freetds
LD_LIBRARY_PATH=/usr/local/freetds:/usr/local/lib
configure: ./configure --enable-shared --prefix=/usr/local/freetds
--with-tdsver=4.2 --with-tdsver=5.0 --with-tdsver=7.0
from the configure:
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... aix4.3.3.0 ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
from make:
gcc -shared -o .libs/libct.so.o .libs/ct.o .libs/cs.o .libs/blk.o
.libs/ctutil.o ../tds/.libs/mem.o ../tds/.libs/token.o ../tds
/.libs/util.o ../tds/.libs/login.o ../tds/.libs/read.o
../tds/.libs/write.o ../tds/.libs/convert.o ../tds/.libs/numeric.o ../tds
/.libs/config.o ../tds/.libs/query.o ../tds/.libs/iconv.o
../tds/.libs/locale.o ../tds/.libs/threadsafe.o ../tds/.libs/challenge
.o -lnsl -liconv -lc -Wl,-bE:.libs/libct.exp -Wl,-bnoentry ${wl}-berok
ar cru .libs/libct.a .libs/libct.so.o
creating libct.la
(cd .libs && rm -f libct.la && ln -s ../libct.la libct.la)
Target "all-am" is up to date.
Target "all" is up to date.
There are no listings of libct.so or any so files in the 'make install'
and in /usr/local/freetds I have
bash-2.05# find ./ -name "*so*"
./include/tdsodbc.h
-
RE: Shared libraries not installing on AIX,
Lowden, James K, 10/31/2002
- <Possible follow-up(s)>
- Shared libraries not installing on AIX, rogerw, 10/31/2002
- RE: Shared libraries not installing on AIX, RWilbert, 10/31/2002
- RE: Shared libraries not installing on AIX, Lowden, James K, 10/31/2002
- RE: Shared libraries not installing on AIX, RWilbert, 10/31/2002
- RE: Shared libraries not installing on AIX, Lowden, James K, 10/31/2002
Archive powered by MHonArc 2.6.24.