www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13025] New: Tools repository does not build on Ubuntu


          Issue ID: 13025
           Summary: Tools repository does not build on Ubuntu
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com
                CC: code klickverbot.at

Attempting to build the "tools" repository on Ubuntu 14.4 gives the following

undefined reference to symbol '__bss_start'
//usr/lib/x86_64-linux-gnu/librtmp.so.0: error adding symbols: DSO missing from
command line

Adding "-lrtmp" after "-lcurl" fixes the compile. This should not be necessary
because I'm sure that none of the tools need this, as "The Real-Time Messaging
Protocol (RTMP) is used for streaming multimedia content across a TCP/IP

My version of ld is "GNU ld (GNU Binutils for Ubuntu) 2.24". I'm not able to
reproduce this issue on a Debian system using ld 2.22 or a Gentoo system using
ld 2.24.

Jul 02 2014