Professional Web Applications Themes

Failure with php4 and libgd support - FreeBSD

Hello, I'm having some problems with php4 and libgd support. I'm running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch a long time ago, but I think a portion of the upgrade may've gone horribly wrong with regards to the compiler or include files. Most things compile fine (userland, kernel, other applications).. but certain things like Apache2, php (*ONLY* when it's testing libgd in the configuration process - otherwise, without gd it compiles fine) fail completely. I was wondering if anyone had experienced something similiar or had any suggestions. Any help would be greatly appreciated! Here is the ...

  1. #1

    Default Failure with php4 and libgd support

    Hello,

    I'm having some problems with php4 and libgd support. I'm
    running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch
    a long time ago, but I think a portion of the upgrade may've gone
    horribly wrong with regards to the compiler or include files. Most
    things compile fine (userland, kernel, other applications).. but
    certain things like Apache2, php (*ONLY* when it's testing libgd in
    the configuration process - otherwise, without gd it compiles fine)
    fail completely. I was wondering if anyone had experienced something
    similiar or had any suggestions. Any help would be greatly
    appreciated! Here is the config.log gd-related error messages from
    php 4.3.10 with the commandline:

    ../configure --with-gd=/usr/local --with-mysql
    --with-apxs=/usr/local/apache/bin/apxs
     

    configure:33488: checking for gdImageString16 in -lgd
    configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 33496 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageString16();

    int main() {
    gdImageString16()
    ; return 0; }
    configure:33619: checking for gdImagePaletteCopy in -lgd
    configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 33627 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImagePaletteCopy();

    int main() {
    gdImagePaletteCopy()
    ; return 0; }
    configure:33750: checking for gdImageCreateFromPng in -lgd
    configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 33758 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateFromPng();

    int main() {
    gdImageCreateFromPng()
    ; return 0; }
    configure:33881: checking for gdImageCreateFromGif in -lgd
    configure:33900: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 33889 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateFromGif();

    int main() {
    gdImageCreateFromGif()
    ; return 0; }
    configure:34012: checking for gdImageGif in -lgd
    configure:34031: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34020 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageGif();

    int main() {
    gdImageGif()
    ; return 0; }
    configure:34143: checking for gdImageWBMP in -lgd
    configure:34162: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34151 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageWBMP();

    int main() {
    gdImageWBMP()
    ; return 0; }

    configure:34274: checking for gdImageCreateFromJpeg in -lgd
    configure:34293: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34282 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateFromJpeg();

    int main() {
    gdImageCreateFromJpeg()
    ; return 0; }
    configure:34405: checking for gdImageCreateFromXpm in -lgd
    configure:34424: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34413 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateFromXpm();

    int main() {
    gdImageCreateFromXpm()
    ; return 0; }
    configure:34536: checking for gdImageCreateFromGd2 in -lgd
    configure:34555: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34544 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateFromGd2();

    int main() {
    gdImageCreateFromGd2()
    ; return 0; }
    configure:34667: checking for gdImageCreateTrueColor in -lgd
    configure:34686: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34675 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreateTrueColor();

    int main() {
    gdImageCreateTrueColor()
    ; return 0; }
    configure:34798: checking for gdImageSetTile in -lgd
    configure:34817: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34806 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageSetTile();

    int main() {
    gdImageSetTile()
    ; return 0; }
    configure:34929: checking for gdImageEllipse in -lgd
    configure:34948: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /var/tmp//cc2GmBUB.o(.text+0xd): In function `main':
    /usr/staff/home/alex/src/php-4.3.10/configure:34944: undefined
    reference to `gdImageEllipse'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 34937 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageEllipse();

    int main() {
    gdImageEllipse()
    ; return 0; }
    configure:35060: checking for gdImageSetBrush in -lgd
    configure:35079: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35068 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageSetBrush();

    int main() {
    gdImageSetBrush()
    ; return 0; }
    configure:35191: checking for gdImageStringTTF in -lgd
    configure:35210: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35199 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageStringTTF();

    int main() {
    gdImageStringTTF()
    ; return 0; }
    configure:35322: checking for gdImageStringFT in -lgd
    configure:35341: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35330 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageStringFT();

    int main() {
    gdImageStringFT()
    ; return 0; }
    configure:35453: checking for gdImageStringFTEx in -lgd
    configure:35472: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35461 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageStringFTEx();

    int main() {
    gdImageStringFTEx()
    ; return 0; }
    configure:35584: checking for gdImageColorClosestHWB in -lgd
    configure:35603: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35592 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageColorClosestHWB();

    int main() {
    gdImageColorClosestHWB()
    ; return 0; }
    configure:35715: checking for gdImageColorResolve in -lgd
    configure:35734: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35723 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageColorResolve();

    int main() {
    gdImageColorResolve()
    ; return 0; }
    configure:35846: checking for gdImageGifCtx in -lgd
    configure:35865: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35854 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageGifCtx();

    int main() {
    gdImageGifCtx()
    ; return 0; }
    configure:35977: checking for gdCacheCreate in -lgd
    configure:35996: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 35985 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdCacheCreate();

    int main() {
    gdCacheCreate()
    ; return 0; }
    configure:36108: checking for gdFontCacheShutdown in -lgd
    configure:36127: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 36116 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdFontCacheShutdown();

    int main() {
    gdFontCacheShutdown()
    ; return 0; }
    configure:36239: checking for gdNewDynamicCtxEx in -lgd
    configure:36258: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 36247 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdNewDynamicCtxEx();

    int main() {
    gdNewDynamicCtxEx()
    ; return 0; }
    configure:36327: gcc -c -g -O2 -I/usr/local/include conftest.c 1>&5
    configure: In function `main':
    configure:36322: warning: assignment makes pointer from integer without a cast
    configure:36674: checking for gdImageCreate in -lgd
    configure:36693: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    -lgd
    -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    /usr/local/lib/libm.so.2: undefined reference to `fputs'
    /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    configure: failed program was:
    #line 36682 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char gdImageCreate();

    int main() {
    gdImageCreate()
    ; return 0; }
     





    --
    Best wishes,

    Alexander G. Chamandy
    Webmaster
    www.bsdfreak.org
    Your Source For BSD News!
    Alexander Guest

  2. #2

    Default Re: Failure with php4 and libgd support

    I take it noone can help me with this?


    On Wed, 16 Mar 2005 18:27:54 -0500, Alexander Chamandy
    <com> wrote: 
    >
    > configure:33488: checking for gdImageString16 in -lgd
    > configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 33496 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageString16();
    >
    > int main() {
    > gdImageString16()
    > ; return 0; }
    > configure:33619: checking for gdImagePaletteCopy in -lgd
    > configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 33627 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImagePaletteCopy();
    >
    > int main() {
    > gdImagePaletteCopy()
    > ; return 0; }
    > configure:33750: checking for gdImageCreateFromPng in -lgd
    > configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 33758 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateFromPng();
    >
    > int main() {
    > gdImageCreateFromPng()
    > ; return 0; }
    > configure:33881: checking for gdImageCreateFromGif in -lgd
    > configure:33900: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 33889 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateFromGif();
    >
    > int main() {
    > gdImageCreateFromGif()
    > ; return 0; }
    > configure:34012: checking for gdImageGif in -lgd
    > configure:34031: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34020 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageGif();
    >
    > int main() {
    > gdImageGif()
    > ; return 0; }
    > configure:34143: checking for gdImageWBMP in -lgd
    > configure:34162: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34151 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageWBMP();
    >
    > int main() {
    > gdImageWBMP()
    > ; return 0; }
    >
    > configure:34274: checking for gdImageCreateFromJpeg in -lgd
    > configure:34293: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34282 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateFromJpeg();
    >
    > int main() {
    > gdImageCreateFromJpeg()
    > ; return 0; }
    > configure:34405: checking for gdImageCreateFromXpm in -lgd
    > configure:34424: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34413 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateFromXpm();
    >
    > int main() {
    > gdImageCreateFromXpm()
    > ; return 0; }
    > configure:34536: checking for gdImageCreateFromGd2 in -lgd
    > configure:34555: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34544 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateFromGd2();
    >
    > int main() {
    > gdImageCreateFromGd2()
    > ; return 0; }
    > configure:34667: checking for gdImageCreateTrueColor in -lgd
    > configure:34686: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34675 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreateTrueColor();
    >
    > int main() {
    > gdImageCreateTrueColor()
    > ; return 0; }
    > configure:34798: checking for gdImageSetTile in -lgd
    > configure:34817: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34806 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageSetTile();
    >
    > int main() {
    > gdImageSetTile()
    > ; return 0; }
    > configure:34929: checking for gdImageEllipse in -lgd
    > configure:34948: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /var/tmp//cc2GmBUB.o(.text+0xd): In function `main':
    > /usr/staff/home/alex/src/php-4.3.10/configure:34944: undefined
    > reference to `gdImageEllipse'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 34937 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageEllipse();
    >
    > int main() {
    > gdImageEllipse()
    > ; return 0; }
    > configure:35060: checking for gdImageSetBrush in -lgd
    > configure:35079: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35068 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageSetBrush();
    >
    > int main() {
    > gdImageSetBrush()
    > ; return 0; }
    > configure:35191: checking for gdImageStringTTF in -lgd
    > configure:35210: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35199 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageStringTTF();
    >
    > int main() {
    > gdImageStringTTF()
    > ; return 0; }
    > configure:35322: checking for gdImageStringFT in -lgd
    > configure:35341: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35330 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageStringFT();
    >
    > int main() {
    > gdImageStringFT()
    > ; return 0; }
    > configure:35453: checking for gdImageStringFTEx in -lgd
    > configure:35472: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35461 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageStringFTEx();
    >
    > int main() {
    > gdImageStringFTEx()
    > ; return 0; }
    > configure:35584: checking for gdImageColorClosestHWB in -lgd
    > configure:35603: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35592 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageColorClosestHWB();
    >
    > int main() {
    > gdImageColorClosestHWB()
    > ; return 0; }
    > configure:35715: checking for gdImageColorResolve in -lgd
    > configure:35734: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35723 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageColorResolve();
    >
    > int main() {
    > gdImageColorResolve()
    > ; return 0; }
    > configure:35846: checking for gdImageGifCtx in -lgd
    > configure:35865: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35854 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageGifCtx();
    >
    > int main() {
    > gdImageGifCtx()
    > ; return 0; }
    > configure:35977: checking for gdCacheCreate in -lgd
    > configure:35996: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 35985 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdCacheCreate();
    >
    > int main() {
    > gdCacheCreate()
    > ; return 0; }
    > configure:36108: checking for gdFontCacheShutdown in -lgd
    > configure:36127: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 36116 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdFontCacheShutdown();
    >
    > int main() {
    > gdFontCacheShutdown()
    > ; return 0; }
    > configure:36239: checking for gdNewDynamicCtxEx in -lgd
    > configure:36258: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 36247 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdNewDynamicCtxEx();
    >
    > int main() {
    > gdNewDynamicCtxEx()
    > ; return 0; }
    > configure:36327: gcc -c -g -O2 -I/usr/local/include conftest.c 1>&5
    > configure: In function `main':
    > configure:36322: warning: assignment makes pointer from integer without a cast
    > configure:36674: checking for gdImageCreate in -lgd
    > configure:36693: gcc -o conftest -g -O2 -R/usr/local/lib
    > -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    > -lgd
    > -lm 1>&5
    > /usr/lib/crt1.o(.text+0x64): In function `_start':
    > : undefined reference to `_init_tls'
    > /usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    > /usr/local/lib/libgd.so: undefined reference to `__stderrp'
    > /usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    > /usr/local/lib/libm.so.2: undefined reference to `fputs'
    > /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    > configure: failed program was:
    > #line 36682 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char gdImageCreate();
    >
    > int main() {
    > gdImageCreate()
    > ; return 0; }

    >
    >
    > --
    > Best wishes,
    >
    > Alexander G. Chamandy
    > Webmaster
    > www.bsdfreak.org
    > Your Source For BSD News!
    >[/ref]


    --
    Best wishes,

    Alexander G. Chamandy
    Webmaster
    www.bsdfreak.org
    Your Source For BSD News!
    Alexander Guest

  3. #3

    Default Re: Failure with php4 and libgd support

    Hi Alexander,

    PHP actually comes with libgd bundled now. Just use --with-gd (but you
    may not even have to do that). You do not need the external library.

    Alexander Chamandy wrote:
     
    >>configure:33488: checking for gdImageString16 in -lgd
    >>configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 33496 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageString16();
    >>
    >>int main() {
    >>gdImageString16()
    >>; return 0; }
    >>configure:33619: checking for gdImagePaletteCopy in -lgd
    >>configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 33627 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImagePaletteCopy();
    >>
    >>int main() {
    >>gdImagePaletteCopy()
    >>; return 0; }
    >>configure:33750: checking for gdImageCreateFromPng in -lgd
    >>configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 33758 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateFromPng();
    >>
    >>int main() {
    >>gdImageCreateFromPng()
    >>; return 0; }
    >>configure:33881: checking for gdImageCreateFromGif in -lgd
    >>configure:33900: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 33889 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateFromGif();
    >>
    >>int main() {
    >>gdImageCreateFromGif()
    >>; return 0; }
    >>configure:34012: checking for gdImageGif in -lgd
    >>configure:34031: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34020 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageGif();
    >>
    >>int main() {
    >>gdImageGif()
    >>; return 0; }
    >>configure:34143: checking for gdImageWBMP in -lgd
    >>configure:34162: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34151 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageWBMP();
    >>
    >>int main() {
    >>gdImageWBMP()
    >>; return 0; }
    >>
    >>configure:34274: checking for gdImageCreateFromJpeg in -lgd
    >>configure:34293: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34282 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateFromJpeg();
    >>
    >>int main() {
    >>gdImageCreateFromJpeg()
    >>; return 0; }
    >>configure:34405: checking for gdImageCreateFromXpm in -lgd
    >>configure:34424: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34413 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateFromXpm();
    >>
    >>int main() {
    >>gdImageCreateFromXpm()
    >>; return 0; }
    >>configure:34536: checking for gdImageCreateFromGd2 in -lgd
    >>configure:34555: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34544 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateFromGd2();
    >>
    >>int main() {
    >>gdImageCreateFromGd2()
    >>; return 0; }
    >>configure:34667: checking for gdImageCreateTrueColor in -lgd
    >>configure:34686: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34675 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreateTrueColor();
    >>
    >>int main() {
    >>gdImageCreateTrueColor()
    >>; return 0; }
    >>configure:34798: checking for gdImageSetTile in -lgd
    >>configure:34817: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34806 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageSetTile();
    >>
    >>int main() {
    >>gdImageSetTile()
    >>; return 0; }
    >>configure:34929: checking for gdImageEllipse in -lgd
    >>configure:34948: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/var/tmp//cc2GmBUB.o(.text+0xd): In function `main':
    >>/usr/staff/home/alex/src/php-4.3.10/configure:34944: undefined
    >>reference to `gdImageEllipse'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 34937 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageEllipse();
    >>
    >>int main() {
    >>gdImageEllipse()
    >>; return 0; }
    >>configure:35060: checking for gdImageSetBrush in -lgd
    >>configure:35079: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35068 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageSetBrush();
    >>
    >>int main() {
    >>gdImageSetBrush()
    >>; return 0; }
    >>configure:35191: checking for gdImageStringTTF in -lgd
    >>configure:35210: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35199 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageStringTTF();
    >>
    >>int main() {
    >>gdImageStringTTF()
    >>; return 0; }
    >>configure:35322: checking for gdImageStringFT in -lgd
    >>configure:35341: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35330 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageStringFT();
    >>
    >>int main() {
    >>gdImageStringFT()
    >>; return 0; }
    >>configure:35453: checking for gdImageStringFTEx in -lgd
    >>configure:35472: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35461 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageStringFTEx();
    >>
    >>int main() {
    >>gdImageStringFTEx()
    >>; return 0; }
    >>configure:35584: checking for gdImageColorClosestHWB in -lgd
    >>configure:35603: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35592 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageColorClosestHWB();
    >>
    >>int main() {
    >>gdImageColorClosestHWB()
    >>; return 0; }
    >>configure:35715: checking for gdImageColorResolve in -lgd
    >>configure:35734: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35723 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageColorResolve();
    >>
    >>int main() {
    >>gdImageColorResolve()
    >>; return 0; }
    >>configure:35846: checking for gdImageGifCtx in -lgd
    >>configure:35865: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35854 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageGifCtx();
    >>
    >>int main() {
    >>gdImageGifCtx()
    >>; return 0; }
    >>configure:35977: checking for gdCacheCreate in -lgd
    >>configure:35996: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 35985 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdCacheCreate();
    >>
    >>int main() {
    >>gdCacheCreate()
    >>; return 0; }
    >>configure:36108: checking for gdFontCacheShutdown in -lgd
    >>configure:36127: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 36116 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdFontCacheShutdown();
    >>
    >>int main() {
    >>gdFontCacheShutdown()
    >>; return 0; }
    >>configure:36239: checking for gdNewDynamicCtxEx in -lgd
    >>configure:36258: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 36247 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdNewDynamicCtxEx();
    >>
    >>int main() {
    >>gdNewDynamicCtxEx()
    >>; return 0; }
    >>configure:36327: gcc -c -g -O2 -I/usr/local/include conftest.c 1>&5
    >>configure: In function `main':
    >>configure:36322: warning: assignment makes pointer from integer without a cast
    >>configure:36674: checking for gdImageCreate in -lgd
    >>configure:36693: gcc -o conftest -g -O2 -R/usr/local/lib
    >>-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd
    >>-lgd
    >>-lm 1>&5
    >>/usr/lib/crt1.o(.text+0x64): In function `_start':
    >>: undefined reference to `_init_tls'
    >>/usr/local/lib/libgd.so: undefined reference to `__stdoutp'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `memmove'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `qsort'
    >>/usr/local/lib/libgd.so: undefined reference to `__stderrp'
    >>/usr/local/lib/libpng.so.5: undefined reference to `gmtime'
    >>/usr/local/lib/libm.so.2: undefined reference to `fputs'
    >>/usr/local/lib/libfreetype.so.9: undefined reference to `fcntl'
    >>configure: failed program was:
    >>#line 36682 "configure"
    >>#include "confdefs.h"
    >>/* Override any gcc2 internal prototype to avoid an error. */
    >>/* We use char because int might match the return type of a gcc2
    >> builtin and then its argument prototype would still apply. */
    >>char gdImageCreate();
    >>
    >>int main() {
    >>gdImageCreate()
    >>; return 0; }
    >>
    >>
    >> 
    >>--
    >>Best wishes,
    >>
    >>Alexander G. Chamandy
    >>Webmaster
    >>www.bsdfreak.org
    >>Your Source For BSD News!
    >>
    >>
    >>[/ref]
    >
    >
    >
    >[/ref]
    Ryan Guest

  4. #4

    Default Re: Failure with php4 and libgd support

    Thanks for your help. I'm a bit her now using just --with-gd, but
    I'm still having problems. I'd like to find out what's causing the
    crt1.o error. See below:

    configure:29964: gcc -o conftest -g -O2 -R/usr/local/lib
    -L/usr/local/lib conftest.c -ljpeg -lm 1>&5
    /usr/lib/crt1.o(.text+0x64): In function `_start':
    : undefined reference to `_init_tls'
    configure: failed program was:
    #line 29953 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char jpeg_read_header();

    int main() {
    jpeg_read_header()
    ; return 0; }



    On Sat, 19 Mar 2005 10:25:19 -0600, Ryan J. Cavicchioni
    <net> wrote: 
    > >
    > >
    > >
    > >[/ref]
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "org"
    >[/ref]


    --
    Best wishes,

    Alexander G. Chamandy
    Webmaster
    www.bsdfreak.org
    Your Source For BSD News!
    Alexander Guest

Similar Threads

  1. #39185 [NEW]: Failure on compiling libxml support
    By mwp at internode dot on dot net in forum PHP Bugs
    Replies: 8
    Last Post: October 18th, 03:29 PM
  2. #39185 [Opn->Fbk]: Failure on compiling libxml support
    By tony2001@php.net in forum PHP Bugs
    Replies: 0
    Last Post: October 18th, 01:40 PM
  3. gd2 with gif support in php4
    By Klaus Boehmer in forum PHP Development
    Replies: 0
    Last Post: November 12th, 01:01 PM
  4. #25588 [Opn->Bgs]: Make failure with OCI8 for Oracle support
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: September 19th, 04:51 AM
  5. #25588 [NEW]: Make failure with OCI8 for Oracle support
    By russell dot edwards at cplaromas dot com in forum PHP Development
    Replies: 0
    Last Post: September 18th, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139