Opened 14 years ago
Closed 14 years ago
#28013 closed defect (duplicate)
samba3: dyld: Library not loaded: bin/libtalloc.dylib.1 error
Reported by: | rick@… | Owned by: | mww@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | samba3 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I'm running MacPort 1.9.2 on OS X 10.6.5 and have been able to install Samba 3.2.15 without problem. I'm able to run smbstatus and testparm properly however when I try to launch smbd or nmbd I get:
dyld: Library not loaded: bin/libtalloc.dylib.1 Referenced from: /opt/local/sbin/./smbd Reason: image not found Trace/BPT trap
I've ran "port clean --all samba3" few times and made sure everything is clear however still notice same error.
Should I completely uninstall MacPorts and start over again
Change History (7)
comment:1 Changed 14 years ago by rick@…
Cc: | rick@… added |
---|
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rick@… removed |
---|---|
Description: | modified (diff) |
Keywords: | dyld: Library not loaded removed |
Owner: | changed from macports-tickets@… to mww@… |
Port: | samba3 added; Samba 3.2.15 removed |
Summary: | Samba 3.2.15 dyld: Library not loaded: bin/libtalloc.dylib.1 error → samba3: dyld: Library not loaded: bin/libtalloc.dylib.1 error |
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #16023.
comment:4 Changed 14 years ago by rick@…
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
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/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 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.
comment:5 follow-up: 6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
This is still a duplicate.
comment:6 Changed 14 years ago by rick@…
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:7 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Well the preferable fix is to set the right install_name on the libs, but regardless of whether there's a solution, this is a duplicate ticket, so please stop reopening it.
Cc Me!