From: m_sayapin at mail dot ru
Operating system: FreeBSD 5.0-RELEASE
PHP version: 5.0.0RC2
PHP Bug Type: InterBase related
Bug description: Configuring PHP5 with Firebird 1.5
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 [EMAIL PROTECTED]'
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 [EMAIL PROTECTED]'
/usr/lib/libgds.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libgds.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libgds.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libgds.so: undefined reference to [EMAIL PROTECTED]
... and so on
--
Edit bug report at http://bugs.php.net/?id=28750&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28750&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28750&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28750&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28750&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28750&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28750&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28750&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28750&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28750&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28750&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28750&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28750&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28750&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28750&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28750&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28750&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28750&r=float