Displaying 4 results from an estimated 4 matches for "sqllib".
Did you mean:
mllib
2020 Oct 23
2
Apache HTTPD not picking up environment variables.
...CentOS 7 server. The problem I'm seeing is that the Apache httpd server fails to pick up the db2 environment variables. On an older version running under CentOS 5 this was done by inserting the following lines into the httpd start script in /etc/sysconfig/httpd:
if test -f /db2home/db2inst1/sqllib/db2profile; then
. /db2home/db2inst1/sqllib/db2profile
fi
Under CentOS 7's systemctl system this no longer works. I need a clue as to where to start looking for where to put this so it will be sourced when the Apache server starts. I have googled this and can find nothing relevant. I even...
2020 Oct 23
0
Apache HTTPD not picking up environment variables.
...I'm
> seeing is that the Apache httpd server fails to pick up the db2
> environment variables. On an older version running under CentOS 5
> this was done by inserting the following lines into the httpd start
> script in /etc/sysconfig/httpd:
>
> if test -f /db2home/db2inst1/sqllib/db2profile; then
> . /db2home/db2inst1/sqllib/db2profile
> fi
>
> Under CentOS 7's systemctl system this no longer works. I need a
> clue as to where to start looking for where to put this so it will
> be sourced when the Apache server starts. I have googled this and
>...
2006 Apr 26
0
DB2 under Windows XP - "Missing DB2 Libraries or headers"
...I''m new to Ruby so
digging
through the code was an interesting exercise. I finally go it to show
me the
windows command it was trying to execute:
cl -nologo -Feconftest
-IC:/Ruby & Rails/ruby-db2-0.4.4/ext/db2
-Ic:/ruby/lib/ruby/1.8/i386-mswin32
"-I"C:/Program Files/IBM/SQLLIB"/include"
-I. -I./.. -I./../missing
-MD -Zi -O2b2xg- -G6 conftest.c
msvcrt-ruby18-static.lib db2cli.lib oldnames.lib
user32.lib advapi32.lib wsock32.lib -link
-libpath:""C:/Program Files/IBM/SQLLIB"/lib"
-libpath:"c:/ruby/lib"
-stack:0x2000000
After much...
2005 Jun 13
1
unixODBC, RODBC, and DB2
...include -fPIC -g -O2 -c
RODBC.c -o RODBC.o
** Removing '/home/jcole/lib/R/library/RODBC'
** Restoring previous '/home/jcole/lib/R/library/RODBC'
From rodbc.log it seems that the problem may be with an IBM-supplied
header file:
In file included from RODBC.c:24:
/home/db2inst1/sqllib/include/sqlext.h:1681: error: parse error before
"SQL_API"
/home/db2inst1/sqllib/include/sqlext.h:1682: error: parse error before
"hdbc"
<More gory details available upon request.>
Any thoughts would be very much appreciated. I have verified that my
unixODBC installat...