When you turn off shared libs, you must include (-L) all the libraries needed, including those used indirectly by the shared libs you are now including. So start adding libraries to the list. -- Marc Auslander <marc at watson.ibm.com>