How to install WD on Linux

Lots to report this evening. First I’ll answer some of the questions you’ve all asked.

Brian, I’ve tried to download WeatherD a couple of times over the last month. I’m no longer sure what version I was working with.
Pablo, I thought I downloaded WeatherD for Linux. Not the QT version. But, when I looked inside my deploy directory I saw lots of files with qt in the name.

So, I deleted all of the files I could find related to WeatherD, including the files that I copied into /usr/lib.

I downloaded a fresh copy of WeatherD for Linux. Not the QT or the console. I put the WeatherD.tar.gz in my /home/user directory. Used tar -xf WeatherD.tar.gz to decompress. This produced a wdisplay subdirectory in /home/user. Inside the wdisplay directory there is a deploy directory that contains, among other things, the libusbdll.so file that was missing before. I confirmed the permissions on /dev/ttyS0 and WeatherD and then tried, at long last, to run ./GoWeather.sh.

The result was the same error message I received previously, but this time it couldn’t find a different file named libglib-1.2.so.0. The full error message was:
WeatherD: error while loading shared libraries: libglib-1.2.so.0: cannot open shared object file: no such file or directory.

I looked for libglib-1.2.so.0 in my deploy folder and could not find it.

Whew! That’s about it for me tonight. I’ll look forward to hearing what you suggest next.

-Francis

Hi Francis,

