Using recycled bits, David Meyer pleaded:
%I have run into some problems after studying the readme.
%I can make the DBI but I receive an error when I make DBD [Makefile.PL -
%home/informix/lib/esql/libixos.so: undefined reference to `crypt'.]. I put
%some print statements into the Makefile.PL to see what it was linking.
%I created a hello.c program which I can get to compile and run. I can run
%dbaccess for Informix
%and everything there looks cool. Any help would be great! BTW - can
%what this glibc issue is for Redhat? Would it be better for me just to
%switch to Caldera or
%something else? I have found reference to this issue in the Linux Journal
%and through out
You missed Jonathan's remark about his hack to fix this and other problems
for glibc. For the record:
Date: Thu, 1 Oct 1998 13:51:33 -0700 (PDT)
Subject: Re: LINUX/SE problem, error #25591
> > Where can I get SE for RH Linux?
> Well, it depends on what you want.
> I'm using RH 5.1 on a machine at home and a machine in the office,
> and I'm using the SE and ESQL/C 7.24.UC5 released back in July.
> I made two sets of changes to the esql script to get it to work the
> way I want it to:
> * Add -lcrypt after -lm
> * Add code to recognize '-c' as an option, and
> * Add code to zap all the library names when -c was
> used as an option because GCC complains if you say
> gcc -c xyz.c -lm
> With those two (or three; it depends on how you count them) changes,
> I've been running my SQLCMD program quite happily. That's a non-
> trivial hunk of ESQL/C code. On my machine at home, I had enough
> disk space to install Everything; on the machine in the office, I
> had 1/10th the space, so I didn;t install everything. I don't think
> that I'm using the libc5 compatability libraries on either machine,
> but equally, I'm not running into problems.
> I've had other reports that there are problems with RH.
> The 25591 error sounds like a networking problem. Use seipcpip
> connections instead unless you've got a very good reason no to do so.
> Remember: I speak for myself, not for Informix -- especially this time.
And here's a patch file (unified diff) of the changes I made.
As I said, this is working for me on RedHat 5.1, but YMMV.
Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN
Informix IDN for D4GL & Linux -- http://www.informix.com/idn
--- esql.original Mon Jul 13 22:59:44 1998
# check for the existence of libraries specified in TLILIB
if test "x$TLILIB" = "x"
+ -c )
+ A="$A $1"
# compile .C (c++) files
if test "$B"
$CPP $INCLUDE -I$INFDIR/incl/esql -c $B
+if test "$DOLINK" = no
# compile .c files, link with c++ .o's in $BO
if test "$STATOPT"
Sounds like another FAQ...
Informix on Linux FAQ: http://www.users.uswest.net/~kwall/iolfaq.html