converters/php5-mbstring: "mbstring.so: No such file or directory"
Jeremie Le Hen
jlh at FreeBSD.org
Wed Jul 17 21:49:43 UTC 2013
On Tue, Jul 16, 2013 at 12:19:05AM -0500, Scot Hetzel wrote:
> On Mon, Jul 15, 2013 at 5:07 PM, Jeremie Le Hen <jlh at 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
Yes indeed, my backbuffer didn't contain the whole output.
I just tried again, starting from scratch (no ports installed, make
clean done, etc) and captured the typescript. I get a similar error
(shared library doesn't exist), although it happens for devel/gettext.
(Note that in the previous run, I had installed subversion binary
package, which depends on libiconf, in order to upgrade my ports tree,
so it didn't have to go to the devel/gettext port.)
http://people.chchile.org/~jlh/php5-mbstring.typescript.txt
--
Jeremie Le Hen
Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.
More information about the freebsd-ports
mailing list