[Xapian-tickets] [Xapian] #662: xapian-bindings for php / dl(): Unable to load dynamic library
Xapian
nobody at xapian.org
Tue Nov 4 07:49:19 GMT 2014
#662: xapian-bindings for php / dl(): Unable to load dynamic library
-----------------------------------+---------------------------
Reporter: Sadrak | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (PHP) | Version: 1.2.19
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: Linux
-----------------------------------+---------------------------
\
\
\
\
\
\
Comment (by Sadrak):
OK, thanks for the hint. I tried again with calling ldconfig after make
install in xapian-core and all works fine.
Sorry for not finding this problem by myself. At least i was on the right
way.
There was a hint about ld & -LLIBDIR (etc) while running make install, but
i don't use ldconfig often. Perhaps a better hint will help? Additional
there was a call to ldconfig:
----
{{{
libtool: finish:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin"
ldconfig -n /usr/local/lib
}}}
----
{{{
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
}}}
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/662#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list