<div dir="ltr"><div>Interesting that php is under the /n directory (<a href="http://mirrors.slackware.com/slackware/slackware64-current/source/n/php/">http://mirrors.slackware.com/slackware/slackware64-current/source/n/php/</a>).  I though it would be in /d or even /l directory.<br><br></div>--Larry<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 7:27 PM, Larry Hajali <span dir="ltr"><<a href="mailto:larryhaja@gmail.com" target="_blank">larryhaja@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It looks like you're building on a x86_64 multilib machine.  The library libldap.so is being found first in /usr/lib (as well as other libs), but you're using the '-O2 -fPIC' SLKCFLAGS which are x86_64 specific.  Try rebuilding php on a non-multilib x86_64 machine or else try passing LDFLAGS="/usr/lib${LIBDIRSUFFIX}" to the configure script.<br><br><a href="http://slackbuilds.org/faq/#multilib" target="_blank">http://slackbuilds.org/faq/#multilib</a><br><br></div>--Larry<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 8, 2014 at 3:27 PM, Miguel De Anda <span dir="ltr"><<a href="mailto:miguel@thedeanda.com" target="_blank">miguel@thedeanda.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">i couldn't find a suitable mailing list on slackware official so i thought i'd ask here...<div><br></div><div>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:</div><div><br></div><div><div>/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</div><div>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</div><div>/usr/lib/libldap.so: error adding symbols: File in wrong format</div><div>collect2: error: ld returned 1 exit status</div><div>make[3]: *** [pico] Error 1</div><div>make[3]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11/pico'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11/pico'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/mnt/sdb1/tmp/alpine-2.11'</div><div>make: *** [all] Error 2</div></div><div><br></div><div>has anybody dealt with this? do i need to build other slackware sources first maybe? i notice it references alpine at some point.</div><div><br></div><div>thanks,</div><div>miguel</div></div>
<br></div></div>_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>