[sane-devel] Problem linking shared objects under kylix

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 16 Apr 2003 21:51:11 +0200


On Tue, Apr 15, 2003 at 01:20:36PM -0500, Peter Chen wrote:
> I'm using Linux Sane libsane.so, I ran kylix(bcb) not as root and added
> libsane.so (a symbolic link actually) to my project and included sane.h (one
> function is declared as extern sane_status sane_init(...) in this .h file),
> I could compile the project but could not make it, always telling me linker
> error.

Which linker error exactly?  Which symbol is missing? Did kylix really
link against libsane? You may need other libraries as well.
sane-config --libs tells you which libraries you need.