www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19543] New: Shared object "libstdc++.so.6" not found,

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

          Issue ID: 19543
           Summary: Shared object "libstdc++.so.6" not found, required by
                    "dmd"
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: zoujiaqing gmail.com

[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"

--
Jan 02