FreeBSD DSO Library - main undefined
Original Reporter info from Mantis: L505
-
Reporter name: Lars(L505)
Original Reporter info from Mantis: L505
- Reporter name: Lars(L505)
Description:
When using LoadLibrary on freebsd, nilhandle is returned even if the library exists. I checked with dlerror() using the dl.pp unit in uses clause and the error is:
undefined symbol "main"
Temporary hack: define a procedure called main() in the library, export it - and the handle is no longer nilhandle.
Mantis conversion info:
- Mantis ID: 7833
- Monitored by: » ggeldenhuys (Graeme Geldenhuys)