Re: dynamic linker error using cli SDK on Apache server
Posted in 2001
At 14:16 01/01/24 -0500, Jake Na wrote:
Hi Jake.
I had a similar experience.
Please use the setenv.
e.g) Here is my conf-file.
% cat srm.conf
##
## srm.conf -- Apache HTTP server configuration file
##
#
# This is the default file for the ResourceConfig directive in httpd.conf.
# It is processed after httpd.conf but before access.conf.
#
# To avoid confusion, it is recommended that you put all of your
# Apache server directives into the httpd.conf file and leave this
# one essentially empty.
#
SetEnv INFORMIXDIR /informix
SetEnv PATH /informix/bin:.
SetEnv INFORMIXSERVER ds731
SetEnv ONCONFIG onconfig.ds731
SetEnv LD_LIBRARY_PATH /informix/lib:/informix/lib/esql
SetEnv DB_LOCALE ja_JP.ujis
SetEnv SERVER_LOCALE ja_JP.ujis
SetEnv CLIENT_LOCALE ja_JP.sjis-s
Regards.
>I'm working on CGIs using informix Client C library on Apache Server. When
>I build my program and run it, I get "dynamic linker: my.cgi: libifcli.so is
>NEEDED, but object does not exist." How can I change the configuration on
>web server to include the library path? Please help! -Jake
>
>
--
Tsutomu Ogiwara
Technical Group & Red Brick Group, Informix Sales Promotion Dept
CTC, ITOCHU Techno-Science Corporation
Yasukuni Kudan-Minami Bldg., 2-3-14, Kudan-Minami Chiyoda-Ku TOKYO,
102-0074 JAPAN
Phone:+81-3-5212-4891 Fax:+81-3-5212-4889
E-mail:Tsutomu.Ogiwara@ctc-g.co.jp / tsutoo@my-deja.com