[fpc-pascal]dll (with c convention) under win and linux

Sebastian Günther sguenther at gmx.de
Sun Nov 5 17:37:04 CET 2000


Alexis Halbot-Schoonaert wrote:
> 
> > Not if you didn't run 'ldconfig' after copying the .so to /usr/sbin...
> > [BTW, you should use /usr/local/bin or /usr/local/sbin instead...]
> 
> I copied my library in /usr/local/bin
> I also used ldconfig

Ehmm, just one moment. This is a library, not a program. So it must be
/usr/local/lib of course, sorry!
Try copy your .so file there, then check wether the file /etc/ld.so.conf
contains the path "/usr/local/lib" (on some distributions this is not
the case by default, don't know why). Then run ldconfig, and everything
should work fine.


- Sebastian




More information about the fpc-pascal mailing list