I tried adding the unti to my uses as well as the snippet you gave but it says its the wrong number of parameters? I dont see where that even accepts any really.
Or Im confused? Thanks, Tom On Mon, Nov 21, 2011 at 12:07 PM, Tom Russell <[email protected]> wrote: > Weird that command is said that its unknown. Is that for OSX or linux? > > Thanks , Ill try the other option as well. > > > > On Mon, Nov 21, 2011 at 12:02 PM, Joost van der Sluis <[email protected]> wrote: >> On Mon, 2011-11-21 at 11:20 -0500, Tom Russell wrote: >>> Using FPC 2.44 and the file it cannot find is libpq.dylib which is in >>> Library/PostGreSQL/9.1/Bin >> >> My guess is that that path is not in you library-search path. Try 'ld >> --verbose' on the commandline. See which search-directories are used, >> and add a symlink in one of them. >> >> Or you can add the postgres3dyn unit to your uses-list, and call >> 'InitialisePostgres3('Library/PostGreSQL/9.1/Bin/libpq.dylib');' before >> you do anything db-related. >> >> -- >> My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog >> >> >> -- >> _______________________________________________ >> Lazarus mailing list >> [email protected] >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
