|
|
Choosing A Webhost: |
Mac OSX make error Undefined symbols: msg#00190db.tds.freetds
Hi All, I am trying to install freetds on Mac-OSX for the past few days with no success. Anyways, as each day passon, I feel like I am more closer to the solution. This is what I have done till now. dowloaded current version(CVS) of freetds from ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz Installed the following to /usr/local/bin automake (GNU automake) 1.7.3 autoconf (GNU Autoconf) 2.57 libiconv-1.9.1 Then changed the PATH variable such that /usr/local/bin come before /usr/bin (this folder have got the defaul apple older versions). Then applied the 'patch' available from http://www.lilback.com/misc/ltmain.diff to /usr/share/libtool/ltmain.sh Ran ln -s /usr/bin/glibtoolize /usr/local/bin/libtoolize Then ./autogen.sh --with-iodbc --with-tdsver=8.0 --with-libiconv-prefix=/usr/loca l/ --with-pic --enable-msdblib --enable-shared --disable-static --disable-th readsafe And this is what I got... processing . Running libtoolize... You should update your `aclocal.m4' by running aclocal. Running aclocal ... aclocal: configure.in: 54: macro `AM_PROG_LIBTOOL' not found in library <lots of config here....> <something that i thought have relation with the following make result here> checking for SQLGetPrivateProfileString in -liodbcinst... yes checking threadsafety... disabled checking for which type of gethostbyname_r... six checking for which type of getservbyname_r... six checking for which type of gethostbyaddr_r... seven checking for which type of getpwuid_r... five checking for which type of localtime_r... struct Then I ran make and got this <lots of stuffs here....> depmode=gcc /bin/sh ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIB RARY_SOURCE -DIODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-pro totypes -Wmissing-prototypes -Wno-long-long -g -O2 -c `test -f 'tsql.c' || echo './'`tsql.c /bin/sh ../../libtool --mode=link gcc -g -O2 -o tsql tsql.o -lncurses ../tds/libtds.la mkdir .libs gcc -g -O2 -o .libs/tsql tsql.o -lncurses -L../tds/.libs -ltds -L/usr/local/lib -liconv ld: Undefined symbols: _gethostbyaddr_r _gethostbyname_r _getservbyname_r make[2]: *** [tsql] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 What could be wrong? TIA Vijoy~
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Compiler warning with Forte C 5.4 on Solaris, Harrington, Paul |
|---|---|
| Next by Date: | Re: Mac OSX make error Undefined symbols, James K. Lowden |
| Previous by Thread: | Compiler warning with Forte C 5.4 on Solaris, Harrington, Paul |
| Next by Thread: | Re: Mac OSX make error Undefined symbols, James K. Lowden |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |