On Thursday, January 30, 2014 10:12:38 Jack Chastain wrote: > OK - Back on this today... > > On Wed, Jan 29, 2014 at 4:09 PM, Chris Knadle <[email protected]>wrote: > > On Wednesday, January 29, 2014 15:53:56 dragorn wrote: > > > On Wed, Jan 29, 2014 at 03:19:25PM -0500, Jack Chastain wrote: [...] > > > You're trying to run a complex GUI 32bit app on a 64 bit system - you > > > will have to install basically a complete 32bit system alongside the > > > 64bit. > > > > What's needed is "adding the i386 architecture" on this amd64 system. > > > > i.e.: > > sudo dpkg --add-architecture i386 > > This gives no action at all - I thought I sould check with "dpkg -l | grep > i386" and sure enough - lots of stuff. Apparently, that is already > installed?
Either that or you're running i386 rather than amd64. Default Ubuntu seems to be i386 unless you get an alternate download. Tell you what -- check. :-) $ dpkg --print-architecture amd64 > > From there you can do: > > apt-get update > > apt-get install libstdc++6:i386 > > This netted the following - it looks familiar - should I be specifically > removing those items called out inline here: > > jack@jack-SVE1713CCXB:~/Downloads/DraftSight$ sudo apt-get install > libstdc++6:i386 > Reading package lists... Done > Building dependency tree > Reading state information... Done > *The following packages were automatically installed and are no longer > required:* > * linux-headers-3.11.0-13 linux-headers-3.11.0-13-generic > linux-image-3.11.0-13-generic linux-image-extra-3.11.0-13-generic* > Use 'apt-get autoremove' to remove them. > The following NEW packages will be installed: > libstdc++6:i386 > 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. > Need to get 335 kB of archives. > After this operation, 1,181 kB of additional disk space will be used. > Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy-updates/main libstdc++6 > i386 4.8.1-10ubuntu9 [335 kB] > Fetched 335 kB in 0s (1,903 kB/s) > Selecting previously unselected package libstdc++6:i386. > (Reading database ... 255768 files and directories currently installed.) > Unpacking libstdc++6:i386 (from .../libstdc++6_4.8.1-10ubuntu9_i386.deb) ... > Setting up libstdc++6:i386 (4.8.1-10ubuntu9) ... > Processing triggers for libc-bin ... > jack@jack-SVE1713CCXB:~/Downloads/DraftSight$ > > the start error now is > > jack@jack-SVE1713CCXB:~/Downloads/DraftSight$ > /opt/dassault-systemes/DraftSight/Linux/DraftSight > /opt/dassault-systemes/DraftSight/Linux/DraftSight: error while loading > shared libraries: libGL.so.1: cannot open shared object file: No such file > or directory Yep -- I got that too. This package doesn't have the correct dependencies. So the next thing to do is search for what package contains the missing library. Often this works (which dragorn pointed out): $dpkg -S libGL.so.1 libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1 libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 (Except obviously in this case you need the :i386 version of the package.) other times you might need to install apt-file, then do 'apt-file update', then 'apt-file search libGL.so.1'. The difference is that 'dpkg -S' is for finding files in /installed/ packages, whereas 'apt-file' can find files in packages regardless of whether they're installed or not. But as you're about to find out, even after you've installed the missing library package, there are going to be a pile more missing libraries; at least that's what happened when I tried it in an Ubuntu 12.04 amd64 VM. It got to a point where a library package was required which was installed for amd64, but wasn't available for i386. At that point I gave up because I have better things to do. :-P > so I guess there is some progress. I think I may be just about ready to > just put this in a VM window under W8. I hate that thought That may be less palatable, but it's also likely that the package for Windows is in better shape and will... actually work. Or, report these issues as bugs to "upstream" (the source of the program) and hope that they can help. -- Chris -- Chris Knadle [email protected] _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org https://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) Vassar College Feb 5 - Nginx Mar 5 - March Meeting: 11th Anniversary Apr 2 - Google App Engine
