#28013: samba3: dyld: Library not loaded: bin/libtalloc.dylib.1 error ---------------------------+------------------------------------------------ Reporter: rick@… | Owner: mww@… Type: defect | Status: reopened Priority: High | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: samba3 | ---------------------------+------------------------------------------------ Changes (by rick@…): * status: closed => reopened * resolution: duplicate => Comment: I ran a complete port uninstall, uninstall macports, install macports 1.9.2 again, and a new install of samba 3.1.5 on same OS X 10.6.5 system with Xcode 3.2.5 and samba install completed without problem: Running smbstatus and testparm show correct info: # /opt/local/bin/smbstatus -V Version 3.2.15 # /opt/local/bin/smbstatus sessionid.tdb not initialised Service pid machine Connected at ------------------------------------------------------- /opt/local/var/locks/locking.tdb not initialised This is normal if an SMB client has never connected to your server. # /opt/local/bin/testparm Load smb config files from /opt/local/etc/samba3//smb.conf Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Server role: ROLE_STANDALONE However I can not run smbd or nmbd and both are showing the same dyld: Library not loaded error: # [1]+ Trace/BPT trap /opt/local/sbin/nmbd -F # # /opt/local/sbin/nmbd & [1] 19736 # dyld: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/nmbd Reason: image not found [1]+ Trace/BPT trap /opt/local/sbin/nmbd # /opt/local/sbin/nmbd -D & [1] 19737 # dyld: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/nmbd Reason: image not found [1]+ Trace/BPT trap /opt/local/sbin/nmbd -D # /opt/local/sbin/nmbd -V dyld: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/nmbd Reason: image not found Trace/BPT trap # /opt/local/sbin/smbd dyld: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/smbd Reason: image not found Trace/BPT trap Here is the output of crash log: # cat /Library/Logs/DiagnosticReports/smbd_2011-01-17-155417_localhost.crash Process: smbd [19765] Path: /opt/local/sbin/smbd Identifier: smbd Version: ??? (???) Code Type: X86-64 (Native) Parent Process: bash [19799] Date/Time: 2011-01-17 15:54:17.144 -0800 OS Version: Mac OS X 10.6.5 (10H574) Report Version: 6 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0 Dyld Error Message: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/smbd Reason: image not found Binary Images: 0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1 -3B6C-1C2C-9075EA219A06> /usr/lib/dyld # I've also complied samba 3.4.2 and am getting same dyld error when running smbd or nmbd. -- Ticket URL: <https://trac.macports.org/ticket/28013#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS