#42384 closed defect (fixed)
httrack runtime dyld failure
Reported by: | dwightkelly (Dwight Kelly) | Owned by: | mf2k (Frank Schima) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager), detlevd (Detlev Droege), kurthindenburg (Kurt Hindenburg), sibador (Julien BARBEY) | |
Port: | httrack |
Description (last modified by mf2k (Frank Schima))
When attempting to run httrack @3.47.23 I get the following error message
$ httrack http://www.google.com google -v dyld: lazy symbol binding failed: Symbol not found: _strndup Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace dyld: Symbol not found: _strndup Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace
Change History (18)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | httrack dyld removed |
Owner: | changed from macports-tickets@… to ross@… |
Port: | @3.47.23 removed |
comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)
What OS are you running on? afaik strndup
was only added to the darwin C library as of 10.7, so if you are using an older OS, it will not be present. The source for the implementation of strndup
function in the most recent darwin libc can be found here: http://opensource.apple.com/source/Libc/Libc-997.1.1/string/FreeBSD/strndup.c
comment:4 Changed 11 years ago by dwightkelly (Dwight Kelly)
10.6.8. There's a static strdup function in the httrack sources
comment:6 Changed 11 years ago by mf2k (Frank Schima)
Cc: | dkelly@… removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This was updated to version 3.48.3 in r119870. Is this still a problem for you? It works for me on Mavericks. Re-open the ticket if so.
comment:7 Changed 10 years ago by calsaiwing@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Still happens for me. I have HTTrack version 3.48-3 and OS X 10.9.5.
dyld: lazy symbol binding failed: Symbol not found: _libiconv_opening.pdf (314 bytes) - 416 Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace dyld: Symbol not found: _libiconv_open Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace Trace/BPT trap: 5
comment:8 Changed 9 years ago by jm@…
Similar problem persists or developed in HTTrack 3.48-3 on OS X 10.10.3
I hope this is the right place, even though it pertains to "libiconv_open":
dyld: lazy symbol binding failed: Symbol not found: _libiconv_open Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace dyld: Symbol not found: _libiconv_open Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace Trace/BPT trap: 5
comment:9 Changed 9 years ago by davalpi@…
The same problem persist on OSX 10.11.1 - HTTrack 3.48.3 - port 2.3.4 :
Mirror launched on Mon, 09 Nov 2015 16:09:52 by HTTrack Website Copier/3.48-3 [XR&CO'2013] mirroring +*.gif -ad.doubleclick.net/* +*.gif -ad.doubleclick.net/* http://www.foo-bar.com/ with the wizard help.. dyld: lazy symbol binding failed: Symbol not found: _libiconv_open OK Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace dyld: Symbol not found: _libiconv_open Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace Trace/BPT trap: 5
comment:10 Changed 8 years ago by detlevd (Detlev Droege)
Cc: | detlevd@… added |
---|
Cc Me! The error still occurs on El Capitan 10.11.6 with httrack 3.48-3.
It does not necessarily occur immediately after calling the command, but after it has already retrieved some pages.
comment:11 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|---|
Owner: | ross@… deleted |
Status: | reopened → assigned |
Can you try the new version and let us know if this issue persists.
comment:12 Changed 7 years ago by sibador (Julien BARBEY)
Cc: | sibador added |
---|
comment:13 Changed 7 years ago by detlevd (Detlev Droege)
Still the same :-( . On Sierra 10.12.6 with the new httrack 3.49:
$ port installed httrack The following ports are currently installed: httrack @3.49.2_0 (active) $ httrack -w -s0 XXXX.XXXX.XX Mirror launched on Mon, 02 Oct 2017 13:33:27 by HTTrack Website Copier/3.49-2 [XR&CO'2014] mirroring XXXX.XXXX.XX with the wizard help.. dyld: lazy symbol binding failed: Symbol not found: _libiconv_open(19020 bytes) - OK Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace dyld: Symbol not found: _libiconv_open Referenced from: /opt/local/lib/libhttrack.2.dylib Expected in: flat namespace Caught signal 6 No stack trace available on this OS :(
This occurs after having transfered approx. 110 files, totaling ~50 MB.
comment:14 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Do you have a small site that show this error?
comment:15 Changed 7 years ago by mf2k (Frank Schima)
otool shows that it is not linking to libiconv at all.
$ otool -L /opt/local/lib/libhttrack.2.dylib /opt/local/lib/libhttrack.2.dylib: /opt/local/lib/libhttrack.2.dylib (compatibility version 3.0.0, current version 3.49.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2) /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
Looking at ./configure --help
, I don't see an obvious way to point it to Macports libiconv.
comment:17 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to mf2k |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
In the future, please use WikiFormatting, and Cc the port maintainers (
port info --maintainers httrack
).