[OSX] milter won't build
sdm7g at Virginia.EDU
Mon Feb 4 22:10:13 CET 2002
On 4 Feb 2002, rdack wrote:
> now i get:
> cc -bundle -flat_namespace -undefined suppress
> build/temp.darwin-5.2-Power Macintosh-2.1/miltermodule.o -lmilter -lsm
> -o build/lib.darwin-5.2-Power Macintosh-2.1/milter.so
> /usr/bin/ld: can't locate file for: -lsm
> what file is it looking for? why can't it find it? what is option
> '-lsm'? could i just remove it? what file would it be in?
"-lsm" means it wants to link to libsm.[ a, so, ... ].
Without a "-L" switch to add other library search directories, the
default is to look in /usr/lib.
I have no idea what "libsm" is -- that's not part of Darwin/Mac OS X.
Some common libs, like libm for example, are merged into the system
library, so you can just leave off "-lm" and it'll link to the
math libs without it -- so it's worth trying if you don't know
what it is or where it comes from.
-- Steve Majewski
More information about the Python-list