RE: Need help compiling Web Datablade
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration, Data Types & Schema Design, Platform-Specific Issues, Internationalization & Character Sets
Hi ! Under SuSE Linux 6.4 I just had to add the library -libld and the errors disappeared and apached compiled well. cu Thomas -- ************************************************************ Thomas von Siebenthal Voice +41 (0)32 / 645 04 70 Flurstrasse 28A Fax +41 (0)32 / 645 04 74 CH-2544 Bettlach E-Mail Thomas@von.Siebenthal.ch Switzerland WWW http://www.siebenthal.ch ************************************************************ > -----Original Message----- > From: owner-informix-list@iiug.org > [mailto:owner-informix-list@iiug.org]On Behalf Of Steve Romankiw > Sent: Friday, April 14, 2000 4:07 PM > To: IIUG > Subject: Need help compiling Web Datablade > > > I am trying to compile the web datablade module into my Apache web > server. I am getting a compilation error - "undefined reference to ..." > . See the output below from ./Configure for details. > > Any ideas on which library is missing? > > TIA > > Steve Romankiw > > > Output from ./Configure > ----------------------------------------------- > [root@dba src]# ./Configure > Using config file: Configuration > Creating Makefile > + configured for Linux platform > + setting C compiler to gcc > + setting C pre-processor to gcc -E > + checking for system header files > + adding selected modules > + checking sizeof various data types > + doing sanity check on compiler and options > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > cd ..; gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite > `/usr/local/apache/src/apaci` > -L/opt/informix/v9.2.UC1-1/extend/web.4.00.UC1/apache > -L/opt/informix/v9.2.UC1-1/lib -L/opt/informix/v9.2.UC1-1/lib/esql > helpers/dummy.c -o helpers/dummy -lifxw -lifsql -lifasf -lifgen -lifos > -lifgls /opt/informix/v9.2.UC1-1/lib/esql/checkapi.o -lifglx -lifsql > -lifasf -lifgen -lifos -lifgls -lm -lcrypt -lm > /opt/informix/v9.2.UC1-1/lib/libifasf.so: undefined reference to > `dlclose' > /opt/informix/v9.2.UC1-1/lib/libifasf.so: undefined reference to > `dlopen' > /opt/informix/v9.2.UC1-1/lib/libifasf.so: undefined reference to `dlsym' > > **** Here is the error > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > collect2: ld returned 1 exit status > make: *** [dummy] Error 1 > ** A test compilation with your Makefile configuration > ** failed. This is most likely because your C compiler > ** is not ANSI. Apache requires an ANSI C Compiler, such > ** as gcc. The above error message from your compiler > ** will also provide a clue. > Aborting! > > [root@dba lib]# ldd -v libifasf.so > statically linked > > Version information: > /lib/libNoVersion.so.1: > libc.so.6 (GLIBC_2.0) => /lib/libc.so.6 > /lib/libc.so.6: > ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2 > ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2 > ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2 > > [root@dba lib]# gcc -v > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs > > nux dba.execrisk.com 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 > unknown > > uname -a > -------- > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) > > -- > Steve Romankiw > Chubb / Executive Risk > 82 Hopmeadow Street > Simsbury, CT 06070 > >
Related threads
- Funny filter failure on select from sysmaster:syspools
- RE: Problem with NULL values
- Re: Funny filter failure on select from sysmaster:syspools
- Re: Funny filter failure on select from sysmaster:syspools
- RE: Funny filter failure on select from sysmaster:syspools