version `GLIBCXX_3.4.26′ not found even though libstdc++.so.6 recent enough

I realize there are many questions like this, but the difference from the others is that my libstdc++.so.6 actually does appear to be up to date enough (see below for the strings it exports). This is an error that comes up when trying to load a dynamic library that i just compiled myself. apt-get upgrade and the like tell me libstdc++.so.6 already is up to date (on version libstdc++6 is already the newest version (9.1.0-2ubuntu2~18.04)).

Full error i get when loading this library (in MATLAB R2019a):

'/home/dee/git_repos/Titta/TobiiMex/TobiiMex_matlab/64/TobiiMex_matlab.mexa64': /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/dee/git_repos/Titta/TobiiMex/TobiiMex_matlab/64/TobiiMex_matlab.mexa64) 

output of strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC:

GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.6 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.3.4 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH 

What can i try to fix this?

Recent VDPAU broken?

Anyone else having issues with VDPAU lately (within the last week or so)? All my video players suddenly quit working (mplayer, for instance, crashes with an “interrupted by signal 11 in module: decode_video” error, but works with gl, xv, x11, etc. vo drivers). I’ve tried reinstalling everything I can think of, to no avail.

Using amdgpu 19.20 on a Vega 56, drivers via the oibaf PPA.

Is it just me? I haven’t seen posts from others with similar issues.

practical copy/paste clipboard model of recent web HTML5 browsers?

I have difficulties in understanding the conceptual model of the copy/paste clipboard in recent HTML5 browsers (e.g. a Firefox 60.7 or a Chrome 75.0, on Linux/Debian, released this year in 2019). This is in the context of the Bismon applied research project, with a low TRL, which provides some domain specific, dynamic and transpiled language (also called Bismon), already has a Web interface generic machinery conceptually inspired by ocsigen, and is orthogonally persistent.

In X11, the model (see ICCCM & EWMH) starts by negotiating a common data format. This is why we can copy/paste images and rich text from Firefox to Libreoffice.

But let’s suppose I have two instances (running on two different Linux hosts) of the same single-page web application : it is bismon, a GPLv3+ “research prototype” software which is some specialized HTTP server above libonion, with already existing components generating C – bismon is a transpiler -, JavaScript & HTML5 (the CSS being handwritten by me) running in two different tabs of the same Linux browser. Both tabs are running some syntactic editor (in their specialized bismon web servers), so are manipulating abstract syntax trees (textually representable in some textual serialized format, conceptually like S-expressions, XML, YAML or JSON – and without loss of generality it could be exactly some JSON). And I want to copy/paste one abstract syntax sub-tree from one tab to another. My continuously updated Bismon draft report gives further details, notably in its chapter 4. There is an already working, but very incomplete, Web interface in bismon commit 980c2d6ff2df2 with a working login form (similar in functionality to the StackOverflow login form) setting some HTTP session cookie, in practice quite a random and unique one, such as BISMONCOOKIE=n000041R970099188t330716425o_6IHYL1fOROi_58xJPnBLCTe. Every user (so every Bismon web browser tab) is allowed to interact, in a single page application fashion, only after having successfully logged in (conceptually analog to StackOverflow login procedure). Hence, exactly like I could have two StackOverflow users and login to them in two different web browser tabs, I might have two or three Bismon web browser tabs logged in (from Bismon’s perpective) differently. Each of these tabs is a single page application browser tab (with a different and unique BISMONCOOKIE). Here is an already working example of Bismon login form (with ./bismon serving, for HTTP thru libonion, on port 8086 of localhost): Bismon login form

After a successful login, Bismon gives the following generated XHTML5:

 <?xml version="1.0" encoding="utf-8"?>  <!DOCTYPE html>  <html xmlns="http://www.w3.org/1999/xhtml">    <head >     <title >Bismon</title>    <script src="/jscript/jquery.js" type="text/javascript"/>    <script src='/jscript/jquery-ui.js' type='text/javascript'/>    <script src='/bismon-root-jsmodule.js' type="text/javascript"/>    <script src='/jscript/bismon-hwroot.js' type="module"/>    <link href='/themes/first-theme.css' rel='stylesheet' type='text/css'/>    <link href='/css/jquery-ui.css' rel='stylesheet' type='text/css'/>   </head>   <body >     <h1 >Bismon</h1>    <nav class='bmcl_topnav' id='topnav_8LMWqayq5sW_9G2xsSpA0yS' >      &#9755;     <button class='bmcl_topbut' id='topbut_4m9twhDXB7k_88CBTgLfGvs' >  App </button>    </nav>    <p class='bmcl_hellopara' id='hellop_0uAT1v6dH9d_1o3q8wzbV7K' >  Hello Basile Starynkevitch  your web session is  <tt class='bmcl_cookie'>BISMONCOOKIE=n000001R59317675t289012178o_5FKgTFl64f2_2h8Y79EvsK7</tt> </p>    <ul class='bmcl_topmenu ui-menu' id='topmenu_2hnb4LnCzga_48CQrsBJofR' >      <li class='bmcl_topmenutitle ui-menu-item ui-state-disabled' id='topmtitle_6G1xOyeten5_7SqZ4EcQe8T' ><div >application : </div></li>     <li class='bmcl_topmenuitem ui-menu-item' id='topmitem_1SiDnlyQRR6_5meHUV4d3iF' ><div >dump</div></li>     <li class='bmcl_topmenuitem ui-menu-item' id='topmitem_9ZmJrhdpjae_79WiEHOVpbE' ><div >exit</div></li>     <li class='bmcl_topmenuitem ui-menu-item' id='topmitem_2nguorns5mY_2UnseYw0xRf' ><div >quit</div></li>    </ul>   </body>  </html>  <!-- end root-web-handler o_webex=_7rOPSVsyZnS_31DSTvb99w7; o_websess=_5FKgTFl64f2_2h8Y79EvsK7 at 2019 Jul 26, 05:15:35.52 MEST --> 

A quite generic existing infrastructure in Bismon is capable of generating quite arbitrary XHTML5 (with SVG!) code like above (from some Bismon specific runtime data). A generic infrastructure also exists in Bismon to generate JavaScript code (transpiled from some Bismon specific domain specific language).

My ambition is to code, in my Bismon system, something with a fancy web interface, capable of editing some abstract syntax tree, perhaps appearing in the Web browser tab in a way close to the below figure (taken from wikipedia): some abstract syntax tree

In the future, the Bismon user would have a tab with a content similar to above figure, and might, for example, click on the while box, and conveniently replace it with some until box. That idea (of syntax-oriented visual editors) is not new: Centaur implemented a similar idea in the 1980s. I want to implement a similar thing in Bismon using Web technologies. And I want to copy/paste, from one tab to another of the same Firefox browser, entire, well formed, abstract syntax sub-trees (or, at the conceptual level, well written S-expressions representing such AST subtrees)

question

How should I design such a thing? FWIW, every software involved – Bismon, web browsers, etc…- is (contractually, in the H2020 project funding that work) open source software on Linux. And Bismon is in july 2019 at TRL 2 and might, if all goes well, reach TRL 3 at end of 2020.

Notice that I am not asking about AJAX code manipulating the DOM, I am asking about the concepts explaining copy/pasting (of some structured tree-like data, expressible in XML or in S-exprs or JSON, and displayed as nested HTML5 or SVG DOM elements) between two different tabs of the same browser. Also, I would like that the copy source and paste destination web tabs (hence their different web servers) to communicate some data which has no visual appearance (preferably even without any display:none HTML5 element).

In other words, I am trying to find and understand the equivalent of ICCCM & EWMH for web technologies, about copy/pasting between two tabs of the same recent Firefox (or Chrome) browser on Linux. My feeling (just a guess) is that it is frowned upon (for security reasons) to copy/paste between two different tabs, but I don’t know the details. I did found this W3C clipboard API but I am guessing most of it is not yet implemented today. What is exactly available today in practice on recent Linux browsers? Also, real-life code examples (working with Firefox 60.7 on Debian/Linux/x86-64) are welcome!

My question could be rephrased as: how to copy/paste, using Linux with a recent Xorg and some EWMH compliant window manager only (I don’t care about other OSes at all!), some textual format content (probably JSON, but it could be my own Bismon textual format) with its MIME type from one tab (driven by Bismon on Linux host A) to another tab (single page web application tab of Bismon on Linux host B) of the same browser? Ideally, I would prefer not changing the DOM at all (exactly in the same spirit of EWMH), but if possible I don’t want a visual change of it (since the actual DOM modification would be controlled by Bismon AJAX or WebSocket handshakes or exchanges).

The several tabs are illustrated in the figure bismon-monitor.svg. In that figure, in some weird cases, Alice, Bob, and the left-side static analysis expert (that is in practice me, Basile), could be using three different tabs on the same Firefox browser (on Linux), and the Bismon server (or bismon monitor on that figure; in weird cases, we could even imagine 2 or 3 Bismon monitor processes running on different machines…) is also running on Linux and serving HTTP using libonion, and I want to copy/paste semantic contents representing complex ASTs (Bismon objects, in my parlance) from one browser tab to another one. If I was using GTK or Qt I would be able to code that without issues (since both have a flexible, generic, well document, clipboard & copy/paste related API).

From a user point of view, I am almost asking about the detailed design of some collaborative software tool, using Web technologies, and capable of editing some sophisticated proof (or mathematical text or wiki with formulae) within a small team.

My draft report has dozen more pages about my ideas (and references to systems as old as Centaur and Mentor related to them). I want to implement these ideas using modern Web technologies in my bismon GPLv3+ system. If I was using GTK or Qt, implementing these ideas is just a matter of coding (using also ssh -X or similar stuff). But I am less familiar with web technologies, however, Google docs is capable of copy/pasting like I dream of.

To summarize my question :

what are the ideas of the design of copy/pasting from one browser tab to another one some complex structured contents in Google Docs or in TinyMCE (with several HTTP wiki servers involved!) ? How would you, the hypothetical software architect of such applications, guide the junior developer coding them?

PS: I am today july 2019 a quite senior software developer, aged 60, (with a PhD in CS from 1990) coding professionally since 1985, but today, as a new web developer, I am still a newbie in that area (but I have some academic knowledge about HTTP, cookies, HTML5, DOM, AJAX, JavaScript, … but very few concrete practical coding experience)

Class has been compiled by a more recent version of the Java Environment

I tried the solutions provided in the answer section for this question but still nothing solved my problem.

I edited my JAVA_HOME and PATH variables in the .bashrc file.

java -version shows:

openjdk version “11.0.2” 2019-01-15 LTS OpenJDK Runtime Environment

Zulu11.29+3-CA (build 11.0.2+7-LTS) OpenJDK 64-Bit Server VM

Zulu11.29+3-CA (build 11.0.2+7-LTS, mixed mode)

javac --version shows:

javac 11.0.1

which java shows:

/home/local/prasanth-8508/jdk11/jdk/bin/java

which javac shows:

/home/local/prasanth-8508/jdk11/jdk/bin/javac

What could be the problem here?

Installing Ubuntu without external media, UEFI for recent versions

I have a new laptop, on which I would like to setup a dual-boot configuration with Windows 10. Windows 10 is installed on the main SSD, and I plan to install Ubuntu on the 1TB external HDD by creating a partition for it and installing Grub on that drive. I do not, however, have any external media such as a USB drive and this laptop lacks a CD drive. How can I boot the live installation media? Also, my laptop cannot use EasyBCD, as this uses UEFI and I’d prefer to not have to format the drive to boot an ISO file using it. Is there any way this could be possible? I wondered about installing Grub on the hard drive, and then using Grub’s commands to boot an ISO file from a partition on the drive, but I have no idea whether this would work.

How can I change the icon of Recent Folder that I drag to dock on Mac

I want to move the folder recent item to dock because it helps me a lot. But this is not the only one folder i use in dock, there is another one such as download folder. Because of the icon shown on these folders based on the first item in each folder, sometime it confuses me.

The question is, can I change the icon of those folders in dock so that I can differentiate them easily?

Thank you.