[Rcpp-devel] Rcpp 0.12.3 does not compile properly under Solaris 11.2/sparc Error: Could not find a match for std::wstring::basic_string(const char*, const char*) needed in

Dimitar Vassilev dimitar.vassilev at gmail.com
Fri Feb 26 09:48:41 CET 2016


Thanks Rich,
Now I have Rcpp and ggplot2 installed.

2016-02-25 19:52 GMT+01:00 Rich Burridge <rich.burridge at oracle.com>:

> On 02/25/2016 10:28 AM, Rich Burridge wrote:
>
> On 02/25/2016 10:16 AM, Dimitar Vassilev wrote:
>
> Thanks,
> I had those hard-coded there.  Any idea where lstdc++ lives?
>
>
> I'm not sure which version of Solaris you have, but for S11.3 (and beyond)
> it's in /usr/lib (32-bit) and /usr/lib/64 (64-bit), so you should
> automatically get it.
>
> But if you are getting the Studio compilers from /opt/solarisstudio12.4
> then
> maybe /opt/solarisstudio12.4/lib/compilers/CC-gcc/lib/sparcv9
>
> Here's what I see:
>
> $ cd /opt/solarisstudio12.4
> $ find . -name libstdc*
> ./lib/compilers/CC-gcc/lib/libstdc++.so.6
> ./lib/compilers/CC-gcc/lib/sparcv9/libstdc++.so.6
> ./lib/compilers/CC-gcc/lib/sparcv9/libstdc++.so.6.0.18
> ./lib/compilers/CC-gcc/lib/sparcv9/libstdc++.la
> ./lib/compilers/CC-gcc/lib/sparcv9/libstdc++.so
> ./lib/compilers/CC-gcc/lib/libstdc++.so.6.0.18
> ./lib/compilers/CC-gcc/lib/libstdc++.la
> ./lib/compilers/CC-gcc/lib/libstdc++.so
>
>
> Oh I see you have:
>
> ...
>
> /opt/solarisstudio12.4/bin/CC -m64 -G lstdc++ -lgcc_s -lCrunG3 -lrt -lm
> -lc -L/usr/local/R/lib -norunpath -m64 -KPIC -DPIC -lc
> -L/opt/solarisstudio12.4/lib/sparcv9 -R/opt/solarisstudio12.4/lib/sparcv9
> -lsunperf -lfsu -lmtsk -lpicl -lkstat -L/usr/local/R/lib -R/usr/local/R/lib
> -o Rcpp.so Date.o Module.o Rcpp_init.o api.o attributes.o barrier.o
> -L/usr/local/R/lib -lR
> ld: fatal: file lstdc++: open failed: No such file or directory
>
>
> I think you missed a "-" before the lstdc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20160226/cbdc46ea/attachment.html>


More information about the Rcpp-devel mailing list