View previous topic :: View next topic |
Author |
Message |
Anole
Joined: 24 Aug 2005 Posts: 4
|
Posted: Fri Aug 26, 2005 9:05 pm Post subject: Start problem "shared libraries: libgd.so.2' |
|
|
I'm sure there is a simple explanation but after a full day of battling mysql and a dozen other packages, I'm too brain dead to fiugre it out.
RedHat WS 3 Taroon 4 (2.4.21-27.0.2.EL)
When I try to start wview I get the following error:
Starting wview daemons:
/usr/local/bin/wviewd: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/wvwunderd: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory
libgd.so.2 is present at: /usr/local/lib/libgd.so.2
libcurl.so.3 is present at: /usr/local/lib/libcurl.so.3
I had to install libpng so I installled libpng-1.2.8, then gd-2.0.33, and then curl-7.14.0 and then radlib-2.2.4 with mysql support. No problems during installation of any of these packages.
I then tried to install wview but ran into a problem with malloc btu managed to find what I thought was a solution (see this thread http://www.wviewweather.com/phpBB2/viewtopic.php?t=6
After that installation went fine, I got everything configured but I can't get it to start because of the errors mentioned above.
Any guidance would be appreciated. |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Fri Aug 26, 2005 10:23 pm Post subject: |
|
|
Check your environment variable "LD_LIBRARY_PATH" - it needs to include "/usr/local/lib". If it doesn't, edit the .bashrc file in /root (as root) and add the following:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
This should fix it.
What is this taroon business? Is that RedHat's Enterprise Linux stuff? I wouldn't be caught dead running a 2.4.21 kernel anymore, but that is just me.
I have yet to hear of this being a problem for anyone before (the malloc definition either), wonder if not having a normal LD_LIBRARY_PATH definition is for some perceived "security" gain...
Let us know if that fixes it.
Mark |
|
Back to top |
|
|
Anole
Joined: 24 Aug 2005 Posts: 4
|
Posted: Fri Aug 26, 2005 11:35 pm Post subject: |
|
|
Bingo!
I didn't add it to .bashrc though. I just added an export to the wview startup script. See any problem with doing it that way?
Yep Taroon is the Enterprise Linux stuff. I picked up the box at a yard sale for $5 with it already installed and with the disks. The guy selling it said it didn't work. All I could find wrong was the sound card wasn't supported. All I do with it (til now) is run Xtide to generate Tide charts for my web site and run some kermit scripts to ftp my VWS generated data to the site because VWS's ftp functions well and truly blow.
I'm sure the problems I'm having are a result of the installation. You should have seen the hoops I had to jump through to get mysql working. |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Aug 27, 2005 7:41 am Post subject: |
|
|
That is actually probably a better idea to export it from the wview start script.
If I wanted to get real fancy I could generate the wview start scripts during configure and use the PREFIX used by configure to add the proper export command, but given that no one before you has had this problem, I probably won't bother.
Glad it worked out.
Mark
Last edited by mteel on Sat Aug 27, 2005 7:44 am; edited 1 time in total |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Aug 27, 2005 7:43 am Post subject: |
|
|
BTW, if you are going to use the wview ftp capability, be sure to read the new section in the User Manual concerning ftp - RedHat by default comes wih the world's worst FTP client - you will need to install tnftp. Otherwise, wview's FTP is pretty good.
Mark |
|
Back to top |
|
|
Anole
Joined: 24 Aug 2005 Posts: 4
|
Posted: Sat Aug 27, 2005 10:19 am Post subject: |
|
|
Upgraded ftp right after I got the box. I'll probably stick with kermit to do my ftping though. I need bit more flexibilty regarding paths than it looks like wview's ftp provides.
I'll be playing with it all some today. I already know I need to fix the mysql database. Log is full of can't "CREATE". Probably used the wrong user of password in the GRANT.
Thanks for the help Mark and for all your hard work on wview! Everything I've seen so far looks great. The ease of "importing" the archive is a real + and the graphs generated almost instantly on the PII 400MZ box I'm running it on.
I'm sure I'll have some suggestions once I get some time to work with it |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Aug 27, 2005 1:49 pm Post subject: |
|
|
All you need are the properly defined soft links on your ftp destination - your files can "appear" anywhere in your web site that you want.
I don't recall soliciting suggestions |
|
Back to top |
|
|
|