SimpleIDE won't load -- qualzip.so.1 won't load, cannot be found
LoopyByteloose
Posts: 12,537
I have SimpleIDE in a directory in my /home/george/...
I do have to log in a an Administrator/Superuser
The problem is the same on two computers - one with Linux Mint, the other with Debian 7.1.xxx
Please advise.
I do have to log in a an Administrator/Superuser
The problem is the same on two computers - one with Linux Mint, the other with Debian 7.1.xxx
Please advise.
Comments
If so you need to be sure it can be found at load time perhaps try:
$ export LD_LIBRARY_PATH=path/containing/quazip
Or move quazip to /user/local/lib or some place where libs normally live.
I will try to make sense of what you say and see if it works. But it seems similar to what the simpleide.sh tried already -- in both cases -- and returned the error message.
... try, try again.
I just did a download of libqualzip for the LinuxMint computer; but I seem unable to find libqualzip offered in the Debian computer's Synaptic search.
That would seem to indicate that I need to download libqualzip from somewhere, and to possibly have to seek out a good place to download from.
+++++++++++
In sum, two computers with the same error report.
But possibly with different problems in finding.
I would like to have SimpleIDE on both.. if I have to get rid of one OS, I'd rather get rid of the Linux Mint.
So you need to get the libs into the normal places the Linux looks for them, /lib. /usr/lib, /usr/local/lib, or point LD_LIBRARY_PATH at them.
Do you happen to have a 64 bit installation there? Is that libquazip a 32 bit library object? Run the command "file" command to find out. This is what I get:
I seem to remeber having a mix up with 32 bit and 64 bit libs that confused me for a while as it was complaining about not finding a file that was very clearly there.
What the output of ldd on the SimpleIDE executable? I have: Which tells us what SimpleIDE needs.
If you need to do that just use:
$ ln -s libquazip.so.1.0.0 libquazip.so.1
to create the link.
Or you could just rename the file of course.
The Linux Mint is on a 64bit machine, but is a 32bit Linux version
The Debian is simply on a 32bit machine.
I am not very fast at getting through this stuff, so it may be tomorrow before I get back to you. I am running a global search on the Asus EEEpc, but that may take considerable time.
And I have looked and libqualzip is supported in Debian. And yet my Synaptic Package Manager doesn't have it shown installed and not as available for installation.
It seems to me that I need a repository to add to get this package.
I will try to follow along and a need to get both installs active as I have a project that I actually commited to GCC use.
The AsusEEE pc is running 0-9-45 which has setup.sh.
The Mint Linux machine has a different version downloaded today without setup.sh
I just ran setup.sh which ran and I had it remove the old versions of GCC and SimpleIDE.
Now SimpleIDE comes up to provide a window and appears right. I will need to add the libpropelleruino. And establish a project. If that goes well, I've no idea what is up.
_________________
The other computer has a later .zip file of SimpleIDE (downloaded today) and no setup.sh file. It had a simpleide.sh file that produces the error of no qualzip.so.
Can you explain what the error is and if I can operate without the qualzip?
I will not do anything with it for now, but it is available -- not sure if I have to use something else for the Mint Linux machine (like an Ubuntu package).
I advice against installing packages from testing or unstable.
Anyway as far as I know libquazip is supplied in the SimpleIDE package. I have here SimpleIDE v 0-9-47 and libquazip is in there:
Just copy the files to /lib as root:
It appears that I can get the SimpleIDE to open at the end of a run of setup.sh. AND THAT gives the illusion that the system is completely functional.
But when I return, login first as Superuser, and attempt to just start up SimpleIDE fresh... then I get the libqualzip.so.1 not found.
++++++++++++
So I was fooled into believing I had a successful install by the setup.sh. Something odd is occurring.
Now that I have the Debian libqualzip tar.zip, what can I do with it? Will that remedy the problem.
BTW, my global search failed.. seems to freeze up on this Intel Atom machine.
Also, it seems that both machines are 0-9-45 images from the learn.parallax.com
On the Mint machine, I may have gotten confused and thought the SimpleIDEaaa-a0-9-45/bin/ directory was the whole thing. I did not see or run a setup.sh.
I will return and do so... later.
You should not be able to run SimpleIDE as super user, a.k.a "root".
It should fail with an error like: This is normal correct behavior.
You should not need that libquazip tar file whatever it is.
/lib is the whole path. that is where I have my libquazip files as shown above.
What are you using for "global search". The "find" command is all I ever use. e.g.
You are using 0-9-47 in a 64bit install and I have 0-9-45 in a 32bit install. Offering support from one to the other with phrases such as 'as I recall'
Other programs, seem to require that I run as a superuser to get complete USB port support, including BST. So are you indicating that I need to revise my whole USB installation user rights as well?
The Learn page make it seem as though I should just install the libqualzip. Mint Linux provided a copy in Synaptic Package Manager.
I could say a lot more, but this is one time I will really keep my mouth shut. I am just too upset to be decent.
Maybe in 24 hours, you might realizing that you are supporting 32 bit installations of 0-9-45
I just installed from here without any of the crazy problems you saw on a ubuntu VM.
Please use the official http://learn.parallax.com/propeller-c-set-simpleide site.
STATUS REPORT:
I am install two machines -- one Linux Mint and the other Debian 7.1
I have managed to get the Linux Mint machine to start SimpleIDE. As far as I can see, the only odd thing is some of the menus ... such as Properties is mixed English headings and Chinese character headings.
Part of the reason this is strange is that Linux Mint supposedly doesn't offer any Asian language support.
++++++++++++++++
As mentioned emphatically ... I am using 32 bit machines and SimpleIDE-0-9-45 along with the advice offered currently at the Learn.parallax.com site
________________
What's next?
A. I can live with the mixture of Chinese and English for now.
B. I will go back to the ASUS EEEpc in Debian and try to reinstall from a fresh download.
Slow down, take time to think. I have one machine working (somewhat).
In the past, this machine did have active Chinese as well as English in Ubuntu and something may have been retained in the migration -- fonts and configurations. I dumped the / directory, but retained the /home partition.
Where did you get the 0-9-47 package?
The Qt library provides the translations for the program, not Mint.
Where is the mixed Chinese/English text?
Heater has a 0-9-47 package. I don't.
Thus, I got annoyed.
I see the quazip package in the /bin... but the same site mentions that one must resolve libqualzip dependencies. So I just went to Synaptic package manager and sought out the same. Maybe the web page needs to be revised?
The mixed Chinese/English text? So far, when I call up the Properties sub-menu the last TAB is Chinese, all the color selections are in Chinese. I have not investigated the extent of nor the accuracy of the Chinese at this point. There may be more in other sub-menus.
I really suspect the cause is that I retained my /home partion from Ubuntu when I installed Mint. I have have to seek out and dump some dot files in the /home directory and reinstall the root. I am considering dumping Mint and having all my computers using Debian. But there is no rush with that either.
Yes, the quazip package should be in the /opt/simpleide/bin ...
The /bin/simpleide script automatically sets the LD_LIBRARY_PATH and runs /opt/simpleide/bin/simpleide ... It seems that INSTALL.txt has a small error in it ... that is, it has ./simpleide as the run command. That won't work, it must be run without ./ so that /bin/simpleide is called.
David Carrier's setup.sh installer can also be used to remove or install a SimpleIDE or PropellerGCC package.
@Heater, if you haven't noticed, the script that makes the package with the updated setup.sh is plinrelease.sh .
@Loopy sorry if my suggestions caused confusion due to version differences, things have moved on a bit...
@Jazzed.
I just pulled SimpleIDE again rebuilt it and installed it. It works but a couple little of issues:
i) Step 3) of the INSTALL instructions in INSTALL.txt is now wrong. setup.sh now takes "action" and "target" parameters.
ii) In step 4) it talks about a "Documents" directory in the home directory. I don't have one. Turns out the "SimpleIDE" gets splattered into my home directory. Not polite.
+++++++++++++
I seem to now get SimpleIDE to run on both machines IF I used simpleide.sh to start the process as Regular user.
Both were loaded with the same .zip and the setup.sh run to install.
I still seem to get the qualzip error message if I use my SuperUser privlidges to run simpleide.sh --- this appears to be a misleading error message.
Frankly, this is the first Linux application that I have run into requireing a shell command to start and a must use a normal user.
NOW it is obvious that the Superuser and the normal user have a different /opt/... path
===============
The software seems to see a serial port for programing, but IF I MUST use my Regular login, I may have to reconfigure USB serial privileges. That remains to be seen. I have been using BST to load Propellers and Putty to run Forth in Superuser for USB serial port.
Normally for the sake of sanity, I try to use my Linux OSes as they come instead of having to tweak everything to work in my user account.
+++++++++++++++++
It might be wise to provide a separate 'introductory' download of the SimpleIDE User's Guide. As it is, the SimpleIDE has to install and run properly before a new user has access to it. I made a copy for use with an SDmemory stick if I am at someone else's computer and desire to read.
++++++++++++++++++
No Chinese on the AsusEEE installation.. looks clean.
On the Mint Linux, go to Tools/Properties/ and the Highlight Tab and all the color choices come up in Chinese... I will have to investigate more later.
But for now, I can work with at least one machine.. cleanly.
$ sudo adduser $USER dialout
You may need to reboot after that.
Thanks I will try that. And I am moving on to some productive study of the SimpleIDE User Guide.
I belong tho that rather large group of people that dread installing software, especially when the error messages send you far and away from the real solution.
It was NEVER about the the qualzip.so.1 missing.
In the future, TELL the new user NOT to run in Superuser in the Install.txt.
And considering inclusion of a mention about change of USB serial port rights might be worthy as well.
After all, many Linux users may just want to save money and have yet to acquire a great deal of knowledge.
I am not quite ready to do compiles and downloads to a Propeller. I have to set up a Project and get libPropelleruino recognized.
+++++++++++++++
In mousing around, the Chinese mix with the English in sub-menus is in many places, and included replacements for the Open and Cancel icons. As the Mint install has Ubuntu fonts for the default, I begin to wonder if their was a mix-up on the migration to Mint. It is hard to say as Mint is an Ubuntu derivative.
For now, the seems to be merely a language cross-over and not a funcitonal failure. Since I do read a bit of Chinese computer lingo, I can live with that for awhile. I may just reinstall the whole Linux at some point to try to clear up the problem. I really suspect that this is unique to me and I don't expect SimpleIDE/GCC to come to my aid.
So consider all issues of requested help as resolved. Both computers are running a useful SimpleIDE.
BTW, thanks to all -- Heater and Jazzed.
It seems that language and keyboard settings were retained from Ubuntu in the /home directory.
Mint does not come with Asian language support, but it appears that one can added it if desired. So, the install of Mint took on the configuration that I previously had in Ubuntu.
It wasn't really difficult to strip out the mixed language. So all is exactly as it should be.
Thanks again.