Re: Linux and Informix cont'd...
Posted in 1998
Bob Beaulieu wrote: > I used the fully qualified domainname and now I'm able to > create a database and tables. The file I corrected was /etc/sqlhosts: > The line entry was: > local_se seipcpip systemname.domain.name sqlexec > > Should there also be an entry in /etc/services? I don't have one there, > like sqlexecd and it would seem like there should be one. > > Also, when trying to compile a very simple hello world type .ec code, > esqlc is giving me the following error: > /usr/informix/lib/esql/libixos.so: undefined references to 'crypt' > Any ideas as to what could be causing this? > > I do have LD_LIBRARY_PATH set to: > $INFORMIXDIR/lib/esql:$INFORMIXDIR/lib:/usr/lib:/lib > > Should I have any other env variables set? > Thanks, > Bob Beaulieu > bobb@metroed.net Hi Bob, could you elaborate on how you modified the domain name. I have the same kind of problem. My hostname is simply 'myhost'. How would I go about changing it? Do I need to change it in /etc/hosts and $INFORMIXDIR/etc/sqlhosts? Regarding your question, I read somewhere that you need to add a line in /etc/services like: sqlexec 1526/tcp HTH, John