libtds, libreplacements...

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hello.
The relationship of parts - libtds, libreplacements, libct and  
libsybdb - is still unclear to me. AFAIR from docs, programs that use  
freetds functionality must link against libct and libsybdb.
But i`ve found out that some functions are in libtds.a, "that is not  
installed by default". So i got symbol lookup error on tds_alloc_login  
that was called from, let`s say, "my program" (a module for CallWeaver  
server, cdr_tds).

I`ve manually copied libtds.{a,la} to /usr/lib and edited .la to have  
installed=yes and libdir=/usr/lib, the same for libreplacements, and  
linked my program with -ltds -lreplacements -lct -lsybdb.

Now i have undefined symbol 'tds_strlcpy' error. It is not called from  
my program, so it is from libct, libsybdb or maybe libtds. And as i  
see the problem is that these libs are not linked against  
libreplacements.

How to `make it work`? In docs there was said that it`s possible to  
build all libraries shared, not static. I`ve searched for info, but  
found nothing. Please explain me how to do that or give me some  
references.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.