Solved

/usr/libexec/ld-elf.so.1: ./php: Undefined symbol "statvfs"

Posted on 2004-08-18
5
1,085 Views
Last Modified: 2013-11-22
when running the zend optimizer on a 5.xx system i get the following error

/usr/libexec/ld-elf.so.1: ./php: Undefined symbol "statvfs"

what do i have to do to fix this?
0
Comment
Question by:OSLAdmin
  • 3
  • 2
5 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 11832901
You install FreeBSD 5 instead of FreeBSD 4 and your php will run ( or build new php from ports)

     The statvfs() and fstatvfs() functions fill the structure pointed to by
     buf with garbage.  This garbage will occasionally bear resemblance to
     file system statistics, but portable applications must not depend on
     this.  Applications must pass a pathname or file descriptor which refers
     to a file on the file system in which they are interested.
0
 

Author Comment

by:OSLAdmin
ID: 11868210
huh? im not sure what your saying?
0
 
LVL 61

Expert Comment

by:gheist
ID: 11872420
I built and ran all combinations of 4.xxx and 5.xxx, so please tell me your uname -a and a version of php you try to run.
0
 

Author Comment

by:OSLAdmin
ID: 12073430
FreeBSD aftershock.oslhost.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386

php version: 4.3.8
0
 

Author Comment

by:OSLAdmin
ID: 12073433
i have a 4.9 version of freebsd
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now