[sane-devel] mac osx: cannot build scanimage

rcharlet@SonicWALL.com rcharlet@SonicWALL.com
Thu, 6 Feb 2003 11:09:22 -0800


Howdy,

	From a `make` command with sane 1.0.10 in mac osx I get
-----------cut-----------------
making all in frontend

gcc -o .libs/scanimage scanimage.o stiff.o  ../sanei/libsanei.a =
-L../backend/.libs -lsane ../lib/liblib.a -L/usr/local/lib -lusb -lIOKit =
-lm

/usr/bin/ld: Undefined symbols:

_dlclose
_dlerror
_dlopen
_dlsym
make[1]: *** [scanimage] Error 1
make: *** [all-recursive] Error 1
------------paste------------

(my emailer will probably put in some annoying newlines in the middle of =
the gcc line)

Anyway... I put "-ldl" in my LIBS macro in frontends/Makefile and it =
went smooth after that.


Ricky Charlet
Firmware Engineer
408.962.8711
rcharlet@sonicwall.com
SonicWALL Inc.=20