freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: RE: Shared libraries not installing on AIX
- Date: Thu, 31 Oct 2002 13:23:34 -0500
> From: rogerw AT webmd.net [mailto:rogerw AT webmd.net]
> Sent: October 31, 2002 12:47 PM
>
> 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.
That's true. "make install" will put the libraries in PREFIX/lib, where
"PREFIX" is determined by --with-prefix when you run the configure script.
It's /usr/local by default.
> After a make install it does not have any .so file or links
> to those files
What says "ls -l /usr/local/freetds/lib" and does "make install" return any
errors?
> LD_LIBRARY_PATH=/usr/local/freetds:/usr/local/lib
Is that right? I would expect /usr/local/freetds/lib:[...]
--jkl
> 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
>
>
>
>
>
>
> ---
> You are currently subscribed to freetds as: [LowdenJK AT bernstein.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.
-
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.