|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-12 12:15 UTC] derick@php.net
[2004-07-06 22:21 UTC] vieuxsinge at generation-net dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
Description: ------------ Trying to install PHP5 with Interbase support, I encountered the same problem as many of PHP users. But the strange errors /usr/lib/libgds.so: undefined reference to `write@GLIBC_2.0' makes me think I need glibc, which is not ported to FreeBSD. How can I evade this problem? (if I can). Reproduce code: --------------- configure: error: libgds, libib_util or libfbclient not found! Check config.log for more information. config.log [BM--] 60 L:[2784+26 2810/3416] *(91768/112972b)= ' 39 0x27 #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char isc_detach_database (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { isc_detach_database (); ; return 0; } configure:52243: result: no configure:52339: checking for isc_detach_database in -lib_util configure:52372: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib conftest.c -lib_ut /usr/bin/ld: warning: libm.so.6, needed by /usr/lib/libib_util.so, not found (try using -rpath /usr/bin/ld: warning: libdl.so.2, needed by /usr/lib/libib_util.so, not found (try using -rpat /usr/lib/libgds.so: undefined reference to `getenv@GLIBC_2.0' /usr/lib/libgds.so: undefined reference to `strcpy@GLIBC_2.0' /usr/lib/libgds.so: undefined reference to `free@GLIBC_2.0' /usr/lib/libgds.so: undefined reference to `write@GLIBC_2.0' /usr/lib/libgds.so: undefined reference to `strchr@GLIBC_2.0 ... and so on