freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] make fails in macosx 10.3 libtools section
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] make fails in macosx 10.3 libtools section
- Date: Mon, 12 Jul 2004 21:48:14 +0200
Il lun, 2004-07-12 alle 21:39, Nicki Handy ha scritto:
> Hello- I have a novice question, but I couldn't find anything in the
> documentation or the archives. I am getting an error on make in max osx
> 10.3.4. i am logged in as root. i read in the known problems with OSes that
> one line in the libtool should be edited for osx so I think that might be my
> problem. unfortunately, the directions seem to be a bit outdated- they say
> to edit a line that is different in the version I have but I did delete out
> the variable $deplibs after i started getting these errors. That did not
> help. Any ideas?
>
> /usr/bin/libtool: unknown option character `B' in: -Bsymbolic
> Usage: /usr/bin/libtool -static [-] file [...] [-filelist
> listfile[,dirname]] [-arch_only arch] [-sacLT]
> Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist
> listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
> [-compatibility_version #] [-current_version #] [-seg1addr 0x#]
> [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
> <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
> [-noall_load]
> make[3]: *** [libtdsodbc.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [ast:assumpti/Desktop/freetds-0.62.4] root#
> -------------------------------------------------------------------
> this is what the docs say to change: (i'm not sure how i would apply this
> patch but as i said i simply deleted the var i thought it might not like)
> Figure 2-1. libtool patch for OS X 10.3
> --- libtool-orig Thu Nov 6 15:34:53 2003
> +++ libtool Thu Nov 6 15:38:45 2003
> @@ -202,7 +202,7 @@
> old_archive_from_expsyms_cmds=""
>
> # Commands used to build and install a shared archive.
> -archive_cmds="\$CC \$(if test .\$module = .yes; then echo -bundle; else
> echo -dynamiclib; fi) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs
> \$linkopts -install_name\$rpath/\$soname \$verstring"
> +archive_cmds="\$CC \$(if test .\$module = .yes; then echo -bundle; else
> echo -dynamiclib; fi) \$allow_undefined_flag -o \$lib \$libobjs
> \$linkopts -install_name\$rpath/\$soname \$verstring"
> archive_expsym_cmds=""
> postinstall_cmds=""
> postuninstall_cmds=""
>
> This patch was contributed by <Daniel Fazekas>, and has been used
> successfully by three people that we know of. As you can see, the only
> effect is to remove \$deplibs from line 202.
>
> Thanks a lot
> Nicki
>
Please try snapshot version. Or you can try to remove -Bsymbolic and add
a -module in src/odbc/Makefile.am and rebuild build tools (automake,
autoconf and recent libtool needed).
freddy77
-
[freetds] make fails in macosx 10.3 libtools section,
Nicki Handy, 07/12/2004
- Re: [freetds] make fails in macosx 10.3 libtools section, Frediano Ziglio, 07/12/2004
- Re: [freetds] make fails in macosx 10.3 libtools section, James K. Lowden, 07/12/2004
Archive powered by MHonArc 2.6.24.