[OSX] milter won't build

bob ackerman rdacker at pacbell.net
Mon Feb 4 20:28:51 EST 2002


that's what i needed to know. libsm.a was in the original sendmail folder,
  but not installed. i moved it to /usr/lib and i was able to build and 
install.
Thank you!

On Monday, February 4, 2002, at 01:10  PM, Steven Majewski wrote:

>
>
> 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 mailing list