Issue 19543 - Shared object "libstdc++.so.6" not found, required by "dmd"
Summary: Shared object "libstdc++.so.6" not found, required by "dmd"
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 FreeBSD
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-03 07:31 UTC by zoujiaqing
Modified: 2019-01-03 21:07 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zoujiaqing 2019-01-03 07:31:12 UTC
[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 Seb 2019-01-03 13:42:51 UTC
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 Seb 2019-01-03 13:48:09 UTC
PR: https://github.com/dlang/dmd/pull/9188
Comment 3 github-bugzilla 2019-01-03 21:06:59 UTC
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 <jacob-carlborg@users.noreply.github.com>