Solved

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

Posted on 2004-08-18
5
1,093 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 62

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 62

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 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