Opened 14 years ago

Closed 14 years ago

#28030 closed defect (duplicate)

Samba3 dyld: Library not loaded

Reported by: rick@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: samba3

Description

Has anyone been able to successfully execute smbd and nmbd from Samba 3.2.15 port on OS X 10.6.x?

Change History (3)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rick@… removed
Owner: changed from macports-tickets@… to mww@…
Port: samba3 added; Samba3 removed

Please provide the actual error message you're receiving.

comment:2 Changed 14 years ago by rick@…

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 any error:

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/samba3smb.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 dyld: Library not loaded error:

# /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 compiled samba 3.4.2 as a port and am getting same dyld error when running smbd or nmbd.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Type: submissiondefect

You just filed #28013 for the same problem, which was closed as a duplicate of #16023.

Note: See TracTickets for help on using tickets.