in mac: database connection lazarus / 16-Databases ---------------------------------------------------------------------- cpalx · 2010-06-12 08:58 Hello i made a database connection with Zeos and postgreSQL. when i compile from lazarus works perfectly.but when i execute the binary directly display the error message: EZQLException Request database driver was not found libpq is in usr/lib. i tested coping in the same path and has the same error. any ideas ? lazarus 0.9.29 (svn) fpc 2.4 Snow leopard in a macbook ---------------------------------------------------------------------- DonaldShimoda · 2010-06-12 17:10 Quote from: cpalx on June 12, 2010, 10:58:45 amHello i made a database connection with Zeos and postgreSQL. when i compile from lazarus works perfectly.but when i execute the binary directly display the error message: The question is, you can connect to the database at designtime??? If dont, you must check the status of your progress driver on you mac. If yes, then som property is wrong changed at runtime. HTH ---------------------------------------------------------------------- cpalx · 2010-06-13 10:53 hi,  in design time it connect perfectly, i found the error. I used extractfilepath(application.exename)  to get the config file, but in Mac the path is different as i espected so i solved the problem fixing the path ---------------------------------------------------------------------- DonaldShimoda · 2010-06-13 19:17 Quote from: cpalx on June 13, 2010, 12:53:45 pmhi,  in design time it connect perfectly, i found the error. I used extractfilepath(application.exename)  to get the config file, but in Mac the path is different as i espected so i solved the problem fixing the path Glad you find it!