Re: PHP4 install prob with gd1.8.4 and X11
| From: | Yasuo Ohgaki | Date: | Tue, 03 Apr 2001 09:38:13 +0000 |
| Subject: | Re: PHP4 install prob with gd1.8.4 and X11 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2667@lists.php.net to get a copy of this message | ||
> lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg
> -L/usr/X11R6/lib//lib -lXpm -L/usr/X11R6/lib//lib -lX11 1>&5
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
I think your Xpm lib in /usr/X11R6/lib, not /usr/X11R6/lib/lib
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-msql=/usr/local/Hughes/' '--with-gd' '--with-jpeg-dir=/u
> sr/lib/' '--with-xpm-dir=/usr/X11R6/lib/' '--without-mysql'
change this to
sr/lib/' '--with-xpm-dir=/usr/X11R6' '--without-mysql'
Regards,
--
Yasuo Ohgaki
"Evan Davies" <evan@pip.com.au> wrote in message
news:3AC5C54A.489BA160@pip.com.au...
> Hi all,
> this problem is driving me nuts. Install php on RH6.2 with Xfree86 4
> complied from source with apache server 1.3.19.
> This is the debug.log
>
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-msql=/usr/local/Hughes/' '--with-gd' '--with-jpeg-dir=/u
> sr/lib/' '--with-xpm-dir=/usr/X11R6/lib/' '--without-mysql'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
> -I/usr/include/freetype -I/usr/local/Hughes//include
> LDFLAGS: -Wl,-rpath,/usr/lib//lib -L/usr/lib//lib
> -Wl,-rpath,/usr/X11R6/lib//lib -L/usr/X11R6/lib//lib
> -Wl,-rpath,/usr/local/Hug
> hes//lib -L/usr/local/Hughes//lib
> LIBS: -lmsql -lttf -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl
> -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg -L/usr/X11R6/lib//
> lib -lXpm -L/usr/X11R6/lib//lib -lX11
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/lib//lib /usr/X11R6/lib//lib /usr/local/Hughes//lib
> uname -a: Linux bugger 2.2.18 #1 Fri Jan 26 12:41:03 EST 2001 i686
> unknown
>
> gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
> -Wl,-rpath,/usr/lib//lib -L/usr/lib//lib -Wl,-rpath,/usr/X11R6/lib//li
> b -L/usr/X11R6/lib//lib -Wl,-rpath,/usr/local/Hughes//lib
> -L/usr/local/Hughes//lib conftest.c -lmsql -lttf -lgd -lX11 -lXpm -ljpeg
> -
> lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg
> -L/usr/X11R6/lib//lib -lXpm -L/usr/X11R6/lib//lib -lX11 1>&5
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
>
> As you can see it can't find X11 ???? . At the console I type ld -l X11
> and same thing. Any ideas on how to resolve this.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>