php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8037 ld cannot find -lX11
Submitted: 2000-11-29 16:45 UTC Modified: 2000-11-29 16:58 UTC
From: george dot stone at mail dot sprint dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux Mandrake 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: george dot stone at mail dot sprint dot com
New email:
PHP Version: OS:

 

 [2000-11-29 16:45 UTC] george dot stone at mail dot sprint dot com
Setup script is as follows:

./configure --with-mysql=/usr \
        --with-apxs \
        --with-config-file-path=/etc/httpd/conf \
        --enable-transid \
        --with-gdbm \
        --with-db \
        --with-imap \
        --with-gd=shared \
        --with-jpeg-dir=/usr \
        --with-xpm-dir=/usr

Gives debug.log message that ld cannot find -lX11, and fails on compile.  All X11 libs are installed and available in /usr/X11R6/lib.  Have tried with and without the --x-libraries and --x-includes switches for configure with the same result.  It's most likely something trivial that I'm overlooking.  Any ideas?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-29 16:58 UTC] sniper@php.net
Just leave the directory "/usr" out of '--with-xpm-dir' option.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 10:00:01 2026 UTC