Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#71 closed defect (released)

xapian_bindings_093 cannot dl()

Reported by: ynzheng Owned by: Olly Betts
Priority: high Milestone:
Component: Xapian-bindings Version: 0.9.3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description

compile xapian_bindings_093 ok

but http://192.168.0.10/xapianbindings093/simpleindex.php:


Warning: dl(): Unable to load dynamic library '/usr/lib/php4/20050606/xapian.so' - /usr/lib/php4/20050606/xapian.so: undefined symbol: _ZTVN6Xapian13SimpleStopperE in /var/www/xapianbindings093/simpleindex.php on line 23 usage:


http://192.168.0.10/xapianbindings093/simplesearch.php


Warning: dl(): Unable to load dynamic library '/usr/lib/php4/20050606/xapian.so' - /usr/lib/php4/20050606/xapian.so: undefined symbol: _ZTVN6Xapian13SimpleStopperE in /var/www/xapianbindings093/simplesearch.php on line 22 usage:


Change History (7)

comment:1 by Olly Betts, 19 years ago

Status: newassigned

What does this report:

ldd /usr/lib/php4/20050606/xapian.so

And this:

ls -l ldd .libs/xapian.so|grep xapian|awk '{print $3}'*

comment:2 by ynzheng, 19 years ago

here it is:


username@colinux:~$ ldd /usr/lib/php4/20050606/xapian.so

linux-gate.so.1 => (0xffffe000) libxapian.so.8 => /home/username/xapian093/lib/libxapian.so.8

(0xb7de300 0)

libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cef000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ccd000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b9f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b94000) /lib/ld-linux.so.2 (0x80000000)

username@colinux:~$ ls -l ldd .libs/xapian.so|grep xapian|awk '{print $3}'* ldd: .libs/xapian.so: ûÓÐÄǸöÎļþ»òĿ¼ lrwxrwxrwx 1 username admin 8 2006-01-19 14:20 www -> /var/www

Desktop: ×ÜÓÃÁ¿ 16 -rw-r--r-- 1 username admin 5908 2005-10-04 07:00 curly-0071aa6fa0.desktop -rw-r--r-- 1 username admin 3550 2005-09-10 01:58 frobate-000a089273.desktop -rw-r--r-- 1 username admin 5954 2005-11-10 02:27 larry-00b726dec1.desktop

dpsearch437: ×ÜÓÃÁ¿ 0

omega093: ×ÜÓÃÁ¿ 8 drwxr-xr-x 2 username admin 1024 2006-02-16 17:00 bin drwxr-xr-x 2 username admin 1024 2006-02-17 14:48 cdb drwxr-xr-x 3 username admin 1024 2006-02-17 14:47 data drwxr-xr-x 2 username admin 1024 2006-02-17 14:48 etc drwxr-xr-x 3 username admin 1024 2006-02-16 17:00 lib drwxr-xr-x 2 username admin 1024 2006-02-17 14:46 log drwxr-xr-x 4 username admin 1024 2006-02-16 17:00 share drwxr-xr-x 2 username admin 1024 2006-02-17 14:46 templates

tmp: ×ÜÓÃÁ¿ 3 drwxr-xr-x 2 username admin 1024 2006-02-17 15:02 download drwxr-xr-x 10 username admin 1024 2006-02-10 20:41 dpsearch-4.37 drwxr-xr-x 8 username admin 1024 2006-02-17 18:29 xapian-bindings-0.9.3

var: ×ÜÓÃÁ¿ 1 drwxr-xr-x 5 username admin 1024 2006-02-16 18:44 db

xapian093: ×ÜÓÃÁ¿ 4 drwxr-xr-x 2 username admin 1024 2006-02-17 16:20 bin drwxr-xr-x 3 username admin 1024 2006-02-17 16:20 include drwxr-xr-x 2 username admin 1024 2006-02-17 16:20 lib drwxr-xr-x 4 username admin 1024 2006-02-17 16:20 share

xapianbindings093: ×ÜÓÃÁ¿ 1 drwxr-xr-x 3 username admin 1024 2006-02-17 18:42 share username@colinux:~$


comment:3 by ynzheng, 19 years ago


username@colinux:~/xapian093$ cd /usr/lib/php4/20050606/ username@colinux:/usr/lib/php4/20050606$ ls mysql.so xapian.so username@colinux:/usr/lib/php4/20050606$ username@colinux:/usr/lib/php4/20050606$ ls -l `ldd ./xapian.so|grep xapian|awk '{print $3}'`* lrwxrwxrwx 1 username admin 18 2006-02-17 16:20 /home/username/xapian093/lib/libxapian.so.8 -> libxapian.so.8.1.0 -rwxr-xr-x 1 username admin 10694223 2006-02-17 16:20 /home/username/xapian093/lib/libxapian.so.8.1.0 username@colinux:/usr/lib/php4/20050606$


comment:4 by ynzheng, 19 years ago


username@colinux:/usr/lib/php4/20050606$ cd /home/username/xapian093/lib/ username@colinux:~/xapian093/lib$ ls libxapian.a libxapian.la libxapian.so libxapian.so.8 libxapian.so.8.1.0 username@colinux:~/xapian093/lib$ ls -l `ldd ./libxapian.so|grep xapian|awk '{print $3}'`* -rw-r--r-- 1 username admin 23549290 2006-02-17 16:20 libxapian.a -rwxr-xr-x 1 username admin 820 2006-02-17 16:20 libxapian.la lrwxrwxrwx 1 username admin 18 2006-02-17 16:20 libxapian.so -> libxapian.so.8.1.0 lrwxrwxrwx 1 username admin 18 2006-02-17 16:20 libxapian.so.8 -> libxapian.so.8.1.0 -rwxr-xr-x 1 username admin 10694223 2006-02-17 16:20 libxapian.so.8.1.0 username@colinux:~/xapian093/lib$

username@colinux:~/xapian093/lib$ ldd ./libxapian.so

linux-gate.so.1 => (0xffffe000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d7a000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d58000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c2a000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c1f000) /lib/ld-linux.so.2 (0x80000000)

username@colinux:~/xapian093/lib$


comment:5 by Olly Betts, 19 years ago

Hmm, well that looks correct.

What does this report:

cd xapian-bindings-0.9.3/php make check

What linux distro is this BTW?

comment:6 by ynzheng, 19 years ago

Resolution: fixed
Status: assignedclosed

now i compile again it`s ok :)

colinux+ubuntu 5.10 gcc 4

comment:7 by trac, 19 years ago

Operating System: Linux
Resolution: fixedreleased
Note: See TracTickets for help on using tickets.