Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGDMk9Fh_6iRaKDx1sX86Jc=jdXjBrsH-pyijNRtnusWvzTQsw@mail.gmail.com>
Date: Fri, 5 Jun 2015 17:34:52 -0400
From: John Mudd <johnbmudd@...il.com>
To: musl <musl@...ts.openwall.com>
Cc: John Mudd <johnbmudd@...il.com>
Subject: C++ questions

I've been building an app with musl and it worked well for years. Recently
one of the proprietary libs that I use has been updated to include C++ code
along with the usual C code.

In the past (in a non-musl environment) I've gotten this to work by
loading libstdc++.so. I tried that again but I get the following error when
trying to load libstdc++.so.

Error loading shared library ld-linux.so.2: No such file or directory
(needed by /usr/lib/i386-linux-gnu/libstdc++.so.6)

I looked at the notes about C++ in the musl faqs. For that I decided it
might help if I built gcc in musl. Then everything will be musl-ized? I
built gmp, mpfr and mpc. Started building gcc but got the following error.

/home/mudd/musl/gcc-4.9.2.obj/gcc/../../gcc-4.9.2/gcc/plugin.c:579:
undefined reference to `dlopen'

Before I go further, any opinions if I'm even headed in the right direction?

John

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.