Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2005 10:25:19 -0600
From:      "Ryan J. Cavicchioni" <ryan@confabulator.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Failure with php4 and libgd support
Message-ID:  <423C526F.1070909@confabulator.net>
In-Reply-To: <f420b2a10503190737296d8c29@mail.gmail.com>
References:  <f420b2a10503161527aaed5b2@mail.gmail.com> <f420b2a10503190737296d8c29@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

>I take it noone can help me with this?  
>
>
>On Wed, 16 Mar 2005 18:27:54 -0500, Alexander Chamandy
><bsdfreak@gmail.com> wrote:
>  
>
>>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
>>
>>    
>>
>>>8 *snip snip* >8
>>>      
>>>
>>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; }
>>
>>    
>>
>>>8 *snip snip* >8
>>>      
>>>
>>--
>>Best wishes,
>>
>>Alexander G. Chamandy
>>Webmaster
>>www.bsdfreak.org
>>Your Source For BSD News!
>>
>>    
>>
>
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423C526F.1070909>