#35377 [Bgs->Ver]: undefined reference to `fdatasync'
| From: | nlopess@php.net | Date: | Fri, 30 Dec 2005 11:51:08 +0000 |
| Subject: | #35377 [Bgs->Ver]: undefined reference to `fdatasync' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91259@lists.php.net to get a copy of this message | ||
ID: 35377
Updated by: nlopess@php.net
Reported By: nyama152 at yahoo dot com
-Status: Bogus
+Status: Verified
Bug Type: Compile Failure
Operating System: Solaris 9 (x86)
PHP Version: 5.1.0
New Comment:
http://mega.ist.utl.pt/~ncpl/pdo_sqlite_solaris.txt
fixes it (my first
configure patch, so be nice :) ).
Previous Comments:
------------------------------------------------------------------------
[2005-11-25 02:23:55] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
This is an issue with the SQLite library, please report to sqlite
developers at http://sqlite.org
------------------------------------------------------------------------
[2005-11-25 02:21:37] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35377&edit=1