php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35468 Undefined symbol fdatasync
Submitted: 2005-11-29 08:49 UTC Modified: 2005-11-29 18:55 UTC
From: kenji dot funasaki at sun dot com Assigned: wez (profile)
Status: Not a bug Package: PDO related
PHP Version: 5.1.1 OS: Solaris 10 3/05 x86
Private report: No CVE-ID: None
 [2005-11-29 08:49 UTC] kenji dot funasaki at sun dot com
Description:
------------
I installed Solaris 10 3/05 x86, and use Apache 2.0, MySQL, libxml2-2.26.22. After these, I tried to install PHP-5.1.1.
However, I can't install PHP-5.1.1.



# gunzip /usr/local/php/php-5.1.1.tar.gz
# tar xvf /usr/local/php/php-5.1.1.tar
# cd php-5.1.1
# which make
/usr/ccs/bin/make

# ./configure --with-mysql=/usr/sfw --with-apxs2=/usr/apache2/bin/apxs 
  --prefix=/usr/local/php/php-5.1.1 --with-libxml-dir=/usr/local/lib/libxml2-2.6.22 --enable-so

# make
 Undefined                       first referenced
 symbol                             in file
fdatasync                           ext/pdo_sqlite/sqlite/src/.libs/os_unix.o    (symbol belongs to implicit dependency /usr/lib/librt.so.1)
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

make command failed.
I watched man of fdatasync, it is necessary to add "-lrt" CC option. So I add the option to Makefile, after that Build Complete.


Reproduce code:
---------------
I watched man of fdatasync, it is necessary to add "-lrt" CC option. So I add the option to Makefile, after that Build Complete.

In Makefile,
 CC = gcc
->
 CC = gcc -lrt

