Re: RLIB PHP extension problem

Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
I suspect you have 2 php-config 's

one in /usr/bin/ and one .. maybe in /usr/local/bin (guessing)

I guess you WANT the one in /usr/local/bin but your PATH leads rlib
to /usr/bin first

Am I right?

- bob

On Thu, 2005-01-20 at 09:32 -0500, Michael McInally wrote:
> 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
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users



-------------------------------------------------------
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.