[Slackbuilds-users] compiling php

Miguel De Anda miguel at thedeanda.com
Mon Sep 8 22:27:10 UTC 2014


i couldn't find a suitable mailing list on slackware official so i thought
i'd ask here...

i'm trying to build php to add debug support as it seems the supplied one
has '--disable-debug' set. when i run the php slackbuild in the sources
directory (from current) i get the following:

/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99 -pthread -O2 -fPIC
 -L/usr/lib  -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a
osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a
 -lcrypto -lssl -lldap  -lncurses -llber -lssl -lcrypto
libtool: link: gcc -std=gnu99 -pthread -O2 -fPIC -o pico main.o utf8stub.o
../c-client/utf8.o  -L/usr/lib libpico.a osdep/libpicoosd.a
../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/lib/libldap.so
/usr/lib/libsasl2.so -ldl -lncurses /usr/lib/liblber.so -lresolv -lssl
-lcrypto -pthread
/usr/lib/libldap.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [pico] Error 1
make[3]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11/pico'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11/pico'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11'
make: *** [all] Error 2

has anybody dealt with this? do i need to build other slackware sources
first maybe? i notice it references alpine at some point.

thanks,
miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20140908/3d511c67/attachment.html>


More information about the SlackBuilds-users mailing list