Solved

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

Posted on 2004-08-18
5
1,096 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

623 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