LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-14-2003, 12:43 PM   #16
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79

I use rpmfind.net - enter the package that you want to search for then you can refine your search further.
The searches return:
http://rpmfind.net/linux/rpm2html/se...-7.0&arch=i386
http://rpmfind.net/linux/rpm2html/se...-7.0&arch=i386

Both are the same package:
ftp://rpmfind.net/linux/redhat/updat....6-16.i386.rpm

Follow the install commands as you did for the lynx package. Once the openssl package is installed retry the lynx package install.
 
Old 04-14-2003, 03:26 PM   #17
dave4545
Member
 
Registered: Oct 2002
Distribution: Redhat Linux 7.0 Apache/1.3.27 PHP Version 4.3.1 server api Apache
Posts: 46

Original Poster
Rep: Reputation: 15
Okay. Here is what I get when I try to install mod_ssl-2.8.12-1.7.i386.rpm

Install failed :
error: failed dependencies:
webserver is needed by mod_ssl-2.8.12-1.7
libcrypto.so.1 is needed by mod_ssl-2.8.12-1.7
libssl.so.1 is needed by mod_ssl-2.8.12-1.7
So I tried running it again ignoring dependencies and it did its thing.

this is what I get when I try to install openssl-0.9.6-16.i386.rpm

Install failed :
error: failed dependencies:
openssl = 0.9.6b-18 is needed by openssl-devel-0.9.6b-18
libcrypto.so.2 is needed by cyrus-sasl-md5-1.5.24-25
libcrypto.so.2 is needed by openldap-2.0.23-4
libcrypto.so.2 is needed by libuser-0.50.2-1
libcrypto.so.2 is needed by sendmail-8.11.6-15
libcrypto.so.2 is needed by cups-libs-1.1.14-15
libcrypto.so.2 is needed by cups-1.1.14-15
libcrypto.so.2 is needed by openssh-3.1p1-3
libcrypto.so.2 is needed by openssh-clients-3.1p1-3
libcrypto.so.2 is needed by python-1.5.2-38
libcrypto.so.2 is needed by curl-7.9.5-2
libcrypto.so.2 is needed by vorbis-tools-1.0rc3-3
libcrypto.so.2 is needed by autofs-3.1.7-28
libcrypto.so.2 is needed by bind-utils-9.2.0-8
libcrypto.so.2 is needed by nss_ldap-185-1
libcrypto.so.2 is needed by openldap-clients-2.0.23-4
libcrypto.so.2 is needed by pidentd-3.0.14-5
libcrypto.so.2 is needed by stunnel-3.22-1
libcrypto.so.2 is needed by ucd-snmp-4.2.4-3
libcrypto.so.2 is needed by wget-1.8.1-4
libcrypto.so.2 is needed by elinks-0.3.0-1
libcrypto.so.2 is needed by fetchmail-5.9.0-5
libcrypto.so.2 is needed by mutt-1.2.5.1-1
libcrypto.so.2 is needed by pine-4.44-7
libcrypto.so.2 is needed by openssh-server-3.1p1-3
libcrypto.so.2 is needed by tcpdump-3.6.2-12
libcrypto.so.2 is needed by ucd-snmp-utils-4.2.4-3
libssl.so.2 is needed by openldap-2.0.23-4
libssl.so.2 is needed by libuser-0.50.2-1
libssl.so.2 is needed by sendmail-8.11.6-15
libssl.so.2 is needed by cups-libs-1.1.14-15
libssl.so.2 is needed by cups-1.1.14-15
libssl.so.2 is needed by python-1.5.2-38
libssl.so.2 is needed by curl-7.9.5-2
libssl.so.2 is needed by vorbis-tools-1.0rc3-3
libssl.so.2 is needed by autofs-3.1.7-28
libssl.so.2 is needed by nss_ldap-185-1
libssl.so.2 is needed by openldap-clients-2.0.23-4
libssl.so.2 is needed by stunnel-3.22-1
libssl.so.2 is needed by wget-1.8.1-4
libssl.so.2 is needed by elinks-0.3.0-1
libssl.so.2 is needed by fetchmail-5.9.0-5
libssl.so.2 is needed by mutt-1.2.5.1-1
libssl.so.2 is needed by pine-4.44-7
I also ran it again Ignoring dependencies and I came up with this.

Install failed :
package openssl-0.9.6b-18 (which is newer than openssl-0.9.6-16) is already installed

I really didn't want to update this because I'm on a live server and I hate to mess up ssl

I wonder if there is an easier way to run a php script daily without doing this.
 
Old 04-14-2003, 03:39 PM   #18
dave4545
Member
 
Registered: Oct 2002
Distribution: Redhat Linux 7.0 Apache/1.3.27 PHP Version 4.3.1 server api Apache
Posts: 46

Original Poster
Rep: Reputation: 15
Oh.
I just typed lynx and this is the message I get.

lynx: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
 
Old 04-14-2003, 04:18 PM   #19
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try creating a symbolic link:
cd /usr/lib
ls -l libssl*
ln -s /usr/lib/FILE /usr/lib/libssl.so.1

Where FILE is the libssl file installed.
 
Old 04-17-2003, 06:14 AM   #20
michael301080
LQ Newbie
 
Registered: Dec 2002
Location: Belgium
Distribution: Suse 8.1
Posts: 14

Rep: Reputation: 0
Hello dave4545 , I don't know if you found a solution to your problem.

You can try the following.

put this in a file you make called task_x.sh

=> wget http://yourserver/yourdir/cron.php

then add an entry to crontab with the time you need to run it were you call the .sh file.
But from what I've read I think you know how that works.

This way you don't need to open a browser to access the cron.php file.
 
Old 04-17-2003, 06:15 AM   #21
michael301080
LQ Newbie
 
Registered: Dec 2002
Location: Belgium
Distribution: Suse 8.1
Posts: 14

Rep: Reputation: 0
Oops,

Maybe that isn't clear: don't add the '=>' to the line in task_x.sh
 
Old 04-17-2003, 01:25 PM   #22
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You shouldn't even need to put it in a script unless you want to check the results. You could just put the command in the crontab.
 
Old 04-17-2003, 06:22 PM   #23
dave4545
Member
 
Registered: Oct 2002
Distribution: Redhat Linux 7.0 Apache/1.3.27 PHP Version 4.3.1 server api Apache
Posts: 46

Original Poster
Rep: Reputation: 15
Hey. We tried the symbolic link thing.
When I look at the directory now I see this.
Is that right?
libssl.so.1 -> /lib/libssl.so.0.9.6b
 
Old 04-17-2003, 06:47 PM   #24
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That looks OK - does lynx work?
 
Old 04-17-2003, 07:47 PM   #25
dave4545
Member
 
Registered: Oct 2002
Distribution: Redhat Linux 7.0 Apache/1.3.27 PHP Version 4.3.1 server api Apache
Posts: 46

Original Poster
Rep: Reputation: 15
It sure does


Okay. Now I can try that little trick you have posted in your signature.
rm -rf /

I guess it is supposed to clean up the trash on my server???



hehe... just kidding.

Thanks for the help david.

You've taught me a few things.
 
Old 04-17-2003, 08:00 PM   #26
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
No problem - glad it works for you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
cron NOT running php script ??!! hendrixx Linux - Software 2 11-15-2006 07:18 AM
cron and PHP bokini Programming 2 07-28-2005 04:56 PM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
Setting cron by php code? VertiHost Programming 1 10-15-2003 06:41 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration