php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19785 ld cannot find -lX11
Submitted: 2002-10-06 15:44 UTC Modified: 2002-11-13 12:55 UTC
From: m dot martinello at iol dot it Assigned:
Status: No Feedback Package: GD related
PHP Version: 4CVS-2002-10-06 OS: SuSE 8.0
Private report: No CVE-ID: None
 [2002-10-06 15:44 UTC] m dot martinello at iol dot it
I am trying to install php4-200210061200 got on the snapshots and I get this error:

/usr/i486-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I configured php with the following command:

./configure --with-mysql --enable-track-vars --with-apxs2=/usr/local/apache2043/bin/apxs --enable-ftp --with-gd --enable-magic-quotes --enable-gd-native-ttf --with-ttf --with-t1lib --with-gettext --with-snmp --with-openssl --with-xml --with-imap

I didn't insert any X11 references.

How I can solve this problem?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-07 21:28 UTC] sniper@php.net
Was this snapshot labeled 'STABLE' ? If yes, then try the one without that text. And did you try any other configure lines before the one mentioned here?

Also, check your config.log for any X11 text.

This library or any test won't be done unless you have
(or have had) --with-xpm-dir in your configure line.


 [2002-10-27 19:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2002-11-13 12:55 UTC] nohn@php.net
Could not verify this on SuSE 8.0 with latest 4.3 CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC