[Issue 19801] Linking error: ld: symbol(s) not found for architecture x86_64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 10 16:26:59 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19801

--- Comment #7 from Jon Kleiser <jon.kleiser at icloud.com> ---
(In reply to Seb from comment #6)
> Did you clone the vibe.d repository and go into the examples/websocket
> directory to run the websocket example or where did you get it from?

I have now cloned the vibe.d repo. The vibe.d/examples/websocket did build and
run w/o problems.

I also tried to dub build the vibe.d/examples/http_server, but that ended like
this:

http-server-example ~master: building configuration "application"...
Linking...
Undefined symbols for architecture x86_64:
  "__D6object__T10RTInfoImplVAmA2i104i1322ZQBbyG2m", referenced from:
     
__D85TypeInfo_S4vibe4core4path__T11GenericPathTSQBhQBfQBd17WindowsPathFormatZQBs9PathRange6__initZ
in http-server-example.o
  "__D6object__T10RTInfoImplVAmA2i224i33ZQzyG2m", referenced from:
     
__D229TypeInfo_S9eventcore7drivers12threadedfile__T23ThreadedFileEventDriverHTCQClQCe5posix6even
-------------- lots more -----------------
ntDriverHTCQClQCe5posix6events__T22PosixEventDriverEventsHTCQEiQEbQBx6kqueue15KqueueEventLoopHTCQFsQFlQDh7sockets__T23PosixEventDriverSocketsHTQDgZQBfZQEoZQGq__T7taskFunVAyaa4_72656164ThZQBaFNbNiNfCQJqQJjQJe__TQItHTQHxZQJcSQKp6driver6FileFDmAhZvTQBxTQBcTmTQpZQMh6__initZ
in http-server-example.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1
/Library/D/dmd/bin/dmd failed with exit code 1.

--


More information about the Digitalmars-d-bugs mailing list