Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Rob Saunders — — source: IIUG Forums & Mailing Lists
<!DOCTYPE
html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000099" bgcolor="#cccccc">
I'm trying to compile the DBD::Informix Perl module so that I can
create some web interfaces to an Informix DB. However, if I use the
command:<br>
<br>
perl -MCPAN -e 'install "Bundle::DBD::Informix"<br>
<br>
which downloads and installs all pre-requisite modules, I get a compile
time error. The output (with the environment variable
DBD_INFORMIX_DEBUG_ESQLCC set ) is as follows:<br>
<br>
Beware: DBD::Informix is not yet aware of all the new IUS data types.<br>
<br>
Assert macro will be disabled!<br>
<br>
lib/DBD/Informix/Defaults.pm written OK<br>
esqlvrsn.h written OK<br>
esqlinfo.h written OK<br>
<br>
Testing whether your Informix test environment will work...<br>
gcc -I/home/informix/incl/esql -I/usr/local/include -I/usr/include/gdbm
-c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DESQLC_VERSION=953 -DNDEBUG esqltest.c<br>
gcc -I/home/informix/incl/esql -I/usr/local/include -I/usr/include/gdbm
-c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DESQLC_VERSION=953 -DNDEBUG esqlc_v6.c<br>
gcc -I/home/informix/incl/esql -o esqltest esqltest.o esqlc_v6.o
-L/home/informix/lib -L/home/informix/lib/esql -lifsql -lifasf -lifgen
-lifos -lifgls -lc -lm -ldl -lcrypt /home/informix/lib/esql/checkapi.o
-lifglx<br>
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'<br>
/home/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_toupper'<br>
/home/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_tolower'<br>
collect2: ld returned 1 exit status<br>
Failed to link test program esqltest<br>
<br>
... and that's it - no makefile gets written and so no software. I have
tried a recompile setting the env variable "DBD_INFORMIX_NO_ESQLTEST"
but this just results in segmentation faults, so I guess somewhere
there are missing includes/libraries<br>
<br>
So the failure seems to be down to the "undefined references .... in
libifgls.so" - I'm not a developer, but does this mean that the CSDK
2.81 software is not compatible with the IDS 9.40 version that I'm
using? Has anyone else got Perl DBI working on IDS 9.40UC2E1 with CSDK
2.81UC2.<br>
<br>
I'm running RH9 with kernel 2.6.0 and glibc-2.3.2-11.9 (for i686
architecture)<br>
<br>
Any takers?<br>
<br>
Thanks in advance<br>
<br>
Rob<br>
<br>
<BR>
________________________________________________________________________<BR>
This email has been scanned for all viruses by the MessageLabs Email<BR>
Security System. For more information on a proactive email security<BR>
service working around the clock, around the globe, visit<BR>
<A
href=http://www.messagelabs.com>
http://www.messagelabs.com</A><BR>
________________________________________________________________________<BR>
</body>
</html>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.