Re: Esql/C Problem.....HELP~~~
Posted in 1999
Peary You can set the LD_LIBRARY_PATH in your conf files and restart the webserver. For example if you are using Apache (1.1 or later), then you can add this in your httpd.conf file: SetEnv LD_LIBRARY_PATH your-ld-library-path and restart the webserver. The command is: /your-apache-dir/bin/httpd stop /your-apache-dir/bin/httpd start BTW, I will try to mail out the start script tonight. HTH Sujit peary <peary@ms1.url.com.tw> on 05/20/99 01:09:44 AM Please respond to peary <peary@ms1.url.com.tw> To: informix-list@iiug.org cc: (bcc: Sujit Pal) Subject: Re: Esql/C Problem.....HELP~~~ I have set the LD_LIBRARY_PATH in /etc/profile and it don't work.... Did I set it to the wrong file? Where should i set LD_LIBRARY_PATH? Thank you... Peary > > The usual answer to such questions is 'environment, environment, > environment'. Since you linked with ESQL/C 7.24, you also got > a file from the ESQL/C libraries linked into your code, which in > turn probably causes some other ESQL/C shared libraries to be > added to the program. You can tell this by running ldd on the > executable and seeing which Informix libraries show up. If I'm > correct (90% confident), then you need to set LD_LIBRARY_PATH or > juggle with /etc/ld.so.conf. And that means rebooting the > web server after adding some SetEnv or PassEnv directives. > > -- > Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) > Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN > #include <disclaimer.h> >