RLIB PHP extension problem

Michael McInally <mcinallym-Ha3A/70/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
It seems that my rlib extensions are being installed in the wrong
directory.  I do not know why.  Anybody have any ideas?

I am running Redhat 7.0, PHP & PHP-Devel 4.3.6, mySQL & mySQL-devel
(newest, 4.something).

This is an excerpt when I run "make install":

----------------------------------------------------------

Libraries have been installed in:
   /usr/local/lib/php/extensions/no-debug-non-zts-20020429
 
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'


----------------------------------------------------------

When I try a .php script to execute the rlib library, I get:

Warning: dl(): Unable to load dynamic library './librlib.so' -
./librlib.so: cannot open shared object file: No such file or directory
in /home/volunteer/public_html/html/report_users.php on line 4

Fatal error: Call to undefined function: rlib_init() in
/home/volunteer/public_html/html/report_users.php on line 48


Somebody please help.





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.