Re: How to configure rlib-1.3.7 on freeBSD 10.3 with Php 5.6

Boszormenyi Zoltan <[email protected]> Thu, 24 Nov 2016 23:28:47 +0100
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
RLIB has moved to GitHub a long ago and we are in the 2.0.x series at the m=
oment.
See https://github.com/SICOM/rlib

1.3.7 is long obsolete. RLIB 2.0.11+ supports PHP 7. You are much better of=
f with 2.0.14.

With 2.0.x, you can first build RLIB without PHP if you choose, then instal=
l it:

$ wget https://github.com/SICOM/rlib/archive/v2.0.14.tar.gz
$ tar xzf v2.0.14.tar.gz
$ cd rlib-2.0.14
$ ./autogen.sh --prefix=3D/usr --libdir=3D/usr/lib --disable-php
$ make -j
$ sudo make install

Then (for every PHP version you want to support on your machine,
so you may need to run the correct phpize version with full path):

$ cd bindings/php
$ phpize
$ ./configure --with-php-config=3D<correct path to php-config> --enable-rli=
b =

--enable-rlib-already-built
$ make
$ sudo make install

Without "--disable-php" in the first phase, "sudo make install" will do
the second step for the first PHP version php-config is available in the $P=
ATH.

Best regards,
Zolt=E1n B=F6sz=F6rm=E9nyi

2016-08-04 13:46 keltez=E9ssel, Samir Paul =EDrta:
> OS : FreeBSD 10.3 64 bit
> Package : Php 5.6 + MySql 5.5 + Nginx-devel-1.11.3
>
> At the time of rlib configure there was no problem, all the process is ru=
nning smoothly =

> ( ./configure , make and make install)
>
> and the output is :
>
> rlib-1.3.7:
>
>    prefix:                               /usr/local
>    compiler:                           cc
>    Memory debugging:            no
>    Warning Fun:                     no
>    Crash detection:                 yes
>    UTF8 disabled:                   yes
>    WIN32 build:                       no
>    Documentation:                   no
>
>    INPUTS:
>     MYSQL:                             yes
>     POSTGRES:                       no
>     ODBC:                               no
>
>    COMPRESSION:
>     PDF:                                   yes
>
>    GRAPHING:
>     PDF:                                   Always
>     HTML:                                no
>
>    BINDINGS:
>     PHP:                                   yes
>      PHP entension dir:            /usr/local/lib/php/20131226
>     PYTHON:                            no
>      PYTHON version:               2.2
>      PYTHON entension dir:
>     JAVA:                                  no
>     CSHARP:                            no
>     PERL:                                 yes
>      PERL entension dir: /usr/local/lib/perl5/5.20/mach
>
>    ** If you like RLIB send a postcard from where you are in the world to:
>    ** Bob Doan - 4140 Skyron Drive - Doylestown - PA - 18901 - USA
>
>    Music:                                Coldplay / Virgin Radio
>    Having Problems: rlib-users-TtF/[email protected] <mailto:rlib-users-TtF/mJH4JtpXW/cJ/[email protected]=
et>
>    Want To Contribute: rlib-devel-TtF/[email protected] <mailto:[email protected]=
f.net>
>    Commercial License: [email protected] <mailto:[email protected]>
>
>
>
> After installation not generating the file 'libr-mysql.so' . Only libr-my=
sql.a and =

> libr-mysql.la <http://libr-mysql.la> these two files are in /usr/loca/lib=
/  directory, =

> and the phpinfo() will not show the 'rlib'  under "Additional Module".
>
>
> -------------------------------------------------------------------------=
-----
>
>
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users



---------------------------------------------------------------------------=
---