From: Bob D. <bd...@si...> - 2005-01-20 20:40:30
|
I'm going to assume you don't have a /usr/local/lib/php/extensions/no-debug-non-zts-20020429 Directory Question for you? Why do you have 2 php's on one box? - bob On Thu, 2005-01-20 at 15:37 -0500, Michael McInally wrote: > I renamed the /usr/local/bin/php-config > > Then did ./configure --prefix=/usr --disable-utf8 > > Now I get this output on make install: > > /bin/sh ../../mkinstalldirs /usr/lib/php4 > mkdir -p -- /usr/lib/php4 > /bin/sh ../../libtool --mode=install /usr/bin/install -c librlib.la > /usr/lib/php4/librlib.la > libtool: install: error: cannot install `librlib.la' to a directory not > ending in /usr/local/lib/php/extensions/no-debug-non-zts-20020429 > make[3]: *** [install-libLTLIBRARIES] Error 1 > make[3]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings/php' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings/php' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/mcinallym/rlib-1.3.0/bindings' > make: *** [install-recursive] Error 1 > > > > Any help for this one? > > Mike. > > > On Thu, 2005-01-20 at 12:14, Bob Doan wrote: > > PATH=/usr/local/bin:$PATH > > > > then configure > > > > If that doesn't work temporally rename /usr/bin/php-config to something > > else before you configure > > > > - bob > > > > On Thu, 2005-01-20 at 11:54 -0500, Michael McInally wrote: > > > Yes, that looks to be the problem. > > > > > > /usr/bin/php-config > > > /usr/local/bin/php-config > > > > > > How can I fix it? > > > > > > > > > Mike. > > > > > > > > > On Thu, 2005-01-20 at 11:48, Bob Doan wrote: > > > > 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 > > > > > Rli...@li... > > > > > 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 > > > > _______________________________________________ > > > > Rlib-users mailing list > > > > Rli...@li... > > > > https://lists.sourceforge.net/lists/listinfo/rlib-users |