Re: Linux and Informix cont'd...
Posted in 1998
Using recycled bits, Bob Beaulieu pleaded: %The file that I changed was $INFORMIXDIR/etc/sqlhosts. %I added two lines: % %se_local seipcpip test.metroed.net sqlexec %metroed_se sesoctcp test.metroed.net sqlexecd % %I also changed /etc/services. %I added one line: % %sqlexecd 1520/tcp #informix daemon % %I set the variables %INFORMIXDIR=/usr/informix %INFORMIXSERVER=metroed_se % %I started the $INFORMIXDIR/lib/sqlexecd daemon as root % %Everything seems to work okay except when I compile esql/c %stuff. If I use esql -static for simple printf('hello world!\\n'); stuff, %if works, otherwise, I'm still getting the following error: % %/usr/informix/lib/esql/libixos.a(osauth.o): In function 'crypt_pwd': %osauth.o(.txt+0x29c): undefined reference to 'crypt' The following from Stefan Gunst (sorry, no umlaut) should help: --- begin --- From - Thu Oct 8 20:48:07 1998 Path: www.informix.com!not-for-mail From: "Stefan G'nst (OSE)" <stefan@ose.de> Newsgroups: informix.idn.linux Subject: Re: compiling esql/c programs Date: Tue, 1 Sep 1998 10:45:11 +0200 Organization: Informix Software, Inc. Lines: 24 Message-ID: <6sgcji$1gg1@www.informix.com> References: <6sg90r$1id1@www.informix.com> NNTP-Posting-Host: 195.243.182.54 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 You have to modify the esql script in $INFORMIXDIR/bin line 124 as : SYSLIB="-lm -lcrypt" Stefan lyw schrieb in Nachricht <6sg90r$1id1@www.informix.com>... >I'd install the Informix-SE for Linux bundle on a machine running the Red >Hat Linux release 5.1. > >I hit an error while trying to compile esql/c programs. > >the error is : > /informix/lib/esql/libixos.so : undefined reference to 'crypt' > >Is it because that Informix-SE for Linux does not support Red Hat Linux ??? > >Please give me some idea on how to solve the problem. > >Thanks and regards, >LYW --- end --- -- Kurt Wall Informix on Linux FAQ: http://www.users.uswest.net/~kwall/iolfaq.html