View Full Version : error while loading shared libraries:libttf.so.2:

09-09-2003, 01:13 AM

I need to launch php scripts as shell scripts as it should be possible
and as it was working on the old version. For instance in the former version
I could launch scripts as this via the cron :
#!/home/virtualtransat/www/cgi-bin/php -q
//content of the script

It was working pretty well, but now I get an error message when I try the
same thing with the new version :
/home/virtualtransat/www/cgi-bin/php : error while loading shared libraries:
libttf.so.2: cannot open shared object file: No such file or directory
I also tried home/virtualtransat/www/cgi-bin/php-4.3.0 but it gives the same

Could you explain what to do ?

Many thanks

09-09-2003, 09:16 AM
I found how to do. It was simple :
use #!/bin/php instead of #!/home/your_domain/www/cgi-bin/php