Well i'm not exactly sure but mostly just having the right variables exported properly. I actually ended up copying /usr/dlc from a redhat box and pasting into /usr/dlc on the Oracle Enterprise Linux Box. Then I exported the variables and it magically started working!
Still having some issures...
OK, After setting some environment variables I was able to get the error message to go away however now I'm getting errors in the apache log saying "odbc.ini cannot be found." I set ODBCINI and ODBCSYSINI but this doesn't seem to have helped..
Ok.. So why is odbc/lib show up in the root path but not in the other?
[root@ftpsrv ~]# cd /usr/dlc/odbc/lib
[root@ftpsrv lib]# cd /
[root@ftpsrv /]# cd root
[root@ftpsrv ~]# cd $DLC/odbc/lib
bash: cd: /odbc/lib: No such file or directory
[root@ftpsrv ~]#
Also,
I did try.. LD_ASSUME_KERNEL=2.4.1
but not.. export LD_ASSUME_KERNEL;
I'm still new at working with environment variables. Could you possibly explain the difference in those two statements?
Also, is this something that would have to been done each time the machine is booted? Shouldn't...
Appreciate the pointers and especially the shell commands as I'm still a bit of a noobie on linux. I did not know that Oracle Enterprise Linux was unsupported... its really just RHEL... more so the CENTOS probably.
I will try your suggestions and see how it works out.
Thanks again!
Bryan
I get this error:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [unixODBC][Driver Manager]Can't open lib '/usr/dlc/odbc/lib/pgpro1019.so' : libpgicu19.so: cannot open shared object file: No such file or directory, SQL state 01000 in SQLConnect in /var/www/html/SugarCRM/test.php...
Ok.. check out that article. The php side is not where i'm having trouble. I have openedge set up on a windows machine and have no problem setting up a windows DSN and connecting with php.
My problem is on how to configure a dsn on the linux machine. I have no problems configuing mysql with...
Thanks for the help.. I'll check them out.
One question.. I have the driver installed. I was trying to use the driver manager from the package but it seems the only way to do it is through unixODBC?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.