Bug 19543 – Shared object "libstdc++.so.6" not found, required by "dmd"

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
FreeBSD
Creation time
2019-01-03T07:31:12Z
Last change time
2019-01-03T21:07:00Z
Assigned to
No Owner
Creator
zoujiaqing

Comments

Comment #0 by zoujiaqing — 2019-01-03T07:31:12Z
[zoujiaqing@freebsd /usr/home/zoujiaqing]$ curl -fsS https://dlang.org/install.sh | bash -s dmd Downloading https://dlang.org/d-keyring.gpg ######################################################################## 100.0% Downloading https://dlang.org/install.sh ######################################################################## 100.0% gpg: directory '/home/zoujiaqing/.gnupg' created gpg: keybox '/home/zoujiaqing/.gnupg/pubring.kbx' created gpg: /home/zoujiaqing/.gnupg/trustdb.gpg: trustdb created The latest version of this script was installed as ~/dlang/install.sh. It can be used it to install further D compilers. Run `~/dlang/install.sh --help` for usage information. Downloading and unpacking http://downloads.dlang.org/releases/2.x/2.084.0/dmd.2.084.0.freebsd-64.tar.xz ######################################################################## 100.0% Using dub 1.13.0 shipped with dmd-2.084.0 Run `source ~/dlang/dmd-2.084.0/activate` in your shell to use dmd-2.084.0. This will setup PATH, LIBRARY_PATH, LD_LIBRARY_PATH, DMD, DC, and PS1. Run `deactivate` later on to restore your environment. [zoujiaqing@freebsd /usr/home/zoujiaqing]$ source ~/dlang/dmd-2.084.0/activate (dmd-2.084.0)[zoujiaqing@freebsd /usr/home/zoujiaqing]$ dmd --version ld-elf.so.1: Shared object "libstdc++.so.6" not found, required by "dmd"
Comment #1 by greeenify — 2019-01-03T13:42:51Z
Have you any C++ compiler installed? For one or two releases, you'll need to have libstdc++ installed though this dependency will be dropped soon now that DMD is almost completely converted to D.
Comment #2 by greensunny12 — 2019-01-03T13:48:09Z
Comment #3 by github-bugzilla — 2019-01-03T21:06:59Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/1b0765ee3ec38b78e803796a42a4a36750d294c9 Fix Issue 19543 - Shared object "libstdc++.so.6" not found, required by "dmd" https://github.com/dlang/dmd/commit/ff41d7e77a87ddfc529a7b107017b71e46d9d91d Merge pull request #9188 from wilzbach/libstdc++ Fix Issue 19543 - Shared object "libstdc++.so.6" not found, required by "dmd" merged-on-behalf-of: Jacob Carlborg <[email protected]>