Skip to Content.
Sympa Menu

freetds - Re: Error running configure on apache libiconv error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andre Costa <brblueser AT uol.com.br>
  • To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
  • Cc: wforster AT aegonusa.com
  • Subject: Re: Error running configure on apache libiconv error
  • Date: Fri, 28 Jun 2002 10:55:33 -0300


Hi Wes,

I never tried it myself, but always heard that Apache compilation was
tricky (there's a tool called ApacheTool [http://www.apachetoolbox.com/]
that's supposed to help carrying this out).

Anyway, looks like freetds was dynamically linked against libiconv, and
Apache can't find libiconv.so (or libiconv.a), so some symbols remain
unresolved. Maybe you should check if there's no ./configure param to tell
Apache to correctly find and use your installed libiconv.

HTH

Best,

Andre

On Fri, 28 Jun 2002 09:33:15 -0400
"Wes Forster" <wforster AT aegonusa.com> wrote:

> Hello,
> I have been trying to get freetds to build on a Sun server running
> solaris 8. 8_recommended patch installed, apache 1.3.24, php 4.2.1,
> freetds 0.53. After I configured built and installed freetds/php (with
> no errors) I attempt to run ./configure
> --activate-module=src/modules/php4/libphp4.a and I get the following
> error...
>
> # ./configure --activate-module=src/modules/php4/libphp4.a
> Configuring for Apache, Version 1.3.24
> + using installation path layout: Apache (config.layout)
> + activated php4 module (modules/php4/libphp4.a)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
> + configured for Solaris 280 platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + adding selected modules
> o php4_module uses ConfigStart/End
> + using builtin Expat
> + checking sizeof various data types
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. The below error output from the compilation
> ** test will give you an idea what is failing. Note that
> ** Apache requires an ANSI C Compiler, such as gcc.
>
> ======== Error Output for sanity check ========
> cd ..; gcc -DSOLARIS2=280 -I/export/home/wforster/php
> -I/export/home/wforster/php/main -I/export/home/wforster/php/main
> -I/export/home/wforster/php/Zend -I/export/home/wforster/php/Zend
> -I/export/home/wforster/php/TSRM -I/export/home/wforster/php/TSRM
> -I/export/home/wforster/php -DUSE_EXPAT -I./lib/expat-lite
> -DNO_DL_NEEDED`./apaci` -o helpers/dummy helpers/dummy.c
> -R/usr/ucblib-R/usr/local/freetds/lib -L/usr/ucblib
> -L/usr/local/freetds/lib-Lmodules/php4 -L../modules/php4
> -L../../modules/php4 -lmodphp4 -lpam -lsybdb -lcrypt -lresolv -lresolv
> -lresolv -lm -ldl -lsocket -lsocket-lcrypt -lsocket -lnsl -lpthread
> /usr/local/freetds/lib/libsybdb.so: undefined reference to
> `libiconv_open'/usr/local/freetds/lib/libsybdb.so: undefined reference
> to`libiconv_close'
> /usr/local/freetds/lib/libsybdb.so: undefined reference to `libiconv'
> collect2: ld returned 1 exit status
> make: *** [dummy] Error 1
> ============= End of Error Report =============
>
> Aborting!
>
> Has anyone seen this before? Any ideas on how to fix / get around this.
> These are the build options I'm using for the other apps.
>
> freetds
> ./configure --prefix=/usr/local/freetds --with-tdsver=7.0
>
> php
> ./configure --with-sybase=/usr/local/freetds --with-apache=../apache
> --enable-track-vars --with-mysql
>
> Thank you,
> Wes A Forster
>
>
> ---
> You are currently subscribed to freetds as: [brblueser AT uol.com.br]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page