[OmniOS-discuss] Anyone built Horde?

Michael Mounteney gate03 at landcroft.co.uk
Sun Sep 14 19:38:02 UTC 2014


On Sat, 13 Sep 2014 19:06:28 -0700
"Paul B. Henson" <henson at acm.org> wrote:
> 
> If you want to try kludging it, you could run "ln -s
> /opt/omni/include/ImageMagick/wand /usr/include" and see what happens.
> I'd remove the link once you got it built.
> 
Well my experience with kludging some elses build is that it rapidly
becomes a tar-baby, and this one is no exception.

After symlinking ImageMagick/magick to /usr/include as well, it seemed
to build but it looks like the PHP stuff went for a 32 bit build with
no option to change that:

(excuse formatting)

/opt/OMNIlighttpd/sbin/lighttpd -D -f ~/lighttpd.conf 
2014-09-14 02:42:14: (log.c.166) server started 
PHP Warning:  PHP Startup: Unable to load dynamic library
'/opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so' -
ld.so.1: php-cgi:
fatal: /opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so:
wrong ELF class: ELFCLASS32 in Unknown on line 0PHP Warning:  PHP
Startup: Unable to load dynamic library
'/opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so' -
ld.so.1: php-cgi:
fatal: /opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so:
wrong ELF class: ELFCLASS32 in Unknown on line 0PHP Warning:  PHP
Startup: Unable to load dynamic library
'/opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so' -
ld.so.1: php-cgi:
fatal: /opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so:
wrong ELF class: ELFCLASS32 in Unknown on line 0PHP Warning:  PHP
Startup: Unable to load dynamic library
'/opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so' -
ld.so.1: php-cgi:
fatal: /opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so:
wrong ELF class: ELFCLASS32 in Unknown on line 0

# file /opt/php54/lib/extensions/no-debug-non-zts-20100525/*
/opt/php54/lib/extensions/no-debug-non-zts-20100525/imagick.so:
ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not
stripped

The next step I suppose is to build my own (32 bit) PHP but this is
becoming messy.  Will I have to build a 32 bit lighttpd as well ?

Hmm.


More information about the OmniOS-discuss mailing list