
25 Feb
2005
25 Feb
'05
2:38 p.m.
On Fri, 25 Feb 2005 14:25:21 -0000, Bayley, Alistair
Do you not also need the -l option? e.g. (wild guess, assuming library is libpg.so)
$ ghc -o test -L/usr/local/pgsql/lib -lpg Main.hs
eyan@tanis $ ghc -o test -L/usr/local/pgsql/lib/ -lpg Main.hs compilation IS NOT required /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lpg collect2: ld returned 1 exit status still no go. :-) thanks. kind regards, eyan