Please issue the commands I requested (yah, I’m still awake! :slight_smile: … otherwise I really can’t lend a hand.

Cheers.

One more thing: I did notice that when I was decompressing the WeatherD.tar.gz file that it hung for quite a while without returning a command line prompt. I let it go for at least 30 minutes. After that I did a control-C to get back to the command line. Maybe the decompression did not work properly and I didn’t get the needed libglib-1.2.so.0 file?

-Francis

Oh, that’s a big problem … :slight_smile: … here’s the command to use: `tar -zxf WeatherD.tar.gz’ to uncompress and un-tar.

Pablo! You still there? You are a trooper. Hold on while I try to run the commands you told me.

OK. Should I try tar -zxf or the other commands you told me?

Pablo: I decompressed again using tar -zxf WeatherD.tar.gz and it did not hang up.Got the command line back. Then checked the permissions and ran .GoWeather.sh.

Got the same error message again. Can’t open libglib-1.2.so.0. I looked for the file in the deploy folder and it is not there.

Could it be that I didn’t delete everything before I decompressed a second time?

-Francis

thats in fact a different error message, and is a new error
that library file is not in the deploy folder because that is the GTK1 library
which you do not have installed
but instead try the QT version download, as you might have instead the GT widgset installed

Hi Brian,

I tried downloading the QT version. Got it decompressed successfully. Changed the permissions for /dev/ttyS0 and WeatherD.

Ran ./GoWeatherD.sh and got still another error message:

./WeatherD: /lib/tls/libcso.6:version

cant read that…

Hi Brian,

Sorry about not being able to read my last post. I wrote it on my Linux computer which defaulted to that font.

I downloaded the QT version and successfully decompressed it. I then changed the permissions for /dev/ttyS0 and WeatherD. When I ran ./WeatherD.sh I got another error message:

./WeatherD: /lib/tis/libcso.6 version ‘GLIBC.2.4’ not found (required by ./deploy/libQtCore.so.4)

Does that help?

Pablo, I will try the commands you gave me later today. Its difficult because I don’t know how to copy/paste in Linux. Should I direct the output to a file? How do I then post the contents of the file in the forum?

-Francis

Hang in there Francis I am getting a copy of your Linux OS.Give me a day or two
Coyote

does not sound like a very good linux distro if you ask me
looks like you need to install Glibc

Its kind of light its not like regular distro of linux I am working with it right now trying to make it work
Coyote

Brian, it is a small PC with limited RAM and small solid-state hard disk. Doesn’t surprise me that it might not be a “full” distribution of Linux. My original thought was that it would be perfect for WeatherD because it uses only 15 watts and could be left on all the time. Of course it might not have Glibc and other things needed to get WeatherD to work…

I would be surprised if it couldn’t work. Its quite a capable little machine with nice graphic interface and lots of apps.

Coyote, thanks for investigating. I’m very interested to hear what you find.

Meanwhile, I will try to figure a way to do what Pablo suggested and report back.

-Francis

Pablo, Here are the results:

results of “find . -print”

./cronwu
./findresults.txt
./climatedata.html
./cronmysql
./GoWeather.sh
./croncwop
./deploy
./deploy/libcomold.so
./deploy/liblunar.so
./deploy/usb_version.dat
./deploy/libhid.so
./deploy/serial_version
./deploy/libcom.so
./deploy/libusbdll.so
./deploy/libutils.so
./deploy/libutils.so.1
./deploy/qt4.pas
./deploy/serial_version.dat
./deploy/libqt4intf.so
./deploy/libQtCore.so.4
./deploy/libQtGui.so.4
./deploy/libhid.so.0
./tagslist.txt
./findprint
./WeatherD
./climatedatayear.html
./readme.txt
./cronftp

results of “file GoWeather.sh”

GoWeather.sh: Bourne-Again shell script text executable

results of "find . -print | xargs ls -la

-rwxr-xr-x 1 user user 15507 2008-02-21 11:39 ./climatedata.html
-rwxr-xr-x 1 user user 10216 2007-10-31 04:03 ./climatedatayear.html
-rwxr-xr-x 1 user user 1232279 2008-06-21 18:40 ./croncwop
-rwxr-xr-x 1 user user 1350882 2008-06-17 23:42 ./cronftp
-rwxr-xr-x 1 user user 1584166 2008-06-17 16:46 ./cronmysql
-rwxr-xr-x 1 user user 1297687 2008-06-18 06:45 ./cronwu
-rwxr-xr-x 1 user user 31012 2007-12-08 01:54 ./deploy/libcomold.so
-rwxr-xr-x 1 user user 34241 2008-03-10 15:56 ./deploy/libcom.so
-rwxr-xr-x 1 user user 54691 2007-12-06 11:26 ./deploy/libhid.so
-rwxr-xr-x 1 user user 54691 2007-12-06 11:26 ./deploy/libhid.so.0
-rwxr-xr-x 1 user user 2896740 2008-06-20 22:17 ./deploy/liblunar.so
-rwxr-xr-x 1 user user 1831620 2008-06-23 02:05 ./deploy/libqt4intf.so
-rwxr-xr-x 1 user user 2262932 2008-06-23 01:50 ./deploy/libQtCore.so.4
-rwxr-xr-x 1 user user 9299120 2008-06-23 01:51 ./deploy/libQtGui.so.4
-rwxr-xr-x 1 user user 48820 2008-05-19 14:34 ./deploy/libusbdll.so
-rwxr-xr-x 1 user user 8043 2008-06-11 18:52 ./deploy/libutils.so
lrwxrwxrwx 1 user user 11 2008-06-30 21:59 ./deploy/libutils.so.1 → libutils.so
-rw-r–r-- 1 user user 971799 2008-06-23 02:07 ./deploy/qt4.pas
-rwxr-xr-x 1 user user 8994 2008-03-10 15:58 ./deploy/serial_version
-rwxr-xr-x 1 user user 8382 2007-12-08 01:54 ./deploy/serial_version.dat
-rwxr-xr-x 1 user user 8428 2007-12-08 01:54 ./deploy/usb_version.dat
-rw-r–r-- 1 user user 56 2008-07-01 23:18 ./findGoWeatherresults
-rw-r–r-- 1 user user 493 2008-06-30 21:43 ./findprint
-rw-r–r-- 1 user user 511 2008-07-01 23:16 ./findresults.txt
-rw-r–r-- 1 user user 0 2008-07-01 23:20 ./findxargsresults
-rwxr-xr-x 1 user user 714 2008-06-17 23:56 ./GoWeather.sh
-rw-r–r-- 1 user user 328 2008-06-17 23:52 ./readme.txt
-rwxr-xr-x 1 user user 126714 2007-08-09 16:39 ./tagslist.txt
-rwxrwxrwx 1 user user 81417117 2008-06-29 22:15 ./WeatherD

.:
total 85140
drwxr-xr-x 3 user user 4096 2008-07-01 23:20 .
drwxr-xr-x 28 user user 4096 2008-07-01 22:43 …
-rwxr-xr-x 1 user user 15507 2008-02-21 11:39 climatedata.html
-rwxr-xr-x 1 user user 10216 2007-10-31 04:03 climatedatayear.html
-rwxr-xr-x 1 user user 1232279 2008-06-21 18:40 croncwop
-rwxr-xr-x 1 user user 1350882 2008-06-17 23:42 cronftp
-rwxr-xr-x 1 user user 1584166 2008-06-17 16:46 cronmysql
-rwxr-xr-x 1 user user 1297687 2008-06-18 06:45 cronwu
drwxr-xr-x 2 user user 4096 2008-06-23 13:20 deploy
-rw-r–r-- 1 user user 56 2008-07-01 23:18 findGoWeatherresults
-rw-r–r-- 1 user user 493 2008-06-30 21:43 findprint
-rw-r–r-- 1 user user 511 2008-07-01 23:16 findresults.txt
-rw-r–r-- 1 user user 0 2008-07-01 23:20 findxargsresults
-rwxr-xr-x 1 user user 714 2008-06-17 23:56 GoWeather.sh
-rw-r–r-- 1 user user 328 2008-06-17 23:52 readme.txt
-rwxr-xr-x 1 user user 126714 2007-08-09 16:39 tagslist.txt
-rwxrwxrwx 1 user user 81417117 2008-06-29 22:15 WeatherD

./deploy:
total 17192
drwxr-xr-x 2 user user 4096 2008-06-23 13:20 .
drwxr-xr-x 3 user user 4096 2008-07-01 23:20 …
-rwxr-xr-x 1 user user 31012 2007-12-08 01:54 libcomold.so
-rwxr-xr-x 1 user user 34241 2008-03-10 15:56 libcom.so
-rwxr-xr-x 1 user user 54691 2007-12-06 11:26 libhid.so
-rwxr-xr-x 1 user user 54691 2007-12-06 11:26 libhid.so.0
-rwxr-xr-x 1 user user 2896740 2008-06-20 22:17 liblunar.so
-rwxr-xr-x 1 user user 1831620 2008-06-23 02:05 libqt4intf.so
-rwxr-xr-x 1 user user 2262932 2008-06-23 01:50 libQtCore.so.4
-rwxr-xr-x 1 user user 9299120 2008-06-23 01:51 libQtGui.so.4
-rwxr-xr-x 1 user user 48820 2008-05-19 14:34 libusbdll.so
-rwxr-xr-x 1 user user 8043 2008-06-11 18:52 libutils.so
lrwxrwxrwx 1 user user 11 2008-06-30 21:59 libutils.so.1 → libutils.so
-rw-r–r-- 1 user user 971799 2008-06-23 02:07 qt4.pas
-rwxr-xr-x 1 user user 8994 2008-03-10 15:58 serial_version
-rwxr-xr-x 1 user user 8382 2007-12-08 01:54 serial_version.dat
-rwxr-xr-x 1 user user 8428 2007-12-08 01:54 usb_version.dat

I would recommend then the wdconsole version

Brian, I am willing to try anything to get this working. Can you point me to directions for installing and using WDconsole?

-Francis

Pablo and Coyote,

Please let me know if you have any further suggestions for the full version of WeatherD. I am also willing to experiment further to get that version running on my system.

Thanks,

-Francis

Would the QT version work for my Linux distro? I seem to have a lot of lib files with QT in the name…

-Francis