-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 10 Jun 2003 20:10:32 -0500, John Nichel wrote:

>    I'm trying to configure php with xpm ( --with-xpm-dir=/usr/X11R6 ), 
> and I keep getting this error....
> 
> configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please 
> check config.log for more information.
> 
> config.log has this...
> 
> configure:35198: checking for the location of libXpm
> configure:35216: result: /usr/X11R6
> 
> then further down, this.....
> 
> configure:36062: checking for XpmFreeXpmImage in -lXpm
> configure:36093: gcc -o conftest -g -O2
>        -L/usr/X11R6/lib -lX11
>        -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
> -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/kerberos/lib 
> -L/usr/kerberos/lib conftest.c -lXpm  -lpng -lz -ljpeg -lcurl -lbz2 -lz 
> -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lz -lssl -lcrypto -ldl 
> -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl 
> -lz -lz >&5
> /usr/X11R6/lib/libXpm.so: undefined reference to `__ctype_b'
> /usr/X11R6/lib/libXpm.so: undefined reference to `_xstat'
> /usr/X11R6/lib/libXpm.so: undefined reference to `_fxstat'
> /usr/X11R6/lib/libXpm.so: undefined reference to `__ctype_tolower'
> collect2: ld returned 1 exit status
> configure:36096: $? = 1
> configure: failed program was:
> | #line 36069 "configure"
> | /* confdefs.h.  */
> 
> Red Hat 9 system, PHP 4.3.2, and apache 1.3.27.  I installed the libX 
> binaries from sunsite.unc.edu ( libXpm.3.4f-ELF.tar.gz ).  Google has 
> led me to believe that this error may be caused by gcc?  Can somone shed 
> some light on this problem?

Why did you download that libXpm.3.4f-ELF.tar.gz file?
What's wrong with libXpm as included within Red Hat's packages?

XFree86-libs-4.3.0-2
  
  /usr/X11R6/lib/libXpm.so.4
  /usr/X11R6/lib/libXpm.so.4.11
  
XFree86-devel-4.3.0-2

  /usr/X11R6/lib/libXpm.a
  /usr/X11R6/lib/libXpm.so

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+5xzW0iMVcrivHFQRAjYpAJ9UN30NyCAKGZOYqyI04lVpnzFBAACdFIw4
N4zY8+FmpFMmHTp/Yorfk5o=
=Vs5H
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to