Title: Using EOF with PDO
Keywords: EOF PDO adaptor 100005
Q. Using EOF 1.1 and PDO 3.0, I build a trivial app to retrieve some data. The code compiles and links without warnings, but when I execute the code it dies with: #100005. Further examination reveals that the adaptor cannot be accessed.
A. One solution is to statically link in the adaptor, i.e.:
% gcc -g -o myProg myProg.o /usr/NextLibrary/Adaptors/Oracle7.dbadaptor/Oracle7 -lEOAccess -lFoundation -lm