Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2013 00:19:05 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Jeremie Le Hen <jlh@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: converters/php5-mbstring: "mbstring.so: No such file or directory"
Message-ID:  <CACdU%2Bf_5Q1D49APU46mr6yPEL4qFM0x51i9iv_pNq=4SbDs5XA@mail.gmail.com>
In-Reply-To: <20130715220719.GD4484@caravan.chchile.org>
References:  <20130715220719.GD4484@caravan.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 15, 2013 at 5:07 PM, Jeremie Le Hen <jlh@freebsd.org> wrote:
> Hi,
>
> Please Cc: me when replying as I'm not subscribed to this list.  Thanks.
>
>
> I've been bit by this error for weeks.  This runs in an empty not-so-recent
> stable/9 jail.  The ports tree is clean (no work/ dir).
>
>     # cat /etc/make.conf
>     WITH_PKGNG=yes
>     roundcube_SET= SQLITE SSL
>     roundcube_UNSET= MYSQL
>     # pkg info
>     pkg-1.1.4                      New generation package manager
>
>
> And the typical error message:
>
>     ===>   Returning to build of php5-mbstring-5.4.16
>     ===>   Generating temporary packing list
>     ===>  Checking if converters/php5-mbstring already installed
>     install: /usr/ports/converters/php5-mbstring/work/php-5.4.16/ext/mbstring/modules/mbstring.so: No such file or directory
>     *** [do-install] Error code 71
>
> Log is available here (I went back as far as I could in my back buffer):
> http://people.chchile.org/~jlh/mbstring.so_not_found.txt
>

Something looks strange in this log:

===>   Returning to build of roundcube-0.9.2,1
===>   roundcube-0.9.2,1 depends on file:
/usr/local/lib/php/20100525/mbstring.so - not found
===>    Verifying install for /usr/local/lib/php/20100525/mbstring.so
in /usr/ports/converters/php5-mbstring
===>  Installing for php5-mbstring-5.4.16
===>   php5-mbstring-5.4.16 depends on file:
/usr/local/include/php/main/php.h - found
===>   php5-mbstring-5.4.16 depends on shared library: onig - not found
===>    Verifying install for onig in /usr/ports/devel/oniguruma4
===>   oniguruma-4.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by oniguruma-4.7.1 for building
===>  Extracting for oniguruma-4.7.1
=> SHA256 Checksum OK for ruby/onig-4.7.1.tar.gz.
===>  Patching for oniguruma-4.7.1
/usr/bin/sed -i.bak -e 's|echo aout|echo elf|'  -e
's|freebsd1|freebsd1.|'
/usr/ports/devel/oniguruma4/work/onig-4.7.1/configure
===>  Configuring for oniguruma-4.7.1
:
===>  Building for oniguruma-4.7.1
:
===>  Installing for oniguruma-4.7.1
===>   Generating temporary packing list
===>  Checking if devel/oniguruma4 already installed
:
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for oniguruma-4.7.1 as automatic
Installing oniguruma-4.7.1... done
===>   Returning to build of php5-mbstring-5.4.16
===>   Generating temporary packing list
===>  Checking if converters/php5-mbstring already installed
install: /usr/ports/converters/php5-mbstring/work/php-5.4.16/ext/mbstring/modules/mbstring.so:
No such file or directory
*** [do-install] Error code 71

Stop in /usr/ports/converters/php5-mbstring.
*** [run-depends] Error code 1


It jumps from "Verifying install for
/usr/local/lib/php/20100525/mbstring.so in
/usr/ports/converters/php5-mbstring" to "Installing for
php5-mbstring-5.4.16".  It seems to be missing the fetch (already
fetched by lang/php5), extract, patch, configure and build stages.

Do you have a left over WRKDIR for converters/php5-mbstring?  Does
cleaning the port fix the issue?

cd /usr/ports/converters/php5-mbstring
make clean
make build
make install

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf_5Q1D49APU46mr6yPEL4qFM0x51i9iv_pNq=4SbDs5XA>