linker error on mac os x

Mariusz Ziulek mz.mzet at gmail.com
Mon Oct 20 07:40:05 GMT 2008


Patch from https://bugzilla.samba.org/show_bug.cgi?id=541<https://bugzilla.samba.org/show_bug.cgi?id=5412>
worked
for me but now I encountered another error:
Linking bin/shared/libtorture.dylib.0.0.1
Undefined symbols:
  "_map_nt_error_from_unix", referenced from:
      _torture_temp_dir in torture.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/shared/libtorture.dylib.0.0.1] Error 1

2008/10/20 Love Hörnquist Åstrand <lha at kth.se>

> Hello,
>
> I'm starting to wounder if there is a missing autoconf test here, since
> heimdal works just fine on macos x.
>
> That said, I've started to migrate away from using environ in libroken, but
> it will take some time.
>
> Love
>
>
> 18 okt 2008 kl. 13:17 skrev Matthias Dieter Wallnöfer:
>
>
>  Hi!
>>
>> Sadly, the build of SAMBA 4 on Darwin/MacOS is broken at the moment (see
>> bug: https://bugzilla.samba.org/show_bug.cgi?id=5412). You could try the
>> appended patch of the bug in comment 1 and tell us if it worked for
>> you.  If it does, we could discuss about putting it in the main tree.
>>
>> Matthias Dieter Wallnöfer
>>
>> Mariusz Ziulek schrieb:
>>
>>> Hello,
>>> While compiling Samba4 on Mac OS X 10.5 I've got following error:
>>>
>>> Linking bin/shared/libdcerpc_atsvc.dylib.0.0.1
>>> Undefined symbols:
>>>  "_environ", referenced from:
>>>     _environ$non_lazy_ptr in heimdal_roken.o
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> make: *** [bin/shared/libdcerpc_atsvc.dylib.0.0.1] Error 1
>>>
>>> What's the problem? Thanks in advance.
>>>
>>> Regards,
>>> Mariusz Ziulek
>>>
>>>
>>>
>>
>>
>


-- 
Mariusz Ziułek
Dział IT
e-mail: mariusz.ziulek at holonglobe.com

HolonGlobe Sp. z o.o.
ul. Grunwaldzka 481
80 - 309 Gdańsk
NIP 584 263 77 52

Sąd rejestrowy:  Sąd Rejonowy Gdańsk - Północ w Gdańsku
VIII Wydział Gospodarczy Krajowego Rejestru Sądowego
KRS 0000299024; Wysokość kapitału zakładowego: 100 000,00 PLN


More information about the samba-technical mailing list