Actual result:
--------------
make command and make install command are completed.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-29 09:28 UTC] sniper@php.net
Assigned to the maintainer of PDO. (I haven't got solaris)

 [2005-11-29 10:00 UTC] tony2001@php.net
On Solaris8 fdatasync is in libposix4, btw.
 [2005-11-29 13:52 UTC] wez@php.net
Interesting; it builds fine for me on opensolaris.

 [2005-11-29 18:55 UTC] iliaa@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dupe of bug #35377
 [2023-05-17 11:22 UTC] giw42161 at uooos dot com
(https://centurylawfirm.in/)gist.github.com


(https://www.centurylawfirm.in/blog/combating-mob-lynching-analysing-legal-frameworks-and-preventive-measures-for-a-safer-society/)gist.github.com
(https://www.centurylawfirm.in/blog/best-advocate-in-delhi-qualities-to-look-for-choosing-the-correct-one-for-you/)gist.github.com
(https://www.centurylawfirm.in/blog/understanding-the-process-of-making-a-police-complaint-in-india-a-guide-for-commoners/)gist.github.com
(https://www.centurylawfirm.in/blog/section-498a-of-the-indian-penal-code/)gist.github.com
(https://www.centurylawfirm.in/blog/when-do-you-need-to-hire-the-best-advocate-in-delhi/)gist.github.com

(https://www.centurylawfirm.in/blog/things-to-consider-before-choosing-a-criminal-lawyer-in-delhi/)gist.github.com
(https://www.centurylawfirm.in/blog/criminal-lawyer-in-delhi/)gist.github.com


(https://www.centurylawfirm.in/blog/lawyer-for-writ-petition/)gist.github.com
(https://www.centurylawfirm.in/blog/best-law-firm-in-delhi/)gist.github.com
(https://www.centurylawfirm.in/blog/best-law-firm-in-delhi/)gist.github.com
(https://www.centurylawfirm.in/blog/muslim-divorce-lawyer/)gist.github.com
(https://centurylawfirm.in/blog/how-to-take-mutual-divorce/)gist.github.com

(https://www.centurylawfirm.in/blog/things-to-consider-before-choosing-a-criminal-lawyer-in-delhi/)gist.github.com
(https://www.centurylawfirm.in/blog/criminal-lawyer-in-delhi/)gist.github.com


(https://centurylawfirm.in/blog/divorce-lawyer-in-delhi-2/)gist.github.com
(https://centurylawfirm.in/blog/debt-recovery-tribunal-drt/)gist.github.com
(https://centurylawfirm.in/blog/get-bail-in-india/)gist.github.com
(https://centurylawfirm.in/blog/best-lawyer-for-criminal-case/)gist.github.com
(https://centurylawfirm.in/blog/high-court-cases/)gist.github.com
(https://centurylawfirm.in/blog/cheque-bounce-case/)gist.github.com
(https://centurylawfirm.in/blog/how-to-take-mutual-divorce/)gist.github.com



(https://www.centurylawfirm.in/blog/payment-recovery-cases/)gist.github.com (https://www.centurylawfirm.in/blog/mutation/)gist.github.com (https://www.centurylawfirm.in/blog/loan-matters/)gist.github.com (https://www.centurylawfirm.in/blog/corporate-law/)gist.github.com (https://www.centurylawfirm.in/blog/law-firm/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-lawyer-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/frequently-asked-questions-in-cheque-bounce-cases/)gist.github.com (https://www.centurylawfirm.in/blog/criminal-lawyer-in-delhi-2/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-lawyer-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/regular-bail-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/best-law-firm-in-delhi-2/)gist.github.com (https://www.centurylawfirm.in/blog/law-firm-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/civil-lawyer-in-new-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/top-10-lawyers-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/criminal-lawyer-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/top-10-lawyers-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/criminal-lawyer/)gist.github.com (https://www.centurylawfirm.in/blog/civil-case-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/matrimonial-case-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/civil-case-in-delhi-2/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-drt-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/court-marriage/)gist.github.com (https://www.centurylawfirm.in/blog/criminal-lawyer-in-rohini-2/)gist.github.com (https://www.centurylawfirm.in/blog/nri-lawyer-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/property-lawyer-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/advocate-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/bail-matter-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/bail-in-rape-case-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/bail-matters/)gist.github.com (https://www.centurylawfirm.in/blog/anticipatory-bail/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-lawyer-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-lawyer-in-rohini-2/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-case-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-case/)gist.github.com (https://www.centurylawfirm.in/blog/divorce-cases/)gist.github.com
(https://www.centurylawfirm.in/blog/happy-dhanteras-2021/)gist.github.com (https://www.centurylawfirm.in/blog/happy-diwali-2021/)gist.github.com (https://www.centurylawfirm.in/blog/happy-new-year-2022/)gist.github.com (https://www.centurylawfirm.in/blog/happy-republic-day-2022/)gist.github.com (https://www.centurylawfirm.in/blog/mutual-divorce/)gist.github.com (https://www.centurylawfirm.in/blog/best-lawyer-for-property-dispute-cases/)gist.github.com (https://www.centurylawfirm.in/blog/happy-holi-2022/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-fir-quashing-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/bail-in-criminal-case-in-delhi-2/)gist.github.com (https://www.centurylawfirm.in/blog/matrimonial-dispute-lawyer-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-cheque-bounce-case-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/best-lawyer-for-criminal-case/)gist.github.com (https://www.centurylawfirm.in/blog/latest-legal-awareness-videos-may-2022/)gist.github.com (https://www.centurylawfirm.in/blog/advocate-in-rohini-courts-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/advocate-in-karkardooma-court/)gist.github.com (https://www.centurylawfirm.in/blog/advocate-for-accident-claim-cases/)gist.github.com (https://www.centurylawfirm.in/blog/marriage-under-special-marriage-act-can-be-registered-through-video-conferencing-supreme-court-of-india/)gist.github.com (https://www.centurylawfirm.in/blog/maintenance-welfare-of-parents-senior-citizens/)gist.github.com (https://www.centurylawfirm.in/blog/arbitration-latest-supreme-court-judgement/)gist.github.com (https://www.centurylawfirm.in/blog/matrimonial-dispute-lawyer-in-rohini/)gist.github.com (https://www.centurylawfirm.in/blog/bail-in-376-rape-case-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-civil-case-in-delhi-2/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-civil-case-in-tis-hazari-court/)gist.github.com (https://www.centurylawfirm.in/blog/lease-hold-to-free-hold-conversion/)gist.github.com (https://www.centurylawfirm.in/blog/latest-legal-awareness-videos-december-2021/)gist.github.com (https://www.centurylawfirm.in/blog/latest-legal-awareness-videos-january-2022/)gist.github.com (https://www.centurylawfirm.in/blog/cheque-bounce-case-latest-sc-guidelines-2021/)gist.github.com (https://www.centurylawfirm.in/blog/bail-in-criminal-case-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/latest-legal-awareness-videos-february-2022/)gist.github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 22:01:26 2024 UTC