php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35377 undefined reference to `fdatasync'
Submitted: 2005-11-25 02:21 UTC Modified: 2005-12-31 01:57 UTC
From: nyama152 at yahoo dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.1.0 OS: Solaris 9 (x86)
Private report: No CVE-ID: None
 [2005-11-25 02:21 UTC] nyama152 at yahoo dot com
Description:
------------
	./configure --with-apxs2=/usr/local/apache2/bin/apxs \
	--enable-trans-sid \
	--enable-zend-multibyte --enable-mbstring --enable-mbstr-enc-trans \
	--enable-track-vars --enable-force-cgi-redirect --with-iconv=/usr/local

and

make

gives

ext/pdo_sqlite/sqlite/src/.libs/os_unix.o: In function `full_fsync':
/hoge/php/php5.1.0/ext/pdo_sqlite/sqlite/src/os_unix.c:834: undefined reference to `fdatasync'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


setenv LD_LIBRARY_PATH /usr/local/lib

does not work.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-30 12:51 UTC] nlopess@php.net
http://mega.ist.utl.pt/~ncpl/pdo_sqlite_solaris.txt fixes it (my first configure patch, so be nice :) ).
 [2005-12-31 01:57 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC