> From: Edwin Eyan Moragas [mailto:[EMAIL PROTECTED] 
> 
> -compiled Main.hsc with:
> $ hsc2hs -I/usr/local/pgsql/include Main.hsc
> all went well with this
> 
> - tried compiling this way:
> $ ghc -o test -L/usr/local/pgsql/lib Main.hs


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 

Alistair.

-----------------------------------------
*****************************************************************
Confidentiality Note: The information contained in this   message, and any
attachments, may contain confidential   and/or privileged material. It is
intended solely for the   person(s) or entity to which it is addressed. Any
review,   retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other   than the
intended recipient(s) is prohibited. If you received  this in error, please
contact the sender and delete the   material from any computer.
*****************************************************************

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to