Opened 16 years ago

Closed 14 years ago

#18167 closed defect (duplicate)

dyld: Library not loaded: bin/libtalloc.dylib.1

Reported by: ash@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: samba3

Description (last modified by mf2k (Frank Schima))

New install 10.4.11 (PPC) and MacPorts 1.7 with XCode 2.5 default install

smbd -V gives error:

dyld: Library not loaded: bin/libtalloc.dylib.1
  Referenced from: /opt/local/sbin/smbd
  Reason: image not found
Trace/BPT trap

Looking through open tickets there is a sort of reference to this but it appears it should have been sorted aleady - ticket 44960.

Not very experienced in this, do I need to do anything else.

Attachments (2)

configure.txt (50.4 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
port -v configure samba3
build.txt (24.9 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
port -v build samba3

Download all attachments as: .zip

Change History (12)

comment:1 Changed 16 years ago by ash@…

Cc: ash@… added

Cc Me!

comment:2 in reply to:  description Changed 16 years ago by ash@…

Replying to ash@…: Apologies - the port is Samba3 (3.2.7).

New install 10.4.11 (PPC) and MacPorts 1.7 with XCode 2.5 default install

smbd -V gives error:

dyld: Library not loaded: bin/libtalloc.dylib.1

Referenced from: /opt/local/sbin/smbd Reason: image not found

Trace/BPT trap

Looking through open tickets there is a sort of reference to this but it appears it should have been sorted aleady - ticket 44960.

Not very experienced in this, do I need to do anything else.

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

You didn't state the port name. Is it samba3?

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Cc: ash@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: samba3 added

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Version: 1.7.01.7.1

I'm also experiencing this problem with samba3 on intel 10.5.7, xcode 3.1.3.

$ sudo smbd -F
dyld: Library not loaded: bin/libtalloc.dylib.1
  Referenced from: /opt/local/sbin/smbd
  Reason: image not found
Trace/BPT trap

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: configure.txt added

port -v configure samba3

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: build.txt added

port -v build samba3

comment:7 Changed 15 years ago by ketchup@…

I have also gotten same problem with samba3 on PPC 10.4.11, xcode 2.5 and PPC 10.5.7, xcode 3.1.3. And I found the following commands fix the problem.

$ cd /opt/local/sbin
$ sudo install_name_tool -change bin/libnetapi.dylib.0 /opt/local/lib/samba3/libnetapi.dylib -change bin/libsmbclient.dylib.0 /opt/local/lib/samba3/libsmbclient.dylib -change bin/libsmbsharemodes.dylib.0 /opt/local/lib/samba3/libsmbsharemodes.dylib -change bin/libtalloc.dylib.1 /opt/local/lib/samba3/libtalloc.dylib -change bin/libtdb.dylib.1 /opt/local/lib/samba3/libtdb.dylib -change bin/audit.dylib /opt/local/lib/samba3/vfs/audit.dylib -change bin/cap.dylib /opt/local/lib/samba3/vfs/cap.dylib -change bin/default_quota.dylib /opt/local/lib/samba3/vfs/default_quota.dylib -change bin/expand_msdfs.dylib /opt/local/lib/samba3/vfs/expand_msdfs.dylib -change bin/extd_audit.dylib /opt/local/lib/samba3/vfs/extd_audit.dylib -change bin/fake_perms.dylib /opt/local/lib/samba3/vfs/fake_perms.dylib -change bin/full_audit.dylib /opt/local/lib/samba3/vfs/full_audit.dylib -change bin/netatalk.dylib /opt/local/lib/samba3/vfs/netatalk.dylib -change bin/readahead.dylib /opt/local/lib/samba3/vfs/readahead.dylib -change bin/readonly.dylib /opt/local/lib/samba3/vfs/readonly.dylib -change bin/recycle.dylib /opt/local/lib/samba3/vfs/recycle.dylib -change bin/shadow_copy.dylib /opt/local/lib/samba3/vfs/shadow_copy.dylib -change bin/shadow_copy2.dylib /opt/local/lib/samba3/vfs/shadow_copy2.dylib -change bin/streams_xattr.dylib /opt/local/lib/samba3/vfs/streams_xattr.dylib -change bin/xattr_tdb.dylib /opt/local/lib/samba3/vfs/xattr_tdb.dylib /opt/local/sbin/nmbd
$ sudo install_name_tool -change bin/libnetapi.dylib.0 /opt/local/lib/samba3/libnetapi.dylib -change bin/libsmbclient.dylib.0 /opt/local/lib/samba3/libsmbclient.dylib -change bin/libsmbsharemodes.dylib.0 /opt/local/lib/samba3/libsmbsharemodes.dylib -change bin/libtalloc.dylib.1 /opt/local/lib/samba3/libtalloc.dylib -change bin/libtdb.dylib.1 /opt/local/lib/samba3/libtdb.dylib -change bin/audit.dylib /opt/local/lib/samba3/vfs/audit.dylib -change bin/cap.dylib /opt/local/lib/samba3/vfs/cap.dylib -change bin/default_quota.dylib /opt/local/lib/samba3/vfs/default_quota.dylib -change bin/expand_msdfs.dylib /opt/local/lib/samba3/vfs/expand_msdfs.dylib -change bin/extd_audit.dylib /opt/local/lib/samba3/vfs/extd_audit.dylib -change bin/fake_perms.dylib /opt/local/lib/samba3/vfs/fake_perms.dylib -change bin/full_audit.dylib /opt/local/lib/samba3/vfs/full_audit.dylib -change bin/netatalk.dylib /opt/local/lib/samba3/vfs/netatalk.dylib -change bin/readahead.dylib /opt/local/lib/samba3/vfs/readahead.dylib -change bin/readonly.dylib /opt/local/lib/samba3/vfs/readonly.dylib -change bin/recycle.dylib /opt/local/lib/samba3/vfs/recycle.dylib -change bin/shadow_copy.dylib /opt/local/lib/samba3/vfs/shadow_copy.dylib -change bin/shadow_copy2.dylib /opt/local/lib/samba3/vfs/shadow_copy2.dylib -change bin/streams_xattr.dylib /opt/local/lib/samba3/vfs/streams_xattr.dylib -change bin/xattr_tdb.dylib /opt/local/lib/samba3/vfs/xattr_tdb.dylib /opt/local/sbin/smbd

I'm not so experienced Mac OS X that I'm not sure this is correct way to fix the problem. But I can get started nmbd and smbd and they respond correctly on PPC 10.5.7.

I'm now facing other problem. On PPC 10.4.11 smbd does work correctly but nmbd gives segmentation fault.

comment:8 Changed 15 years ago by reid@…

Just had to reinstall 10.4 on my G4 (don't have 10.5) and ran into this issue. ketchup@… gives a solution that works for me for smbd but produces a seg fault for nmbd. This is the command that worked for me with nmbd:

sudo install_name_too -change  bin/libtalloc.dylib.1 /opt/local/lib/samba3/libtalloc.dylib -change  bin/libtdb.dylib.1 /opt/local/lib/samba3/libtdb.dylib /opt/local/sbin/nmbd

comment:9 Changed 15 years ago by reid@…

Spoke too soon. nmbd gives a seg fault, but get this, only when the -D switch is used. If the command is just nmbd then the thing daeomonizes just fine.

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.