Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Mac OSX make error Undefined symbols: msg#00195

db.tds.freetds

Subject: RE: Mac OSX make error Undefined symbols

>
> 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
>

I fixed detection on Max OS X (see patch) and libtool 1.5.5 should avoid
patch. If you want I can send you a snapshot (privately) so you can make
a test (without autogen, only configure) ...

freddy77


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation